Create separate control flows for property declarations with initializers
This commit is contained in:
parent
166f399d17
commit
5f3f2d302f
|
@ -1142,6 +1142,8 @@ namespace ts {
|
|||
|
||||
case SyntaxKind.ModuleBlock:
|
||||
return ContainerFlags.IsControlFlowContainer;
|
||||
case SyntaxKind.PropertyDeclaration:
|
||||
return (<PropertyDeclaration>node).initializer ? ContainerFlags.IsControlFlowContainer : 0;
|
||||
|
||||
case SyntaxKind.CatchClause:
|
||||
case SyntaxKind.ForStatement:
|
||||
|
|
Loading…
Reference in a new issue