File tree 1 file changed +5
-5
lines changed 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3454,7 +3454,7 @@ module ts {
3454
3454
if ( ! ( expandingFlags & 1 ) && isDeeplyNestedGeneric ( source , sourceStack ) ) expandingFlags |= 1 ;
3455
3455
if ( ! ( expandingFlags & 2 ) && isDeeplyNestedGeneric ( target , targetStack ) ) expandingFlags |= 2 ;
3456
3456
if ( expandingFlags === 3 ) {
3457
- var result = Ternary . True ;
3457
+ var result = Ternary . Maybe ;
3458
3458
}
3459
3459
else {
3460
3460
var result = propertiesRelatedTo ( source , target , reportErrors ) ;
@@ -3474,11 +3474,11 @@ module ts {
3474
3474
expandingFlags = saveExpandingFlags ;
3475
3475
depth -- ;
3476
3476
if ( result ) {
3477
- var sourceCache = maybeStack [ depth ] ;
3477
+ var maybeCache = maybeStack [ depth ] ;
3478
3478
// 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 ] ;
3482
3482
}
3483
3483
}
3484
3484
else {
You can’t perform that action at this time.
0 commit comments