team-balloonicorn/puck

Update to current Gleam

Closed this issue · 3 comments

etnt commented

I cloned puck, then:

$ gleam build
Compiling nakai
error: Unlabelled argument after labelled argument
┌─ build/packages/nakai/src/nakai.gleam:43:54

43 │ pub fn render_with_doctype(doctype doctype: Doctype, root: Node(a)) -> String {
│ ^^^^^^^^^^^^^

All unlabelled arguments must come before any labelled arguments.

Any ideas what to do?

lpil commented

Hi there! This project is currently running on Gleam 0.26.1, it will need updating for later versions of Gleam.

This could be done by running gleam fix && gleam update, if that's something you would be interested in doing :)

etnt commented

Thanks, issue solved!

lpil commented

Did you want to make a PR? 🙏