mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-16 06:35:35 -05:00
Inline method.
This commit is contained in:
@@ -1304,10 +1304,6 @@ module ts {
|
||||
parseErrorAtCurrentToken(diagnosticMessage, arg0);
|
||||
}
|
||||
|
||||
return createMissingNodeWithoutError(kind);
|
||||
}
|
||||
|
||||
function createMissingNodeWithoutError(kind: SyntaxKind) {
|
||||
var result = createNode(kind, scanner.getStartPos());
|
||||
(<Identifier>result).text = "";
|
||||
return finishNode(result);
|
||||
|
||||
Reference in New Issue
Block a user