Skip to content

Commit 04bc040

Browse files
committed
Fix reviewers comments
1 parent ed2e676 commit 04bc040

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2040,7 +2040,7 @@ object SymDenotations {
20402040
final def isValid(implicit ctx: Context): Boolean = valid && isValidAt(ctx.phase)
20412041

20422042
def invalidate(): Unit =
2043-
if (isValid && !locked) {
2043+
if (valid && !locked) {
20442044
cache = null
20452045
valid = false
20462046
invalidateDependents()

0 commit comments

Comments
 (0)