lpil / nerf

Gleam bindings to gun, the Erlang HTTP/1.1, HTTP/2 and Websocket client
17 stars 10 forks source link

error: Syntax error gun.gleam #9

Open rockerBOO opened 9 months ago

rockerBOO commented 9 months ago

Not quite sure what is happening in this error to come up with a fix.

gleam --version
gleam 0.33.0
[dependencies]
gleam_stdlib = "~> 0.32"
nerf = "~> 0.4"

[dev-dependencies]
gleeunit = "~> 1.0"
error: Syntax error
   ┌─ /home/rockerboo/code/twitch_chatbot/build/packages/nerf/src/nerf/gun.gleam:10:1
   │
10 │ pub external type StreamReference
   │ ^^^ I was not expecting this.

Expected one of:
An import, const, type, if block, or function.

Thanks.

rockerBOO commented 9 months ago

Oh #8 looks to be fixing this