aDotInTheVoid / skate

Skateboard for the mind
Apache License 2.0
2 stars 0 forks source link

Allow `block` exprs to not need a semi #25

Closed aDotInTheVoid closed 3 years ago

aDotInTheVoid commented 3 years ago

Now we need something like

print "one";
if x {
  print "two";
} else {
  print "three";
};
print "four";

You shouldn't need a semi after the else

See https://doc.rust-lang.org/reference/statements.html#expression-statements