Skip to content

Error on forward references in property initializers #13914

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

Merged
merged 2 commits into from
Feb 7, 2017

Conversation

sandersn
Copy link
Member

@sandersn sandersn commented Feb 7, 2017

Fixes #12673

The error only appears when a property initializer references another property before its definition. References to outer variables, etc are still allowed, and instance property initialisers are still allowed to reference static properties.

The error only appears when a property initializer references another
property before its definition. References to outer variables, etc are
still allowed.
@sandersn sandersn merged commit 94aeff2 into master Feb 7, 2017
@sandersn sandersn deleted the forward-ref-in-property-initialisers branch February 7, 2017 15:37
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants