Closed lppedd closed 7 months ago
As expected it is failing on the JVM. Let's keep this PR parked.
@KvanTTT FYI
@ftomassetti to recap the commits here:
MethodTooLargeException
.TSql*
generated files from the JVM compilation, since we don't need them.RuleContext.ruleIndex
should have never been mutable.I think we can merge as testing with a grammar this large will save us from many other issues in the future.
Thank you @lppedd and @KvanTTT
I added minor comments
This PR adds a test for the TSQL grammar, probably the largest grammar you can find in the ANTLR Grammars repository.
The generated file is so big it causes a
o.j.o.objectweb.asm.MethodTooLargeException
from the Kotlin compiler when targeting the JVM, so the testing is enabled only for the JS platform for now.I will report
MethodTooLargeException
in YouTrack soon.