uqbar-project / wollok

Wollok Programming Language
GNU General Public License v3.0
60 stars 16 forks source link

Empty block message #688

Closed flbulgarelli closed 7 years ago

flbulgarelli commented 8 years ago

Although is nice to ensure that there are no empty tests nor programs, the error message you get is quite confusing: required (...)+ loop did not match anything at input '}'

It should be something like program must not be empty.

fdodino commented 7 years ago

Changed Wollok grammar to use * instead of + in Xtext definition and added new validators for program, test and fixture.

fdodino commented 7 years ago

issue688.png