Skip to content

Mark IIFE signature with anySignature during contextual typing#8698

Merged
sandersn merged 1 commit into
masterfrom
iife-parameters-correct-quickinfo
May 19, 2016
Merged

Mark IIFE signature with anySignature during contextual typing#8698
sandersn merged 1 commit into
masterfrom
iife-parameters-correct-quickinfo

Conversation

@sandersn
Copy link
Copy Markdown
Member

Fixes #8661

Avoids recursion -- during batch compilation, checkCallExpression already sets the signature to anySignature as a sentinel value, the services layer calls directly into checkParameter, skipping checkCallExpression entirely. So getContextuallyTypedParameterType also needs to set this
sentinel value.

Avoids recursion -- during batch compilation, `checkCallExpression` already
sets the signature to `anySignature` as a sentinel value, the services
layer calls directly into `checkParameter`, skipping `checkCallExpression`
entirely. So `getContextuallyTypedParameterType` also needs to set this
sentinel value.
@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented May 19, 2016

👍

@sandersn sandersn merged commit f9412f8 into master May 19, 2016
@sandersn sandersn deleted the iife-parameters-correct-quickinfo branch May 19, 2016 22:09
@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