scala3
scala3 copied to clipboard
Slow inference with large Maps of literals
Compiler version
3.4.0, 3.4.1, 3.4.2
Minimized code
I put it in a gist here since the problematic Maps are quite large: https://gist.github.com/adkian-sifive/5c904054f400871f2fe712ab160be1b3
Output
The compiler hangs
Expectation
In this case the compiler should complain about not finding a main method, but it does not do that and just hangs.