Skip to content
This repository has been archived by the owner on May 19, 2018. It is now read-only.

Commit

Permalink
Add class private prop tests for #constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Qantas94Heavy committed Sep 6, 2017
1 parent 15b1a5f commit 15ab4fd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
class Foo {
#constructor;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"throws": "Classes may not have a private field named '#constructor' (2:3)",
"plugins": [
"classProperties",
"classPrivateProperties"
]
}

0 comments on commit 15ab4fd

Please sign in to comment.