moonscript icon indicating copy to clipboard operation
moonscript copied to clipboard

`if` line decorator won't take `continue` or `break` as the `else` block statement

Open strait opened this issue 6 years ago • 0 comments

This is failing to parse:

my_numbers = {1,2,3,4,5,6}
for x in *my_numbers
  print x if x % 2 == 0 else continue

strait avatar Jul 05 '19 06:07 strait