From ba2e4bff10fc9d035936f975f3d6ffbcb6f6c737 Mon Sep 17 00:00:00 2001 From: Cyrus Najmabadi Date: Fri, 14 Nov 2014 16:39:48 -0800 Subject: [PATCH] cr feedback. --- src/compiler/binder.ts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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"; } }