Commit graph

17 commits

Author SHA1 Message Date
kingwl 30c51ed324 fix super call from class that has no basetype but with same symbol interface (#19068) 2017-10-16 10:42:22 +08:00
Kanchalai Tanglertsampan 7a66161790 Address code review of PR 14692 2017-03-29 13:57:51 -07:00
Kanchalai Tanglertsampan 1c90ef5aad wip-fix resolveEntityName with parenthesizedExpression 2017-03-15 19:16:37 -07:00
Kanchalai Tanglertsampan 90c08c2201 Port PR#6860 lexically check calling super before this
Update baselines

add baselines

Update baseline

Port PR #6860 lexically check calling super before this
Check using "super" before "this" lexically instead of using the
NodeCheckFlags

Remove "type-checking" way of checking if super is used before this.
Instead check using whether super occurs before this syntactically

Refactor the code

Dive down to get super call

Address PR

Address PR about tests

Add a flag so we don't repeatedly finding super call

rename function

Move tests into correct location

Address PR: report error on super call instead of entire constructor node

remove marge mark
2016-02-11 14:05:20 -08:00
Vladimir Matveev db2b23da00 allow computed properties in destructuring, treat computed properties with literal expressions similar to literal named properties 2015-11-04 15:35:21 -08:00
Ron Buckton 64b6c9f52e Fix emit for ES6 export default class with static initializers. Fixes #5136. 2015-10-06 12:02:55 -07:00
Daniel Rosenwasser c25170558e Added test for super method calls in ES6 classes. 2015-04-09 16:06:26 -07:00
Cyrus Najmabadi b363a459ff Add support for semicolons in class bodies 2015-03-31 14:29:45 -07:00
Yui T 91c5bae6e5 Address code review 2015-03-16 15:41:51 -07:00
Yui T 2c7ea7f6b2 Update Baselines 2015-03-16 14:28:29 -07:00
Yui T af05afdc50 Emit Super as super 2015-03-12 16:34:06 -07:00
Yui T 800c523f4f Clean up redundant tests 2015-03-12 16:02:43 -07:00
Yui T 0672923323 Parse classDeclaration in strict mode code for ES6 2015-03-12 15:19:45 -07:00
Yui T 7ee587c43f Emit class with export and export default 2015-03-11 16:45:55 -07:00
Yui T a0a506b11b Emit class declaration with static property assignment 2015-03-11 16:13:08 -07:00
Yui T da12d465d0 Add tests for extension, type arguments, overload 2015-03-10 19:11:07 -07:00
Yui T 890aa4a84d test cases for constructor overload, non-static property assignment, getter/setter, method, static method, 2015-03-10 17:39:13 -07:00