Decoratorts and other ES7 features causing "Parsing Error: Unexpected Character @"

javascript

#1

Right now the editor is choking when I use ES7 features, like Decorators. How can I get this to not happen?


#2

I am also greatly interested in a solution to this.


#3

+1 seems like this should be fixed by now… :frowning:


#4

@jgentes there was a regression in parsing of
bind operator x::y
class properties class a { x = 0; static y }
and decorators @decorator class a { }
Fix for these will be deployed asap.
Please let us know if you find any other broken features.


#5

That’s great to hear, thanks!


#6

Would also love to see support for the new chaining operator in Javascript:

Screenshot_3