qorf / quorum-language

The primary repository for the Quorum Programming Language
BSD 3-Clause "New" or "Revised" License
16 stars 7 forks source link

Program compiles despite erroneous "and" #78

Closed alleew closed 1 year ago

alleew commented 1 year ago

This program compiles, even though it should be an error (due to the extra "and"). The program doesn't output any errors when run, but also doesn't output the statement.

class Main action Main output "Hello world!" and end end

andreas-stefik commented 1 year ago

Fixed in Quorum-11. It's possible there are other cases that were missed in the parser, but I double checked and test suite passes.