google / traceur-compiler

Traceur is a JavaScript.next-to-JavaScript-of-today compiler
Apache License 2.0
8.18k stars 580 forks source link

Add super support to object literals #1958

Closed arv closed 9 years ago

arv commented 9 years ago

This refactors the SuperTransformer to be a stand alone transformer that is run before the class transformer.

All super handling is now gone from the ClassTransformer and the ClassTransformer has been simplified further.

Fixes #1790

arv commented 9 years ago

@johnjbarton PTAL

johnjbarton commented 9 years ago

LGTM, but the statestack could use some explanation.