-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use returned values from super calls as 'this' #10762
Commits on Sep 2, 2016
-
Emit '_this' declaration for derived classes; initialize it when call…
…ing 'super(...)'.
Configuration menu - View commit details
-
Copy full SHA for 9dbab97 - Browse repository at this point
Copy the full SHA 9dbab97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99f1df4 - Browse repository at this point
Copy the full SHA 99f1df4View commit details -
Transform other instances of 'this' to '_this' when in the constructo…
…r of a derived class.
Configuration menu - View commit details
-
Copy full SHA for d778e78 - Browse repository at this point
Copy the full SHA d778e78View commit details -
Configuration menu - View commit details
-
Copy full SHA for c21cc24 - Browse repository at this point
Copy the full SHA c21cc24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c6e148 - Browse repository at this point
Copy the full SHA 9c6e148View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd5e76b - Browse repository at this point
Copy the full SHA cd5e76bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30ec599 - Browse repository at this point
Copy the full SHA 30ec599View commit details -
Configuration menu - View commit details
-
Copy full SHA for bab6d6f - Browse repository at this point
Copy the full SHA bab6d6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce953ce - Browse repository at this point
Copy the full SHA ce953ceView commit details
Commits on Sep 3, 2016
-
Consolidate '_this' declaration and assignments for first statements …
…in constructors.
Configuration menu - View commit details
-
Copy full SHA for d6e548b - Browse repository at this point
Copy the full SHA d6e548bView commit details -
Fixed issue where last function context & parent node wasn't being pr…
…eserved. This came up when a `super()` call was nested in another constructor body. Current logic in the transform says that if the last containing non-arrow function body is non-static, and the current parent isn't a call expression, the call target of a `super` call will become `_super.prototype` instead of `super`. If the state is not saved, the containing arrow function and parent are not saved, and the information for this check won't be accurate.
Configuration menu - View commit details
-
Copy full SHA for 11bc6c4 - Browse repository at this point
Copy the full SHA 11bc6c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8846dd - Browse repository at this point
Copy the full SHA d8846ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 86088d0 - Browse repository at this point
Copy the full SHA 86088d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd27139 - Browse repository at this point
Copy the full SHA dd27139View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3dcaae - Browse repository at this point
Copy the full SHA f3dcaaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1be4cee - Browse repository at this point
Copy the full SHA 1be4ceeView commit details -
Configuration menu - View commit details
-
Copy full SHA for c87a773 - Browse repository at this point
Copy the full SHA c87a773View commit details -
Configuration menu - View commit details
-
Copy full SHA for d144665 - Browse repository at this point
Copy the full SHA d144665View commit details
Commits on Sep 6, 2016
-
Configuration menu - View commit details
-
Copy full SHA for b476815 - Browse repository at this point
Copy the full SHA b476815View commit details -
Configuration menu - View commit details
-
Copy full SHA for 230737f - Browse repository at this point
Copy the full SHA 230737fView commit details
Commits on Sep 7, 2016
-
Configuration menu - View commit details
-
Copy full SHA for b11db57 - Browse repository at this point
Copy the full SHA b11db57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25f9555 - Browse repository at this point
Copy the full SHA 25f9555View commit details
Commits on Sep 8, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 3a5fb0c - Browse repository at this point
Copy the full SHA 3a5fb0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f11c646 - Browse repository at this point
Copy the full SHA f11c646View commit details
Commits on Sep 19, 2016
-
Configuration menu - View commit details
-
Copy full SHA for a63a0d8 - Browse repository at this point
Copy the full SHA a63a0d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 138e18c - Browse repository at this point
Copy the full SHA 138e18cView commit details -
Configuration menu - View commit details
-
Copy full SHA for da29813 - Browse repository at this point
Copy the full SHA da29813View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60bcd7e - Browse repository at this point
Copy the full SHA 60bcd7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b3a93d - Browse repository at this point
Copy the full SHA 5b3a93dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc4cf6d - Browse repository at this point
Copy the full SHA bc4cf6dView commit details
Commits on Sep 20, 2016
-
Immediately return the result of super calls when they are the first …
…& last statement in a constructor.
Configuration menu - View commit details
-
Copy full SHA for dc58fb5 - Browse repository at this point
Copy the full SHA dc58fb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd787cc - Browse repository at this point
Copy the full SHA cd787ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6580262 - Browse repository at this point
Copy the full SHA 6580262View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e8fb37 - Browse repository at this point
Copy the full SHA 3e8fb37View commit details
Commits on Sep 27, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 5fadfd4 - Browse repository at this point
Copy the full SHA 5fadfd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a5830d - Browse repository at this point
Copy the full SHA 4a5830dView commit details -
Collapse 'super()' capture/returns into a single return statement for…
… generated 'super()' calls.
Configuration menu - View commit details
-
Copy full SHA for c668644 - Browse repository at this point
Copy the full SHA c668644View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fbdb86 - Browse repository at this point
Copy the full SHA 1fbdb86View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0c35f2 - Browse repository at this point
Copy the full SHA e0c35f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8fbc22 - Browse repository at this point
Copy the full SHA f8fbc22View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb4b503 - Browse repository at this point
Copy the full SHA fb4b503View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5a1031 - Browse repository at this point
Copy the full SHA b5a1031View commit details
Commits on Sep 28, 2016
-
Configuration menu - View commit details
-
Copy full SHA for c29ec6f - Browse repository at this point
Copy the full SHA c29ec6fView commit details
Commits on Sep 30, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 02b9917 - Browse repository at this point
Copy the full SHA 02b9917View commit details