diff --git a/src/compiler/binder.ts b/src/compiler/binder.ts index bfdd41f5010..4eb8c481926 100644 --- a/src/compiler/binder.ts +++ b/src/compiler/binder.ts @@ -94,11 +94,15 @@ module ts { } switch (node.kind) { case SyntaxKind.ConstructorType: - case SyntaxKind.Constructor: return "__constructor"; + case SyntaxKind.Constructor: + return "__constructor"; case SyntaxKind.FunctionType: - case SyntaxKind.CallSignature: return "__call"; - case SyntaxKind.ConstructSignature: return "__new"; - case SyntaxKind.IndexSignature: return "__index"; + case SyntaxKind.CallSignature: + return "__call"; + case SyntaxKind.ConstructSignature: + return "__new"; + case SyntaxKind.IndexSignature: + return "__index"; } }