switch
with a single case does not parse
#868
Labels
bug
Something isn't working
subject: model validation
This issue is about validation of Rosetta models, such as the type system
subject: syntax
This issue is about the syntax of Rosetta
The
switch
syntax should be less restrictive, otherwise users get confusing error messages. For example, the following will raise an error onswitch
"Expected EOF":The same for a
switch
without any cases. The parser should allow it, although validation should fail.The text was updated successfully, but these errors were encountered: