This seems to work today, not sure what I was seeing yesterday.

This commit is contained in:
Paul van Brenk
2015-05-01 12:38:41 -07:00
parent 45591c846c
commit 6fd0a38335

View File

@@ -2986,8 +2986,7 @@ module ts {
|| containingNodeKind === SyntaxKind.Constructor // constructor( |
|| containingNodeKind === SyntaxKind.NewExpression // new C(a|
|| containingNodeKind === SyntaxKind.ParenthesizedExpression // let x = (a|
|| containingNodeKind === SyntaxKind.ParenthesizedType // function F(pred: (a|
|| containingNodeKind == SyntaxKind.FunctionType; // function F(pred: (a| // todo: figure out why fourslash and the IDE don't agree on node kind here
|| containingNodeKind === SyntaxKind.ParenthesizedType; // function F(pred: (a
case SyntaxKind.ColonToken:
return containingNodeKind === SyntaxKind.Parameter; // function F(pred: a|