File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -1470,7 +1470,7 @@ module ts {
1470
1470
function getTypeOfFuncClassEnumModule ( symbol : Symbol ) : Type {
1471
1471
var links = getSymbolLinks ( symbol ) ;
1472
1472
if ( ! links . type ) {
1473
- var type = links . type = createObjectType ( TypeFlags . Anonymous , symbol ) ;
1473
+ links . type = createObjectType ( TypeFlags . Anonymous , symbol ) ;
1474
1474
}
1475
1475
return links . type ;
1476
1476
}
Original file line number Diff line number Diff line change @@ -2405,8 +2405,6 @@ module ts {
2405
2405
function parseBreakOrContinueStatement ( kind : SyntaxKind ) : BreakOrContinueStatement {
2406
2406
var node = < BreakOrContinueStatement > createNode ( kind ) ;
2407
2407
var errorCountBeforeStatement = file . syntacticErrors . length ;
2408
- var keywordStart = scanner . getTokenPos ( ) ;
2409
- var keywordLength = scanner . getTextPos ( ) - keywordStart ;
2410
2408
parseExpected ( kind === SyntaxKind . BreakStatement ? SyntaxKind . BreakKeyword : SyntaxKind . ContinueKeyword ) ;
2411
2409
if ( ! canParseSemicolon ( ) ) node . label = parseIdentifier ( ) ;
2412
2410
parseSemicolon ( ) ;
You can’t perform that action at this time.
0 commit comments