Stack overflow while compiling a nested given #22145
Labels
area:experimental:modularity
Issues related to the modularity extension.
area:parser
itype:bug
itype:crash
Compiler version
Scala compiler version 3.6.1 -- Copyright 2002-2024, LAMP/EPFL
Minimized code
Output (click arrow to expand)
Note that the full stack trace is too long to report in the issue.
Exception while compiling main.scala
An unhandled exception was thrown in the compiler.
Please file a crash report here:
https://github.com/scala/scala3/issues/new/choose
For non-enriched exceptions, compile with -Xno-enrich-error-messages.
Exception in thread "main" java.lang.StackOverflowError
at scala.collection.mutable.Builder.sizeHint(Builder.scala:69)
at scala.collection.mutable.Builder.sizeHint$(Builder.scala:68)
at scala.collection.mutable.HashSet.addAll(HashSet.scala:94)
at scala.collection.mutable.HashSet$.from(HashSet.scala:31)
at scala.collection.mutable.HashSet$.from(HashSet.scala:407)
at scala.collection.IterableFactory.apply(Factory.scala:103)
at ...
The text was updated successfully, but these errors were encountered: