From 6a3222ca30ecbd0728be841828de7d0a93da212f Mon Sep 17 00:00:00 2001 From: Cyrus Najmabadi Date: Thu, 4 Dec 2014 10:07:44 -0800 Subject: [PATCH] Inline method. --- src/compiler/parser.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/compiler/parser.ts b/src/compiler/parser.ts index 1763df9cda8..f24b07eaf8e 100644 --- a/src/compiler/parser.ts +++ b/src/compiler/parser.ts @@ -1304,10 +1304,6 @@ module ts { parseErrorAtCurrentToken(diagnosticMessage, arg0); } - return createMissingNodeWithoutError(kind); - } - - function createMissingNodeWithoutError(kind: SyntaxKind) { var result = createNode(kind, scanner.getStartPos()); (result).text = ""; return finishNode(result);