This project currently does not support the latest Gleam versions because it contains the deprecated (and now removed) try syntax. Project compilation fails with this error:
error: Syntax error
┌─ /home/j3rn/Code/gleam-lang/cowboy/main/build/packages/gleam_stdlib/src/gleam/list.gleam:667:23
│
667 │ try accumulator = fun(accumulator, first)
│ ^ There must be a 'let' to bind variable to value
Hint: Use let for binding
See: https://gleam.run/book/tour/let-bindings
I'm hoping to resolve this now, but in the event I don't, figured I'd let folks know :grin:
This project currently does not support the latest Gleam versions because it contains the deprecated (and now removed)
try
syntax. Project compilation fails with this error:I'm hoping to resolve this now, but in the event I don't, figured I'd let folks know :grin: