Skip to content

Track parameter references errors in resolve name rather than secondary pass #30349

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 1 commit into from
Apr 23, 2019

Conversation

weswigham
Copy link
Member

As an alternative to #29160, which I was looking over and decided that I generally hated how top-down checkParameterInitializer was. This actually deletes more code in the checker than it adds ❤️

Fixes #29139

Much thanks to @ajafff from whom I cribbed the tests and some of the conditions for deferred contexts.

@weswigham weswigham merged commit b02b823 into microsoft:master Apr 23, 2019
@weswigham weswigham deleted the validate-param-lookups-lazily branch April 23, 2019 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing error 'initializer of parameter 'foo' cannot reference identifier 'bas' declared after it' within IIFE
2 participants