Open cdietrich opened 1 week ago
cc @JohannesMeierSE
@cdietrich thanks for the bug report! I will investigate it, but I will need to find some free time for that. Is it urgent on your side?
with the ast rewrite. maybe it is not properly detected if happing on all branches of an alternative
I agree: ( ... right=Literal )*
looks critical for the validation. A check for creating new objects inside ( ... )*
is probably the solution.
Langium version: 3.3
given the grammar
the validator complains about
imho this is a false positive with the ast rewrite. maybe it is not properly detected if happing on all branches of an alternative.