From 628fa4c7b286b2634dbfb61c7203bf99934e8d8a Mon Sep 17 00:00:00 2001 From: Jason Freeman Date: Thu, 2 Oct 2014 14:39:10 -0700 Subject: [PATCH] Remove OmittedType --- src/compiler/parser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/parser.ts b/src/compiler/parser.ts index 3c39a5a0bef..f71af45c7de 100644 --- a/src/compiler/parser.ts +++ b/src/compiler/parser.ts @@ -2356,7 +2356,7 @@ module ts { var errorStart = scanner.getTokenPos(); var errorLength = scanner.getTextPos() - errorStart; grammarErrorAtPos(errorStart, errorLength, Diagnostics.Type_expected); - return createNode(SyntaxKind.OmittedType); + return createNode(SyntaxKind.Missing); } return parseType();