Skip to content

Narrowed consts flow through object literal or class expression method #11458

Merged
sheetalkamat merged 2 commits into
masterfrom
narrowedConst
Oct 13, 2016
Merged

Narrowed consts flow through object literal or class expression method #11458
sheetalkamat merged 2 commits into
masterfrom
narrowedConst

Conversation

@sheetalkamat
Copy link
Copy Markdown
Member

Fixes #10501

@sheetalkamat sheetalkamat merged commit 6b5a53c into master Oct 13, 2016
@sheetalkamat sheetalkamat deleted the narrowedConst branch October 13, 2016 23:16
sandersn added a commit that referenced this pull request Apr 5, 2017
References to `this` should not continue looking outside their immediate
container to narrow. Introduced by #11458, which allows narrowing of
captured variables inside methods of class expressions.
@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