Added trivial syntax case.

This commit is contained in:
Daniel Rosenwasser
2014-08-25 16:52:23 -07:00
parent aef859f442
commit 144eb8dc0d

View File

@@ -6644,6 +6644,7 @@ module ts {
case SyntaxKind.Parameter:
case SyntaxKind.Property:
case SyntaxKind.EnumMember:
case SyntaxKind.PropertyAssignment:
return (<VariableDeclaration>parent).initializer === node;
case SyntaxKind.ExpressionStatement:
case SyntaxKind.IfStatement: