You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to traceur-comp...@googlegroups.com
To better align with ES6 we've added a bunch of restrictions related
to this and super in classes.
1. super.property is only allowed inside methods (that includes class
constructor as well as getters and setters).
2. super() is only allowed in derived class constructors.
3. A derived class constructor must call super().
4. In a derived class constructor you cannot access this before
calling super() (in ES6 this is enforced at runtime using a TDZ but in
traceur we only enforce this statically so there will be some edge
cases where we are not compliant).