Skip to content
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

dart2js: Allow read-only access to initializing formals. #26657

Closed
eernstg opened this issue Jun 8, 2016 · 5 comments
Closed

dart2js: Allow read-only access to initializing formals. #26657

eernstg opened this issue Jun 8, 2016 · 5 comments

Comments

@eernstg
Copy link
Member

eernstg commented Jun 8, 2016

This is the dart2js specific issue for #26655. That issue has the details.

@eernstg
Copy link
Member Author

eernstg commented Jun 8, 2016

This extension is supported by dart2js starting from commit c3dfe51, behind the flag --initializing-formal-access.

@eernstg
Copy link
Member Author

eernstg commented Jun 9, 2016

The semantics has been adjusted such that the initializing formal parameter is in scope in the initalizer list, but not in the body. The implementation in c3dfe51 implements the old semantics.

@eernstg
Copy link
Member Author

eernstg commented Jul 12, 2016

As of commit 6942e0d, dart2js has been adjusted to implement the scoping where initializing formals are in scope in the initializer list, but not in the body.

@eernstg
Copy link
Member Author

eernstg commented Jul 15, 2016

The CL https://codereview.chromium.org/2141023002/ will make the effect of '--initializing-formal-access' the default behavior of dart2js. The intention is that this CL will be landed when all tools are ready to make support for initializing formal access the default.

@eernstg
Copy link
Member Author

eernstg commented Nov 24, 2016

Closing: Enabling the feature by default has now been split out into a separate issue #27893.

@eernstg eernstg closed this as completed Nov 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants