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 19e6f77 commit 9c81284Copy full SHA for 9c81284
compiler/src/dotty/tools/dotc/core/SymDenotations.scala
@@ -2507,6 +2507,7 @@ object SymDenotations {
2507
2508
/** A completer for missing references */
2509
class StubInfo() extends LazyType {
2510
+ throw new scala.Error()
2511
2512
def initializeToDefaults(denot: SymDenotation, errMsg: Message)(using Context): Unit = {
2513
denot.info = denot match {
@@ -2522,7 +2523,7 @@ object SymDenotations {
2522
2523
val sym = denot.symbol
2524
val errMsg = BadSymbolicReference(denot)
2525
report.error(errMsg, sym.srcPos)
- if (ctx.debug) throw new scala.Error()
2526
2527
initializeToDefaults(denot, errMsg)
2528
}
2529
0 commit comments