Michael2109 / cobalt

The Cobalt programming language
GNU Lesser General Public License v3.0
37 stars 10 forks source link

If statements not parsing `else` section #519

Closed Michael2109 closed 6 years ago

Michael2109 commented 6 years ago

The else section isn't parsed if no elif section is added.

let x() = do
    if true then do
      1
    else do
      2