Skip to content

Commit d60e5dc

Browse files
committed
Drop wrong comment
1 parent cd78e06 commit d60e5dc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

compiler/src/dotty/tools/dotc/core/Types.scala

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4178,9 +4178,6 @@ object Types {
41784178
myGround > 0
41794179

41804180
private[Types] def cachedIsStable(using Context): Boolean =
4181-
// We need to invalidate the cache when the period changes because the
4182-
// case `TermRef` of `Type#isStable` reads denotations, which depend on
4183-
// the period. See docs/_docs/internals/periods.md for more information.
41844181
if myisStableRunId != ctx.runId then
41854182
val res: Boolean = computeIsStable
41864183
// We don't cache if the type is provisional because `Type#isStable`

0 commit comments

Comments
 (0)