Open SimonCockx opened 1 year ago
Potential solutions:
switch
statement that can replace long nested if-then-else
s.Since https://github.com/REGnosys/rosetta-dsl/pull/671, the language server will fail more gracefully by giving back a diagnostic to the user.
A long if-then-else expression can results in a null pointer in the generated ANTRL parser, which causes the language server to crash.
Stacktrace:
Reproduce: create an
if-then-else
expression having 30+ branches.