You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but there is no clear reason for this restriction (and the resulting error message is not particularly clear).
We can allow empty braces this by writing (('(' parameters+=Parameter (',' parameters+=Parameter)* ')') | '(' ')')?
instead of ('(' parameters+=Parameter (',' parameters+=Parameter)* ')')?.
The text was updated successfully, but these errors were encountered:
lhstrh
changed the title
Braces now allowed for reactors without parameters
Braces not allowed for reactors without parameters
Jun 19, 2023
Our grammar does not allow:
but there is no clear reason for this restriction (and the resulting error message is not particularly clear).
We can allow empty braces this by writing
(('(' parameters+=Parameter (',' parameters+=Parameter)* ')') | '(' ')')?
instead of
('(' parameters+=Parameter (',' parameters+=Parameter)* ')')?
.The text was updated successfully, but these errors were encountered: