Skip to content

Correctly recognize value symbol presence of expressions in extends clauses#5043

Merged
DanielRosenwasser merged 7 commits into
masterfrom
findRefsOnVarInExtends
Oct 1, 2015
Merged

Correctly recognize value symbol presence of expressions in extends clauses#5043
DanielRosenwasser merged 7 commits into
masterfrom
findRefsOnVarInExtends

Conversation

@DanielRosenwasser
Copy link
Copy Markdown
Member

Fixes #5028.

Basically we were failing to account for the fact that expressions in extends clauses are expressions...

Edit: But only in class extends clauses.

Comment thread src/compiler/checker.ts Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should only add the Value flag if this is a heritage clause of a class expression (see other comment)

@DanielRosenwasser
Copy link
Copy Markdown
Member Author

Addressed your feedback @RyanCavanaugh

@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented Sep 30, 2015

👍

1 similar comment
@RyanCavanaugh
Copy link
Copy Markdown
Member

👍

DanielRosenwasser added a commit that referenced this pull request Oct 1, 2015
Correctly recognize value symbol presence of expressions in extends clauses
@DanielRosenwasser DanielRosenwasser merged commit acef223 into master Oct 1, 2015
@DanielRosenwasser DanielRosenwasser deleted the findRefsOnVarInExtends branch October 1, 2015 19:36
@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.

4 participants