mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 04:43:37 -05:00
Remove some unused variables
This commit is contained in:
@@ -1470,7 +1470,7 @@ module ts {
|
||||
function getTypeOfFuncClassEnumModule(symbol: Symbol): Type {
|
||||
var links = getSymbolLinks(symbol);
|
||||
if (!links.type) {
|
||||
var type = links.type = createObjectType(TypeFlags.Anonymous, symbol);
|
||||
links.type = createObjectType(TypeFlags.Anonymous, symbol);
|
||||
}
|
||||
return links.type;
|
||||
}
|
||||
|
||||
@@ -2405,8 +2405,6 @@ module ts {
|
||||
function parseBreakOrContinueStatement(kind: SyntaxKind): BreakOrContinueStatement {
|
||||
var node = <BreakOrContinueStatement>createNode(kind);
|
||||
var errorCountBeforeStatement = file.syntacticErrors.length;
|
||||
var keywordStart = scanner.getTokenPos();
|
||||
var keywordLength = scanner.getTextPos() - keywordStart;
|
||||
parseExpected(kind === SyntaxKind.BreakStatement ? SyntaxKind.BreakKeyword : SyntaxKind.ContinueKeyword);
|
||||
if (!canParseSemicolon()) node.label = parseIdentifier();
|
||||
parseSemicolon();
|
||||
|
||||
Reference in New Issue
Block a user