CompilationUnit.SuspendException
during CodeGen
#21983
Labels
area:metaprogramming:other
Issues tied to metaprogramming/macros not covered by the other labels.
itype:bug
itype:crash
Compiler version
Reproduced on 3.4.3, 3.5.2, and the latest nightly 3.6.3-RC1-bin-20241119-cc4a324-NIGHTLY
Minimized code
https://github.com/mrdziuban/scala3-suspend-exception
The README there describes the 4 files involved, they're all pretty minimal. The most complex, and I think the one most likely related to the issue, is
VisitorMacros.scala
.Output (click arrow to expand)
I patched the compiler to remove
NoStackTrace
fromSuspendException
and got this:The text was updated successfully, but these errors were encountered: