We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3635871 commit 06258b8Copy full SHA for 06258b8
src/compiler/checker.ts
@@ -3651,7 +3651,7 @@ module ts {
3651
var maybeCache = maybeStack[depth];
3652
// If result is definitely true, copy assumptions to global cache, else copy to next level up
3653
var destinationCache = result === Ternary.True || depth === 0 ? relation : maybeStack[depth - 1];
3654
- copyMap(maybeCache, destinationCache);
+ copyMap(/*source*/maybeCache, /*target*/destinationCache);
3655
}
3656
else {
3657
// A false result goes straight into global cache (when something is false under assumptions it
0 commit comments