Skip to content

Commit c45f90f

Browse files
committed
Remove now-redundant code
1 parent a007f56 commit c45f90f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/compiler/checker.ts

-6
Original file line numberDiff line numberDiff line change
@@ -14094,12 +14094,6 @@ namespace ts {
1409414094
if (unreliable) {
1409514095
variance |= VarianceFlags.Unreliable;
1409614096
}
14097-
const covariantID = getRelationKey(typeWithSub, typeWithSuper, assignableRelation);
14098-
const contravariantID = getRelationKey(typeWithSuper, typeWithSub, assignableRelation);
14099-
// We delete the results of these checks, as we want them to actually be run, see the `Unmeasurable` variance we cache,
14100-
// And then fall back to a structural result.
14101-
assignableRelation.delete(covariantID);
14102-
assignableRelation.delete(contravariantID);
1410314097
}
1410414098
variances.push(variance);
1410514099
}

0 commit comments

Comments
 (0)