aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Denotations.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotty/tools/dotc/core/Denotations.scala')
-rw-r--r--src/dotty/tools/dotc/core/Denotations.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Denotations.scala b/src/dotty/tools/dotc/core/Denotations.scala
index 0f32d7ff3..b52c11201 100644
--- a/src/dotty/tools/dotc/core/Denotations.scala
+++ b/src/dotty/tools/dotc/core/Denotations.scala
@@ -591,7 +591,7 @@ object Denotations {
this
case _ =>
if (coveredInterval.containsPhaseId(ctx.phaseId)) {
- if (ctx.settings.debug.value) ctx.traceInvalid(this)
+ if (ctx.debug) ctx.traceInvalid(this)
staleSymbolError
}
else NoDenotation