Skip to content

always set NodeCheckFlags when checking super expression#4121

Merged
vladima merged 1 commit into
masterfrom
NodeFlagsOnSuperCall
Aug 3, 2015
Merged

always set NodeCheckFlags when checking super expression#4121
vladima merged 1 commit into
masterfrom
NodeFlagsOnSuperCall

Conversation

@vladima
Copy link
Copy Markdown
Contributor

@vladima vladima commented Aug 2, 2015

otherwise emit for super calls when base class information is not accessible for typechecker (i.e. in single file compilation cases) will be incorrect. Fixes #4118.

Also PR slightly reorganizes the code in checkSuperExpression to make it more readable- reduced nesting and simplified usage of variables

@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented Aug 3, 2015

👍

vladima added a commit that referenced this pull request Aug 3, 2015
always set NodeCheckFlags when checking super expression
@vladima vladima merged commit 4c7b214 into master Aug 3, 2015
@vladima vladima deleted the NodeFlagsOnSuperCall branch August 3, 2015 18:00
@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