usethesource / rascal

The implementation of the Rascal meta-programming language (including interpreter, type checker, parser generator, compiler and JVM based run-time system)
http://www.rascal-mpl.org
Other
406 stars 78 forks source link

if statement not documented correctly #1506

Open jurgenvinju opened 3 years ago

jurgenvinju commented 3 years ago

Describe the bug

The tutor documentation does not describe how if accepts a comma-separated list of generators and conditions:

http://docs.rascal-mpl.org/unstable/Rascal/#Statements-If

jurgenvinju commented 3 years ago

Neither does the documentation of the while loop, but for loop is documented correctly.