Skip to content

Commit 637c6ea

Browse files
committed
Show stacktrace for exception
1 parent 598fcd2 commit 637c6ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: compiler/src/dotty/tools/dotc/core/SymDenotations.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -2522,7 +2522,7 @@ object SymDenotations {
25222522
val sym = denot.symbol
25232523
val errMsg = BadSymbolicReference(denot)
25242524
report.error(errMsg, sym.srcPos)
2525-
if (ctx.debug) throw new scala.Error()
2525+
throw new scala.Error()
25262526
initializeToDefaults(denot, errMsg)
25272527
}
25282528
}

0 commit comments

Comments
 (0)