File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3454,7 +3454,7 @@ module ts {
34543454 if ( ! ( expandingFlags & 1 ) && isDeeplyNestedGeneric ( source , sourceStack ) ) expandingFlags |= 1 ;
34553455 if ( ! ( expandingFlags & 2 ) && isDeeplyNestedGeneric ( target , targetStack ) ) expandingFlags |= 2 ;
34563456 if ( expandingFlags === 3 ) {
3457- var result = Ternary . True ;
3457+ var result = Ternary . Maybe ;
34583458 }
34593459 else {
34603460 var result = propertiesRelatedTo ( source , target , reportErrors ) ;
@@ -3474,11 +3474,11 @@ module ts {
34743474 expandingFlags = saveExpandingFlags ;
34753475 depth -- ;
34763476 if ( result ) {
3477- var sourceCache = maybeStack [ depth ] ;
3477+ var maybeCache = maybeStack [ depth ] ;
34783478 // If result is definitely true, copy assumptions to global cache, else copy to next level up
3479- var targetCache = result === Ternary . True || depth === 0 ? relation : maybeStack [ depth - 1 ] ;
3480- for ( var p in sourceCache ) {
3481- targetCache [ p ] = sourceCache [ p ] ;
3479+ var destinationCache = result === Ternary . True || depth === 0 ? relation : maybeStack [ depth - 1 ] ;
3480+ for ( var p in maybeCache ) {
3481+ destinationCache [ p ] = maybeCache [ p ] ;
34823482 }
34833483 }
34843484 else {
You can’t perform that action at this time.
0 commit comments