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 cd78e06 commit d60e5dcCopy full SHA for d60e5dc
compiler/src/dotty/tools/dotc/core/Types.scala
@@ -4178,9 +4178,6 @@ object Types {
4178
myGround > 0
4179
4180
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.
4184
if myisStableRunId != ctx.runId then
4185
val res: Boolean = computeIsStable
4186
// We don't cache if the type is provisional because `Type#isStable`
0 commit comments