Remove freshness, more comprehensive grammar checks and diagnostic messages

This commit is contained in:
Ron Buckton committed 2017-09-22 15:08:55 -07:00
1 parent e81c83cdc7
commit 891e71d44f
74 files changed
+2156 -391

No files matched your search

+1 -1
View File
@@ -2615,7 +2615,7 @@ namespace ts {
if (token() === SyntaxKind.DotToken) return undefined;
if (parseOptional(SyntaxKind.OpenParenToken)) {
parseExpected(SyntaxKind.CloseParenToken);
return finishNode(<SymbolTypeNode>createNode(SyntaxKind.SymbolType, fullStart));
return finishNode(<ESSymbolTypeNode>createNode(SyntaxKind.ESSymbolType, fullStart));
}
else {
return finishNode(<TypeNode>createNode(SyntaxKind.SymbolKeyword, fullStart));