Commit Graph

2 Commits

Author SHA1 Message Date
strager 6888a8df82
Fix typo in private getter/setter tests (#2971)
Several tests for getters and setters claim to check for an early
SyntaxError regarding mixing static and non-static propeties with the
same name. However, the tests trigger another issue: the getters have no
method body; they're missing curlies.

Fix the tests to test only the intended SyntaxError, not unrelated
SyntaxError-s.
2021-04-09 20:13:41 -04:00
Caio Lima 543cc598de Adding tests to verify early error when mixing private static and instance accessors (#2316) 2019-09-20 15:27:03 -03:00