mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-23 08:48:03 +00:00
47 lines
659 B
Markdown
47 lines
659 B
Markdown
# META
|
|
~~~ini
|
|
description=Expected an open bracket for the header
|
|
type=file
|
|
~~~
|
|
# SOURCE
|
|
~~~roc
|
|
module
|
|
~~~
|
|
# EXPECTED
|
|
PARSE ERROR - header_expected_open_bracket.md:2:1:2:1
|
|
# PROBLEMS
|
|
**PARSE ERROR**
|
|
A parsing error occurred: `header_expected_open_square`
|
|
This is an unexpected parsing error. Please check your syntax.
|
|
|
|
**header_expected_open_bracket.md:2:1:2:1:**
|
|
```roc
|
|
|
|
```
|
|
^
|
|
|
|
|
|
# TOKENS
|
|
~~~zig
|
|
KwModule,
|
|
EndOfFile,
|
|
~~~
|
|
# PARSE
|
|
~~~clojure
|
|
(file
|
|
(malformed-header (tag "header_expected_open_square"))
|
|
(statements))
|
|
~~~
|
|
# FORMATTED
|
|
~~~roc
|
|
~~~
|
|
# CANONICALIZE
|
|
~~~clojure
|
|
(can-ir (empty true))
|
|
~~~
|
|
# TYPES
|
|
~~~clojure
|
|
(inferred-types
|
|
(defs)
|
|
(expressions))
|
|
~~~
|