error: Syntax error gun.gleam
Nobody has claimed this yet.
- Dominant language
- Gleam
- Stars
- 17
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with build/packages/nerf/src/nerf/gun.gleam at line 10 and compare the reported syntax error with the project dependencies and Gleam 0.33.0. Reproduce the failure using the versions listed in the issue; done means the dependency can be compiled without this syntax error and the relevant behavior remains covered.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100