Inline method.

This commit is contained in:
Cyrus Najmabadi 2014-12-04 10:07:44 -08:00
parent 8c0fdbcff0
commit 6a3222ca30

View File

@ -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);