mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 02:33:53 -06:00
Remove some unused variables
This commit is contained in:
parent
cbf4edabe1
commit
c9e526ffe9
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user