Skip to content

Error when building file #348

@BigGreenHat14

Description

@BigGreenHat14

File:
while true {
1g.move(0, 10, 0.5)
1g.move(10, 0, 0.5)
1g.move(-10, 0, 0.5)
1g.move(0, -10, 0.5)
}
Error:
Parsing ...
Building script ...
———————————————————————————

Error: Syntax error
╭─[../test.spwn:1:1]

1 │ ╭─▶ while true {
6 │ ├─▶ }
· │
· ╰─────── 1: Error when running this library/module

├─[/home/bgh/Downloads/spwn/libraries/std/lib.spwn:2:17]

2 │ let constants = import "constants.spwn"
· ───────────┬───────────
· ╰───────────── 2: Error when parsing this library/module

├─[/home/bgh/Downloads/spwn/libraries/std/constants.spwn:4:1]

4 │ type @Comparison
· ──┬─
· ╰─── 3: Expected a value, found keyword: "type"
───╯

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions