Skip to content

Error on forward references in property initializers#13914

Merged
sandersn merged 2 commits into
masterfrom
forward-ref-in-property-initialisers
Feb 7, 2017
Merged

Error on forward references in property initializers#13914
sandersn merged 2 commits into
masterfrom
forward-ref-in-property-initialisers

Conversation

@sandersn
Copy link
Copy Markdown
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