Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Gleam v0.28.0 #17

Open
J3RN opened this issue Jun 14, 2023 · 0 comments
Open

Support Gleam v0.28.0 #17

J3RN opened this issue Jun 14, 2023 · 0 comments

Comments

@J3RN
Copy link
Member

J3RN commented Jun 14, 2023

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 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant