This repository was archived by the owner on Feb 22, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
Use before define from variables to classes. #131
Labels
Comments
this is basically #29, consts aren't implemented |
This was referenced May 1, 2015
Closed
update, getting closer on this. The new design unifies all use-before-define concepts. It folds in the existing _lazyClass checks, without requiring duplication. It will also allow constants in method bodies to be hoisted out to the top-level (as an optimization, but also what a human would write in JS code). |
there's essentially two mechanisms:
("module items" terminology is from https://people.mozilla.org/~jorendorff/es6-draft.html#sec-modules) |
https://codereview.chromium.org/1133593004/ ... finally :) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This code (from Angular):
is causing a runtime error on generated code as the use is before the define:
The text was updated successfully, but these errors were encountered: