Menu

#208 Class definition with curly braces not supported

None
new
nobody
None
normal
minor
Always
Model definition
0.0.6
Linux
2020-10-03
2020-10-03
Anonymous
No

Could curly braces be supported?

For example, I get the following error for a class defined with curly braces:

test.use:line 6:11 no viable alternative at input '{'

You can find the example attached, and I copy below for reference:

model Reviewing_system

-- classes

class User {
  name : String
  affiliation : String
  eMail : String
  isStudent : Boolean
}
1 Attachments

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.