mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 20:28:02 +00:00
Update snapshots
This commit is contained in:
parent
8336ff0892
commit
182ec0bdaf
241 changed files with 480 additions and 0 deletions
2
src/snapshots/001.md
generated
2
src/snapshots/001.md
generated
|
@ -16,6 +16,8 @@ foo =
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwModule(1:1-1:7),OpenSquare(1:12-1:13),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/add_var_with_spaces.md
generated
2
src/snapshots/add_var_with_spaces.md
generated
|
@ -14,6 +14,8 @@ add2 = x + 2
|
|||
Nothing is named `x` in this scope.
|
||||
Is there an `import` or `exposing` missing up-top?
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwModule(1:1-1:7),OpenSquare(1:8-1:9),LowerIdent(1:9-1:13),CloseSquare(1:13-1:14),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/app_header__nonempty_multiline.md
generated
2
src/snapshots/app_header__nonempty_multiline.md
generated
|
@ -11,6 +11,8 @@ app # This comment is here
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwApp(1:1-1:4),Newline(1:6-1:27),
|
||||
|
|
|
@ -16,6 +16,8 @@ app # Comment after keyword
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwApp(1:1-1:4),Newline(1:6-1:28),
|
||||
|
|
|
@ -11,6 +11,8 @@ app
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwApp(1:1-1:4),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/app_header__platform_not_first.md
generated
2
src/snapshots/app_header__platform_not_first.md
generated
|
@ -11,6 +11,8 @@ app
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwApp(1:1-1:4),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/app_header_nonempty_singleline.md
generated
2
src/snapshots/app_header_nonempty_singleline.md
generated
|
@ -9,6 +9,8 @@ app [main!] { pf: platform "../main.roc", other: "../../other/main.roc" }
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwApp(1:1-1:4),OpenSquare(1:5-1:6),LowerIdent(1:6-1:11),CloseSquare(1:11-1:12),OpenCurly(1:13-1:14),LowerIdent(1:15-1:17),OpColon(1:17-1:18),KwPlatform(1:19-1:27),StringStart(1:28-1:29),StringPart(1:29-1:40),StringEnd(1:40-1:41),Comma(1:41-1:42),LowerIdent(1:43-1:48),OpColon(1:48-1:49),StringStart(1:50-1:51),StringPart(1:51-1:71),StringEnd(1:71-1:72),CloseCurly(1:73-1:74),EndOfFile(1:74-1:74),
|
||||
|
|
|
@ -12,6 +12,8 @@ Err(foo)??12>5*5 or 13+2<5 and 10-1>=16 or 12<=3/5
|
|||
Nothing is named `foo` in this scope.
|
||||
Is there an `import` or `exposing` missing up-top?
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
UpperIdent(1:1-1:4),NoSpaceOpenRound(1:4-1:5),LowerIdent(1:5-1:8),CloseRound(1:8-1:9),OpDoubleQuestion(1:9-1:11),Int(1:11-1:13),OpGreaterThan(1:13-1:14),Int(1:14-1:15),OpStar(1:15-1:16),Int(1:16-1:17),OpOr(1:18-1:20),Int(1:21-1:23),OpPlus(1:23-1:24),Int(1:24-1:25),OpLessThan(1:25-1:26),Int(1:26-1:27),OpAnd(1:28-1:31),Int(1:32-1:34),OpBinaryMinus(1:34-1:35),Int(1:35-1:36),OpGreaterThanOrEq(1:36-1:38),Int(1:38-1:40),OpOr(1:41-1:43),Int(1:44-1:46),OpLessThanOrEq(1:46-1:48),Int(1:48-1:49),OpSlash(1:49-1:50),Int(1:50-1:51),EndOfFile(1:51-1:51),
|
||||
|
|
2
src/snapshots/binop_omnibus__singleline.md
generated
2
src/snapshots/binop_omnibus__singleline.md
generated
|
@ -12,6 +12,8 @@ Err(foo) ?? 12 > 5 * 5 or 13 + 2 < 5 and 10 - 1 >= 16 or 12 <= 3 / 5
|
|||
Nothing is named `foo` in this scope.
|
||||
Is there an `import` or `exposing` missing up-top?
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
UpperIdent(1:1-1:4),NoSpaceOpenRound(1:4-1:5),LowerIdent(1:5-1:8),CloseRound(1:8-1:9),OpDoubleQuestion(1:10-1:12),Int(1:13-1:15),OpGreaterThan(1:16-1:17),Int(1:18-1:19),OpStar(1:20-1:21),Int(1:22-1:23),OpOr(1:24-1:26),Int(1:27-1:29),OpPlus(1:30-1:31),Int(1:32-1:33),OpLessThan(1:34-1:35),Int(1:36-1:37),OpAnd(1:38-1:41),Int(1:42-1:44),OpBinaryMinus(1:45-1:46),Int(1:47-1:48),OpGreaterThanOrEq(1:49-1:51),Int(1:52-1:54),OpOr(1:55-1:57),Int(1:58-1:60),OpLessThanOrEq(1:61-1:63),Int(1:64-1:65),OpSlash(1:66-1:67),Int(1:68-1:69),EndOfFile(1:69-1:69),
|
||||
|
|
2
src/snapshots/binops.md
generated
2
src/snapshots/binops.md
generated
|
@ -25,6 +25,8 @@ type=expr
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
OpenRound(1:1-1:2),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/can_basic_scoping.md
generated
2
src/snapshots/can_basic_scoping.md
generated
|
@ -39,6 +39,8 @@ x = 5
|
|||
```
|
||||
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwModule(1:1-1:7),OpenSquare(1:8-1:9),CloseSquare(1:9-1:10),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/can_dot_access.md
generated
2
src/snapshots/can_dot_access.md
generated
|
@ -16,6 +16,8 @@ Is there an `import` or `exposing` missing up-top?
|
|||
Nothing is named `fn` in this scope.
|
||||
Is there an `import` or `exposing` missing up-top?
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
LowerIdent(1:1-1:5),NoSpaceDotLowerIdent(1:5-1:9),NoSpaceOpenRound(1:9-1:10),LowerIdent(1:10-1:12),CloseRound(1:12-1:13),EndOfFile(1:13-1:13),
|
||||
|
|
2
src/snapshots/can_dot_access_with_vars.md
generated
2
src/snapshots/can_dot_access_with_vars.md
generated
|
@ -13,6 +13,8 @@ type=expr
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
OpenCurly(1:1-1:2),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/can_import_comprehensive.md
generated
2
src/snapshots/can_import_comprehensive.md
generated
|
@ -43,6 +43,8 @@ main = {
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwModule(1:1-1:7),OpenSquare(1:8-1:9),CloseSquare(1:9-1:10),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/can_import_json.md
generated
2
src/snapshots/can_import_json.md
generated
|
@ -13,6 +13,8 @@ main = Json.utf8
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwModule(1:1-1:7),OpenSquare(1:8-1:9),CloseSquare(1:9-1:10),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/can_import_with_alias.md
generated
2
src/snapshots/can_import_with_alias.md
generated
|
@ -13,6 +13,8 @@ main = MyJson.decode
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwModule(1:1-1:7),OpenSquare(1:8-1:9),CloseSquare(1:9-1:10),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/can_two_decls.md
generated
2
src/snapshots/can_two_decls.md
generated
|
@ -12,6 +12,8 @@ b = a + 1
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwApp(1:1-1:4),OpenSquare(1:5-1:6),LowerIdent(1:6-1:11),CloseSquare(1:11-1:12),OpenCurly(1:13-1:14),LowerIdent(1:15-1:17),OpColon(1:17-1:18),KwPlatform(1:19-1:27),StringStart(1:28-1:29),StringPart(1:29-1:54),StringEnd(1:54-1:55),CloseCurly(1:56-1:57),Newline(1:1-1:1),
|
||||
|
|
|
@ -22,6 +22,8 @@ var topLevelVar_ = 0
|
|||
```
|
||||
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwModule(1:1-1:7),OpenSquare(1:8-1:9),CloseSquare(1:9-1:10),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/can_var_scoping_regular_var.md
generated
2
src/snapshots/can_var_scoping_regular_var.md
generated
|
@ -50,6 +50,8 @@ processItems = |items| {
|
|||
```
|
||||
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwModule(1:1-1:7),OpenSquare(1:8-1:9),CloseSquare(1:9-1:10),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/can_var_scoping_var_idents.md
generated
2
src/snapshots/can_var_scoping_var_idents.md
generated
|
@ -18,6 +18,8 @@ testFunc = |input| {
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwModule(1:1-1:7),OpenSquare(1:8-1:9),CloseSquare(1:9-1:10),Newline(1:1-1:1),
|
||||
|
|
|
@ -51,6 +51,8 @@ The unused variable is declared here:
|
|||
**NOT IMPLEMENTED**
|
||||
This feature is not yet implemented: canonicalize record expression
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwModule(1:1-1:7),OpenSquare(1:8-1:9),CloseSquare(1:9-1:10),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/crash_and_ellipsis_test.md
generated
2
src/snapshots/crash_and_ellipsis_test.md
generated
|
@ -92,6 +92,8 @@ Only definitions, type annotations, and imports are allowed at the top level.
|
|||
The statement **expr** is not allowed at the top level.
|
||||
Only definitions, type annotations, and imports are allowed at the top level.
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwApp(1:1-1:4),OpenSquare(1:5-1:6),LowerIdent(1:6-1:11),CloseSquare(1:11-1:12),OpenCurly(1:13-1:14),LowerIdent(1:15-1:17),OpColon(1:17-1:18),KwPlatform(1:19-1:27),StringStart(1:28-1:29),StringPart(1:29-1:54),StringEnd(1:54-1:55),CloseCurly(1:56-1:57),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/exposed_items_test.md
generated
2
src/snapshots/exposed_items_test.md
generated
|
@ -13,6 +13,8 @@ main = 42
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwModule(1:1-1:7),OpenSquare(1:8-1:9),LowerIdent(1:9-1:13),CloseSquare(1:13-1:14),Newline(1:1-1:1),
|
||||
|
|
|
@ -12,6 +12,8 @@ foo(42, "hello")
|
|||
Nothing is named `foo` in this scope.
|
||||
Is there an `import` or `exposing` missing up-top?
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
LowerIdent(1:1-1:4),NoSpaceOpenRound(1:4-1:5),Int(1:5-1:7),Comma(1:7-1:8),StringStart(1:9-1:10),StringPart(1:10-1:15),StringEnd(1:15-1:16),CloseRound(1:16-1:17),EndOfFile(1:17-1:17),
|
||||
|
|
|
@ -9,6 +9,8 @@ type=expr
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
Int(1:1-1:2),OpPlus(1:3-1:4),Int(1:5-1:6),EndOfFile(1:6-1:6),
|
||||
|
|
|
@ -13,6 +13,8 @@ type=expr
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
OpenCurly(1:1-1:2),Newline(1:1-1:1),
|
||||
|
|
|
@ -11,6 +11,8 @@ dbg x
|
|||
**NOT IMPLEMENTED**
|
||||
This feature is not yet implemented: canonicalize dbg expression
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwDbg(1:1-1:4),LowerIdent(1:5-1:6),EndOfFile(1:6-1:6),
|
||||
|
|
|
@ -12,6 +12,8 @@ person.name
|
|||
Nothing is named `person` in this scope.
|
||||
Is there an `import` or `exposing` missing up-top?
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
LowerIdent(1:1-1:7),NoSpaceDotLowerIdent(1:7-1:12),EndOfFile(1:12-1:12),
|
||||
|
|
|
@ -19,6 +19,8 @@ Here is the problematic code:
|
|||
```
|
||||
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
Float(1:1-1:5),NoSpaceDotInt(1:5-1:8),EndOfFile(1:8-1:8),
|
||||
|
|
|
@ -9,6 +9,8 @@ type=expr
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
Float(1:1-1:5),EndOfFile(1:5-1:5),
|
||||
|
|
|
@ -9,6 +9,8 @@ type=expr
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
Float(1:1-1:8),EndOfFile(1:8-1:8),
|
||||
|
|
|
@ -9,6 +9,8 @@ type=expr
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
Float(1:1-1:5),EndOfFile(1:5-1:5),
|
||||
|
|
|
@ -9,6 +9,8 @@ type=expr
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
Int(1:1-1:5),EndOfFile(1:5-1:5),
|
||||
|
|
|
@ -9,6 +9,8 @@ type=expr
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
Int(1:1-1:31),EndOfFile(1:31-1:31),
|
||||
|
|
|
@ -9,6 +9,8 @@ type=expr
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
Int(1:1-1:10),EndOfFile(1:10-1:10),
|
||||
|
|
|
@ -9,6 +9,8 @@ type=expr
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
OpBar(1:1-1:2),LowerIdent(1:2-1:3),OpBar(1:3-1:4),LowerIdent(1:5-1:6),OpPlus(1:7-1:8),Int(1:9-1:10),EndOfFile(1:10-1:10),
|
||||
|
|
|
@ -9,6 +9,8 @@ type=expr
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
OpenSquare(1:1-1:2),CloseSquare(1:2-1:3),EndOfFile(1:3-1:3),
|
||||
|
|
|
@ -9,6 +9,8 @@ type=expr
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
OpenSquare(1:1-1:2),Int(1:2-1:3),Comma(1:3-1:4),Int(1:5-1:6),Comma(1:6-1:7),Int(1:8-1:9),CloseSquare(1:9-1:10),EndOfFile(1:10-1:10),
|
||||
|
|
|
@ -9,6 +9,8 @@ type=expr
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
OpenSquare(1:1-1:2),OpenSquare(1:2-1:3),Int(1:3-1:4),Comma(1:4-1:5),Int(1:6-1:7),CloseSquare(1:7-1:8),Comma(1:8-1:9),OpenSquare(1:10-1:11),Int(1:11-1:12),Comma(1:12-1:13),Int(1:14-1:15),CloseSquare(1:15-1:16),Comma(1:16-1:17),OpenSquare(1:18-1:19),Int(1:19-1:20),CloseSquare(1:20-1:21),CloseSquare(1:21-1:22),EndOfFile(1:22-1:22),
|
||||
|
|
|
@ -21,6 +21,8 @@ It is of type:
|
|||
But you are trying to use it as:
|
||||
_Num(Int(*))_
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
OpenSquare(1:1-1:2),Int(1:2-1:3),Comma(1:3-1:4),Int(1:5-1:6),Comma(1:6-1:7),StringStart(1:8-1:9),StringPart(1:9-1:14),StringEnd(1:14-1:15),CloseSquare(1:15-1:16),EndOfFile(1:16-1:16),
|
||||
|
|
|
@ -37,6 +37,8 @@ Is there an `import` or `exposing` missing up-top?
|
|||
**MALFORMED TYPE**
|
||||
This type annotation is malformed or contains invalid syntax.
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
OpenCurly(1:1-1:2),LowerIdent(1:3-1:9),OpAmpersand(1:10-1:11),LowerIdent(1:12-1:15),OpColon(1:15-1:16),Int(1:17-1:19),CloseCurly(1:20-1:21),EndOfFile(1:21-1:21),
|
||||
|
|
|
@ -11,6 +11,8 @@ type=expr
|
|||
**NOT IMPLEMENTED**
|
||||
This feature is not yet implemented: canonicalize record expression
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
OpenCurly(1:1-1:2),LowerIdent(1:3-1:7),OpColon(1:7-1:8),StringStart(1:9-1:10),StringPart(1:10-1:15),StringEnd(1:15-1:16),Comma(1:16-1:17),LowerIdent(1:18-1:21),OpColon(1:21-1:22),Int(1:23-1:25),CloseCurly(1:26-1:27),EndOfFile(1:27-1:27),
|
||||
|
|
|
@ -9,6 +9,8 @@ type=expr
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
StringStart(1:1-1:2),StringPart(1:2-1:2),StringEnd(1:2-1:3),EndOfFile(1:3-1:3),
|
||||
|
|
|
@ -12,6 +12,8 @@ type=expr
|
|||
Nothing is named `name` in this scope.
|
||||
Is there an `import` or `exposing` missing up-top?
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
StringStart(1:1-1:2),StringPart(1:2-1:8),OpenStringInterpolation(1:8-1:10),LowerIdent(1:10-1:14),CloseStringInterpolation(1:14-1:15),StringPart(1:15-1:16),StringEnd(1:16-1:17),EndOfFile(1:17-1:17),
|
||||
|
|
|
@ -9,6 +9,8 @@ type=expr
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
StringStart(1:1-1:2),StringPart(1:2-1:13),StringEnd(1:13-1:14),EndOfFile(1:14-1:14),
|
||||
|
|
|
@ -9,6 +9,8 @@ Ok
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
UpperIdent(1:1-1:3),EndOfFile(1:3-1:3),
|
||||
|
|
|
@ -9,6 +9,8 @@ Some(42)
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
UpperIdent(1:1-1:5),NoSpaceOpenRound(1:5-1:6),Int(1:6-1:8),CloseRound(1:8-1:9),EndOfFile(1:9-1:9),
|
||||
|
|
|
@ -9,6 +9,8 @@ type=expr
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
OpenRound(1:1-1:2),Int(1:2-1:3),Comma(1:3-1:4),StringStart(1:5-1:6),StringPart(1:6-1:11),StringEnd(1:11-1:12),Comma(1:12-1:13),UpperIdent(1:14-1:18),CloseRound(1:18-1:19),EndOfFile(1:19-1:19),
|
||||
|
|
|
@ -106,6 +106,8 @@ The unused variable is declared here:
|
|||
```
|
||||
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
OpenCurly(1:1-1:2),Newline(1:1-1:1),
|
||||
|
|
|
@ -140,6 +140,8 @@ Is there an `import` or `exposing` missing up-top?
|
|||
**NOT IMPLEMENTED**
|
||||
This feature is not yet implemented: canonicalize record expression
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
OpenCurly(1:1-1:2),Newline(1:1-1:1),
|
||||
|
|
|
@ -19,6 +19,8 @@ Here is the problematic code:
|
|||
```
|
||||
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
OpBang(1:1-1:2),LowerIdent(1:2-1:9),EndOfFile(1:9-1:9),
|
||||
|
|
|
@ -23,6 +23,8 @@ Here is the problematic code:
|
|||
This looks like an operator, but it's not one I recognize!
|
||||
Check the spelling and make sure you're using a valid Roc operator.
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
Int(1:1-1:2),OpPlus(1:3-1:4),OpPlus(1:4-1:5),Int(1:6-1:7),EndOfFile(1:7-1:7),
|
||||
|
|
|
@ -14,6 +14,8 @@ when x is
|
|||
Nothing is named `when` in this scope.
|
||||
Is there an `import` or `exposing` missing up-top?
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
LowerIdent(1:1-1:5),LowerIdent(1:6-1:7),LowerIdent(1:8-1:10),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/expr_ident_simple.md
generated
2
src/snapshots/expr_ident_simple.md
generated
|
@ -12,6 +12,8 @@ foo
|
|||
Nothing is named `foo` in this scope.
|
||||
Is there an `import` or `exposing` missing up-top?
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
LowerIdent(1:1-1:4),EndOfFile(1:4-1:4),
|
||||
|
|
2
src/snapshots/expr_if_missing_else.md
generated
2
src/snapshots/expr_if_missing_else.md
generated
|
@ -25,6 +25,8 @@ foo = if tru then 0
|
|||
This looks like an operator, but it's not one I recognize!
|
||||
Check the spelling and make sure you're using a valid Roc operator.
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwModule(1:1-1:7),OpenSquare(1:8-1:9),CloseSquare(1:9-1:10),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/expr_int_invalid.md
generated
2
src/snapshots/expr_int_invalid.md
generated
|
@ -11,6 +11,8 @@ type=expr
|
|||
**INVALID NUMBER**
|
||||
This number literal is not valid: 99999999999999999999999999999999999999999
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
Int(1:1-1:42),EndOfFile(1:42-1:42),
|
||||
|
|
2
src/snapshots/expr_int_negative.md
generated
2
src/snapshots/expr_int_negative.md
generated
|
@ -9,6 +9,8 @@ type=expr
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
Int(1:1-1:5),EndOfFile(1:5-1:5),
|
||||
|
|
2
src/snapshots/expr_int_simple.md
generated
2
src/snapshots/expr_int_simple.md
generated
|
@ -9,6 +9,8 @@ type=expr
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
Int(1:1-1:3),EndOfFile(1:3-1:3),
|
||||
|
|
2
src/snapshots/expr_no_space_dot_int.md
generated
2
src/snapshots/expr_no_space_dot_int.md
generated
|
@ -25,6 +25,8 @@ foo = asd.0
|
|||
This looks like an operator, but it's not one I recognize!
|
||||
Check the spelling and make sure you're using a valid Roc operator.
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwModule(1:1-1:7),OpenSquare(1:8-1:9),CloseSquare(1:9-1:10),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/external_decl_lookup.md
generated
2
src/snapshots/external_decl_lookup.md
generated
|
@ -18,6 +18,8 @@ main! = |_| {
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwApp(1:1-1:4),OpenSquare(1:5-1:6),LowerIdent(1:6-1:11),CloseSquare(1:11-1:12),OpenCurly(1:13-1:14),LowerIdent(1:15-1:17),OpColon(1:17-1:18),KwPlatform(1:19-1:27),StringStart(1:28-1:29),StringPart(1:29-1:54),StringEnd(1:54-1:55),CloseCurly(1:56-1:57),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/external_lookup_expr.md
generated
2
src/snapshots/external_lookup_expr.md
generated
|
@ -12,6 +12,8 @@ Json.utf8
|
|||
Nothing is named `utf8` in this scope.
|
||||
Is there an `import` or `exposing` missing up-top?
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
UpperIdent(1:1-1:5),NoSpaceDotLowerIdent(1:5-1:10),EndOfFile(1:10-1:10),
|
||||
|
|
|
@ -49,6 +49,8 @@ mo|%
|
|||
The statement **expr** is not allowed at the top level.
|
||||
Only definitions, type annotations, and imports are allowed at the top level.
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
LowerIdent(1:1-1:3),OpBar(1:3-1:4),OpPercent(1:4-1:5),EndOfFile(1:5-1:5),
|
||||
|
|
|
@ -294,6 +294,8 @@ Only definitions, type annotations, and imports are allowed at the top level.
|
|||
The statement **expr** is not allowed at the top level.
|
||||
Only definitions, type annotations, and imports are allowed at the top level.
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
LowerIdent(1:1-1:5),OpColon(1:5-1:6),MalformedUnknownToken(1:6-1:7),OpColon(1:7-1:8),OpColon(1:8-1:9),OpColon(1:9-1:10),OpColon(1:10-1:11),OpColon(1:11-1:12),OpColon(1:12-1:13),OpColon(1:13-1:14),OpColon(1:14-1:15),OpColon(1:15-1:16),OpColon(1:16-1:17),OpColon(1:17-1:18),OpColon(1:18-1:19),OpColon(1:19-1:20),OpColon(1:20-1:21),LowerIdent(1:21-1:23),OpenSquare(1:23-1:24),OpPercent(1:24-1:25),EndOfFile(1:25-1:25),
|
||||
|
|
|
@ -30,6 +30,8 @@ Here is the problematic code:
|
|||
The statement **expr** is not allowed at the top level.
|
||||
Only definitions, type annotations, and imports are allowed at the top level.
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
OpAssign(1:1-1:2),StringStart(1:3-1:4),StringPart(1:4-1:6),EndOfFile(1:6-1:6),
|
||||
|
|
|
@ -23,6 +23,8 @@ F
|
|||
```
|
||||
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
UpperIdent(1:1-1:2),EndOfFile(1:2-1:2),
|
||||
|
|
|
@ -23,6 +23,8 @@ modu
|
|||
```
|
||||
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
LowerIdent(1:1-1:5),EndOfFile(1:5-1:5),
|
||||
|
|
Binary file not shown.
|
@ -53,6 +53,8 @@ Only definitions, type annotations, and imports are allowed at the top level.
|
|||
The statement **expr** is not allowed at the top level.
|
||||
Only definitions, type annotations, and imports are allowed at the top level.
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
LowerIdent(1:1-1:4),NoSpaceDotInt(1:4-1:6),NoSpaceDotLowerIdent(1:6-1:8),EndOfFile(1:8-1:8),
|
||||
|
|
|
@ -41,6 +41,8 @@ Here is the problematic code:
|
|||
The statement **expr** is not allowed at the top level.
|
||||
Only definitions, type annotations, and imports are allowed at the top level.
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
OpBar(1:1-1:2),OpBar(1:3-1:4),Int(1:4-1:5),EndOfFile(1:5-1:5),
|
||||
|
|
|
@ -38,6 +38,8 @@ Here is the problematic code:
|
|||
The statement **expr** is not allowed at the top level.
|
||||
Only definitions, type annotations, and imports are allowed at the top level.
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
LowerIdent(1:2-1:3),OpenCurly(1:3-1:4),LowerIdent(1:4-1:5),Comma(1:5-1:6),Newline(1:1-1:1),
|
||||
|
|
|
@ -40,6 +40,8 @@ H{o,
|
|||
The statement **expr** is not allowed at the top level.
|
||||
Only definitions, type annotations, and imports are allowed at the top level.
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
UpperIdent(1:1-1:2),OpenCurly(1:2-1:3),LowerIdent(1:3-1:4),Comma(1:4-1:5),Newline(1:1-1:1),
|
||||
|
|
|
@ -45,6 +45,8 @@ module P]F
|
|||
```
|
||||
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwModule(1:1-1:7),UpperIdent(1:8-1:9),UpperIdent(1:10-1:11),EndOfFile(1:11-1:11),
|
||||
|
|
|
@ -60,6 +60,8 @@ Here is the problematic code:
|
|||
The statement **expr** is not allowed at the top level.
|
||||
Only definitions, type annotations, and imports are allowed at the top level.
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
OpBar(1:1-1:2),OpBar(1:2-1:3),NoSpaceOpenRound(1:3-1:4),OpBar(1:4-1:5),NoSpaceOpenRound(1:5-1:6),LowerIdent(1:6-1:16),OpBar(1:16-1:17),EndOfFile(1:17-1:17),
|
||||
|
|
|
@ -27,6 +27,8 @@ Here is the problematic code:
|
|||
The statement **expr** is not allowed at the top level.
|
||||
Only definitions, type annotations, and imports are allowed at the top level.
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
Int(1:1-1:2),OpenCurly(1:2-1:3),EndOfFile(1:3-1:3),
|
||||
|
|
|
@ -70,6 +70,8 @@ Only definitions, type annotations, and imports are allowed at the top level.
|
|||
The statement **expr** is not allowed at the top level.
|
||||
Only definitions, type annotations, and imports are allowed at the top level.
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
MalformedNumberNoDigits(1:1-1:3),NoSpaceDotInt(1:3-1:5),Newline(1:1-1:1),
|
||||
|
|
|
@ -67,6 +67,8 @@ Only definitions, type annotations, and imports are allowed at the top level.
|
|||
The statement **expr** is not allowed at the top level.
|
||||
Only definitions, type annotations, and imports are allowed at the top level.
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
Int(1:1-1:4),NoSpaceDotInt(1:4-1:6),Newline(1:1-1:1),
|
||||
|
|
|
@ -38,6 +38,8 @@ Here is the problematic code:
|
|||
The statement **expr** is not allowed at the top level.
|
||||
Only definitions, type annotations, and imports are allowed at the top level.
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
Int(1:1-1:2),OpBar(1:2-1:3),EndOfFile(1:3-1:3),
|
||||
|
|
|
@ -58,6 +58,8 @@ Only definitions, type annotations, and imports are allowed at the top level.
|
|||
This looks like an operator, but it's not one I recognize!
|
||||
Check the spelling and make sure you're using a valid Roc operator.
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
LowerIdent(1:1-1:3),OpAssign(1:4-1:5),StringStart(1:6-1:7),StringPart(1:7-1:10),StringEnd(1:10-1:11),Newline(1:1-1:1),
|
||||
|
|
|
@ -24,6 +24,8 @@ Here is the problematic code:
|
|||
```
|
||||
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
Int(1:1-1:2),LowerIdent(1:3-1:4),OpColon(1:4-1:5),UpperIdent(1:5-1:6),Newline(1:1-1:1),
|
||||
|
|
|
@ -38,6 +38,8 @@ Here is the problematic code:
|
|||
The statement **expr** is not allowed at the top level.
|
||||
Only definitions, type annotations, and imports are allowed at the top level.
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
Int(1:1-1:2),OpenRound(1:3-1:4),EndOfFile(1:4-1:4),
|
||||
|
|
2
src/snapshots/header_expected_open_bracket.md
generated
2
src/snapshots/header_expected_open_bracket.md
generated
|
@ -19,6 +19,8 @@ module
|
|||
```
|
||||
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwModule(1:1-1:7),EndOfFile(1:7-1:7),
|
||||
|
|
2
src/snapshots/hello_world.md
generated
2
src/snapshots/hello_world.md
generated
|
@ -13,6 +13,8 @@ main! = |_| Stdout.line!("Hello, world!")
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwApp(1:1-1:4),OpenSquare(1:5-1:6),LowerIdent(1:6-1:11),CloseSquare(1:11-1:12),OpenCurly(1:13-1:14),LowerIdent(1:15-1:17),OpColon(1:17-1:18),KwPlatform(1:19-1:27),StringStart(1:28-1:29),StringPart(1:29-1:54),StringEnd(1:54-1:55),CloseCurly(1:56-1:57),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/hello_world_with_block.md
generated
2
src/snapshots/hello_world_with_block.md
generated
|
@ -30,6 +30,8 @@ The unused variable is declared here:
|
|||
```
|
||||
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
Newline(1:2-1:15),
|
||||
|
|
2
src/snapshots/if_then_else.md
generated
2
src/snapshots/if_then_else.md
generated
|
@ -18,6 +18,8 @@ foo = if true A
|
|||
Nothing is named `true` in this scope.
|
||||
Is there an `import` or `exposing` missing up-top?
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwModule(1:1-1:7),OpenSquare(1:8-1:9),LowerIdent(1:9-1:12),CloseSquare(1:12-1:13),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/if_then_else_1.md
generated
2
src/snapshots/if_then_else_1.md
generated
|
@ -12,6 +12,8 @@ if bool 1 else 2
|
|||
Nothing is named `bool` in this scope.
|
||||
Is there an `import` or `exposing` missing up-top?
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwIf(1:1-1:3),LowerIdent(1:4-1:8),Int(1:9-1:10),KwElse(1:11-1:15),Int(1:16-1:17),EndOfFile(1:17-1:17),
|
||||
|
|
2
src/snapshots/if_then_else_11.md
generated
2
src/snapshots/if_then_else_11.md
generated
|
@ -18,6 +18,8 @@ if # Comment after if
|
|||
Nothing is named `bool` in this scope.
|
||||
Is there an `import` or `exposing` missing up-top?
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwIf(1:1-1:3),Newline(1:5-1:22),
|
||||
|
|
2
src/snapshots/if_then_else_13.md
generated
2
src/snapshots/if_then_else_13.md
generated
|
@ -18,6 +18,8 @@ if # Comment after if
|
|||
Nothing is named `bool` in this scope.
|
||||
Is there an `import` or `exposing` missing up-top?
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwIf(1:1-1:3),Newline(1:5-1:22),
|
||||
|
|
2
src/snapshots/if_then_else_15.md
generated
2
src/snapshots/if_then_else_15.md
generated
|
@ -20,6 +20,8 @@ if # Comment after if
|
|||
Nothing is named `bool` in this scope.
|
||||
Is there an `import` or `exposing` missing up-top?
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwIf(1:1-1:3),Newline(1:5-1:22),
|
||||
|
|
2
src/snapshots/if_then_else_3.md
generated
2
src/snapshots/if_then_else_3.md
generated
|
@ -14,6 +14,8 @@ if bool {
|
|||
Nothing is named `bool` in this scope.
|
||||
Is there an `import` or `exposing` missing up-top?
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwIf(1:1-1:3),LowerIdent(1:4-1:8),OpenCurly(1:9-1:10),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/if_then_else_5.md
generated
2
src/snapshots/if_then_else_5.md
generated
|
@ -14,6 +14,8 @@ if bool { # Comment after then open
|
|||
Nothing is named `bool` in this scope.
|
||||
Is there an `import` or `exposing` missing up-top?
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwIf(1:1-1:3),LowerIdent(1:4-1:8),OpenCurly(1:9-1:10),Newline(1:12-1:36),
|
||||
|
|
2
src/snapshots/if_then_else_7.md
generated
2
src/snapshots/if_then_else_7.md
generated
|
@ -16,6 +16,8 @@ if bool {
|
|||
Nothing is named `bool` in this scope.
|
||||
Is there an `import` or `exposing` missing up-top?
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwIf(1:1-1:3),LowerIdent(1:4-1:8),OpenCurly(1:9-1:10),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/if_then_else_9.md
generated
2
src/snapshots/if_then_else_9.md
generated
|
@ -16,6 +16,8 @@ if bool {
|
|||
Nothing is named `bool` in this scope.
|
||||
Is there an `import` or `exposing` missing up-top?
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwIf(1:1-1:3),LowerIdent(1:4-1:8),OpenCurly(1:9-1:10),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/if_then_else_if_chain.md
generated
2
src/snapshots/if_then_else_if_chain.md
generated
|
@ -21,6 +21,8 @@ checkNumber = |num| {
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwModule(1:1-1:7),OpenSquare(1:8-1:9),LowerIdent(1:9-1:20),CloseSquare(1:20-1:21),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/import_exposing_alias.md
generated
2
src/snapshots/import_exposing_alias.md
generated
|
@ -20,6 +20,8 @@ main = {
|
|||
**NOT IMPLEMENTED**
|
||||
This feature is not yet implemented: canonicalize record expression
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwModule(1:1-1:7),OpenSquare(1:8-1:9),LowerIdent(1:9-1:13),CloseSquare(1:13-1:14),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/import_exposing_basic.md
generated
2
src/snapshots/import_exposing_basic.md
generated
|
@ -20,6 +20,8 @@ main = {
|
|||
**NOT IMPLEMENTED**
|
||||
This feature is not yet implemented: canonicalize record expression
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwModule(1:1-1:7),OpenSquare(1:8-1:9),LowerIdent(1:9-1:13),CloseSquare(1:13-1:14),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/lambda_parameter_unused.md
generated
2
src/snapshots/lambda_parameter_unused.md
generated
|
@ -54,6 +54,8 @@ multiply = |_factor| _factor * 2
|
|||
```
|
||||
|
||||
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwApp(1:1-1:4),OpenSquare(1:5-1:6),LowerIdent(1:6-1:11),CloseSquare(1:11-1:12),OpenCurly(1:13-1:14),LowerIdent(1:15-1:17),OpColon(1:17-1:18),KwPlatform(1:19-1:27),StringStart(1:28-1:29),StringPart(1:29-1:50),StringEnd(1:50-1:51),CloseCurly(1:52-1:53),Newline(1:1-1:1),
|
||||
|
|
2
src/snapshots/module_empty.md
generated
2
src/snapshots/module_empty.md
generated
|
@ -9,6 +9,8 @@ module []
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwModule(1:1-1:7),OpenSquare(1:8-1:9),CloseSquare(1:9-1:10),EndOfFile(1:10-1:10),
|
||||
|
|
2
src/snapshots/module_multiline_with_comments.md
generated
2
src/snapshots/module_multiline_with_comments.md
generated
|
@ -13,6 +13,8 @@ module # Comment after module keyword
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwModule(1:1-1:7),Newline(1:9-1:38),
|
||||
|
|
2
src/snapshots/module_nonempty_single.md
generated
2
src/snapshots/module_nonempty_single.md
generated
|
@ -9,6 +9,8 @@ module [something, SomeType]
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwModule(1:1-1:7),OpenSquare(1:8-1:9),LowerIdent(1:9-1:18),Comma(1:18-1:19),UpperIdent(1:20-1:28),CloseSquare(1:28-1:29),EndOfFile(1:29-1:29),
|
||||
|
|
|
@ -9,6 +9,8 @@ module [something, SomeType,]
|
|||
~~~
|
||||
# PROBLEMS
|
||||
NIL
|
||||
|
||||
~~~
|
||||
# TOKENS
|
||||
~~~zig
|
||||
KwModule(1:1-1:7),OpenSquare(1:8-1:9),LowerIdent(1:9-1:18),Comma(1:18-1:19),UpperIdent(1:20-1:28),Comma(1:28-1:29),CloseSquare(1:29-1:30),EndOfFile(1:30-1:30),
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue