File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,6 @@ module ts {
58
58
59
59
var stringLiteralTypes : Map < StringLiteralType > = { } ;
60
60
61
- var fullTypeCheck = false ;
62
61
var emitExtends = false ;
63
62
64
63
var mergedSymbols : Symbol [ ] = [ ] ;
@@ -4356,7 +4355,7 @@ module ts {
4356
4355
}
4357
4356
}
4358
4357
}
4359
- if ( fullTypeCheck && ! ( links . flags & NodeCheckFlags . TypeChecked ) ) {
4358
+ if ( ! ( links . flags & NodeCheckFlags . TypeChecked ) ) {
4360
4359
checkSignatureDeclaration ( node ) ;
4361
4360
if ( node . type ) {
4362
4361
checkIfNonVoidFunctionHasReturnExpressionsOrSingleThrowStatment ( node , getTypeFromTypeNode ( node . type ) ) ;
@@ -6254,7 +6253,6 @@ module ts {
6254
6253
function checkSourceFile ( node : SourceFile ) {
6255
6254
var links = getNodeLinks ( node ) ;
6256
6255
if ( ! ( links . flags & NodeCheckFlags . TypeChecked ) ) {
6257
- fullTypeCheck = true ;
6258
6256
emitExtends = false ;
6259
6257
potentialThisCollisions . length = 0 ;
6260
6258
forEach ( node . statements , checkSourceElement ) ;
@@ -6271,7 +6269,6 @@ module ts {
6271
6269
}
6272
6270
if ( emitExtends ) links . flags |= NodeCheckFlags . EmitExtends ;
6273
6271
links . flags |= NodeCheckFlags . TypeChecked ;
6274
- fullTypeCheck = false ;
6275
6272
}
6276
6273
}
6277
6274
You can’t perform that action at this time.
0 commit comments