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.
2 parents 675779e + b33e232 commit 1165e98Copy full SHA for 1165e98
compiler/src/dotty/tools/dotc/core/Types.scala
@@ -2509,7 +2509,7 @@ object Types {
2509
// if errors were reported previously handle this by throwing a CyclicReference
2510
// instead of crashing immediately. A test case is neg/i6057.scala.
2511
assert(ctx.reporter.errorsReported)
2512
- CyclicReference(NoDenotation)
+ throw CyclicReference(NoDenotation)
2513
}
2514
2515
else {
0 commit comments