Closed Bug 1540244 Opened 5 years ago Closed 5 years ago

Bogus error message "missing : after property id" with classes

Categories

(Core :: JavaScript Engine, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: jorendorff, Unassigned)

References

Details

I think this might have been the case before fields, actually, but whatever -- we should fix it.

js> class X { y z       
typein:1:12 SyntaxError: missing : after property id:
typein:1:12 class X { y z
typein:1:12 ............^

Of course there's not a missing : there. A colon isn't even allowed there.

Priority: -- → P1

this is fixed!

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.