MystPi / bella

🐶 Bella ⌁ A simple functional programming language ⌁ Written in Gleam!
MIT License
20 stars 3 forks source link

Defining variables doesn't like newlines. #2

Closed Steve0Greatness closed 1 year ago

Steve0Greatness commented 1 year ago

I get this error on countdown.bella in the examples directory.

✕ error: invalid syntax
  ┌─ ./examples/countdown.bella:1:16
  │
1 │ let countdown =
  │                ~
  │

? I don't understand what this means
MystPi commented 1 year ago

That's weird—it works on my machine. I'll check it out; thanks for the report!

MystPi commented 1 year ago

Did you modify the file at all? Maybe the line endings are messed up.

MystPi commented 1 year ago

Yup, it doesn't understand CRLF correctly ATM. I'll push a fix as soon as possible.

MystPi commented 1 year ago

It should work now in the latest build. Do you mind testing it out?