Are there documented limits about what the compiler can accept? I have a 357k lines file containing a class with a ton of nested classes and any code referencing it fails to compile with
Unresolved Reference
.
I'm not really expecting this use case to work but curious when to giveup and throw a better error message than
Unresolved Reference
h
hfhbd
02/18/2022, 3:55 PM
Which target? AFAIK jvm class can hold up to 65k members.
m
mbonnin
02/18/2022, 4:02 PM
Yea I've seen that error before but I don't think this is what's happening there.
mbonnin
02/18/2022, 4:03 PM
IDEA also seems completely lost so I was thinking maybe there are limitations in the frontend or so, not sure
e
elizarov
02/22/2022, 6:41 AM
There’s no hard limit, but the longer it goes the slower it gets. However, it should not crash this way. It would be great if you can provide a reproducer and file a bug to http://kotl.in/issue