Miles,
> On 13. 5. 2024, at 17:43, Milles, Eric (TR Technology) via dev
> wrote:
> When the parser cannot work out the meaning, it tends to report "unexpected
> input".
I don't complain at all that the error is reported as an “unexpected input”; I
do apologise I haven't explained it in detail
When the parser cannot work out the meaning, it tends to report "unexpected
input". There is a ticket about parser recovery that may address some types of
errors like the extra closing paren in your example. But it has not gotten off
the ground.
https://issues.apache.org/jira/browse/GROOVY-91