Skip to content

Commit

Permalink
Defer-check function/method nodes even when context-sensitive.
Browse files Browse the repository at this point in the history
  • Loading branch information
sandersn committed Feb 25, 2016
1 parent acd9bef commit 3951821
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compiler/checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10655,6 +10655,7 @@ namespace ts {

// The identityMapper object is used to indicate that function expressions are wildcards
if (contextualMapper === identityMapper && isContextSensitive(node)) {
checkNodeDeferred(node);
return anyFunctionType;
}

Expand Down

0 comments on commit 3951821

Please sign in to comment.