Slow compilation of chained applyDynamic
#16544
Labels
area:desugar
Desugaring happens after parsing but before typing, see desugar.scala
itype:performance
Milestone
Compiler version
3.2.1 and before
Minimized code
Output
This compiles successfully but the compilation time starts to rapidly grow (nonlinearly?) starting from some number of chained invocations desugared to
applyDynamic
. This happens also forapplyDynamicNamed
.Expectation
In scala 2.13 this compiles almost instantly so compilation times should not explode in scala 3 either
The text was updated successfully, but these errors were encountered: