This snippet of code results in this error message:
error: Syntax error
┌─ /src/main.gleam:7:21
│
7 │ const wibble = thing()
│ ^ I was not expecting this
Expected one of:
An import, const, type, if block, or function.
The error says it's expecting an if block but as far as I'm aware Gleam no longer has those, we could remove it.
This snippet of code results in this error message:
The error says it's expecting an if block but as far as I'm aware Gleam no longer has those, we could remove it.