Reflective structural call with array parameter crashes during pickling #11043
Labels
area:desugar
Desugaring happens after parsing but before typing, see desugar.scala
area:typer
itype:bug
itype:crash
Minimized code
Output (click arrow to expand)
Expectation
Successful compilation and when run prints:
Workaround
Notes
Works as expected in 3.0.0-M1 and 2.13.4. The regression appears to be caused by 574f741.
https://github.com/lampepfl/dotty/blob/574f74103397ed733b2ed30d88ada829ec2666af/compiler/src/dotty/tools/dotc/typer/Dynamic.scala#L221-L226
The text was updated successfully, but these errors were encountered: