scala3 icon indicating copy to clipboard operation
scala3 copied to clipboard

Slow inference with large Maps of literals

Open adkian-sifive opened this issue 8 months ago • 7 comments

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.

adkian-sifive avatar Jun 04 '24 09:06 adkian-sifive