Closed ghzdude closed 1 week ago
if you have an event/closure like:
mods.gregtech.materialEvent { method(, arg1, arg2) }
the error incorrectly points to { as the issue, instead of the errant comma in method()
{
method()
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Unexpected input: '{' mods.gregtech.materialEvent { ^
Groovy issue. Not really anything i can do about it
Took a deeper look and can confirm that fixing this issue might be impossible without fundamentaly changing the parser
if you have an event/closure like:
the error incorrectly points to
{
as the issue, instead of the errant comma inmethod()