gleam-lang / cowboy

🤠 A Gleam HTTP service adapter for the Cowboy web server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support Gleam v0.28.0

J3RN opened this issue · comments

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 😁