Overlapping patches crash when using -rewrite
and compiletime.testing.typeCheckErrors
#21415
Labels
area:metaprogramming:compiletime
The scala.compiletime package
area:rewriting tool
itype:bug
itype:crash
Milestone
Beside crash the biggest issue here seems to be fact that patches created for snippets are applied to the compiled file. It creates a non-compiling code, by overriding parts of sources that should not be modified. I belive patches should be never produced for compiled snipets.
Compiler version
All Scala 3 versions
Minimized code
Output (click arrow to expand)
The text was updated successfully, but these errors were encountered: