mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Fix placement of comma after implements in pnc apply patterns
This commit is contained in:
parent
2bbcbbd5c1
commit
2e4e4bb957
5 changed files with 61 additions and 3 deletions
|
@ -0,0 +1,2 @@
|
|||
g((implements), x) = c
|
||||
c
|
|
@ -0,0 +1,53 @@
|
|||
@0-19 SpaceAfter(
|
||||
Defs(
|
||||
Defs {
|
||||
tags: [
|
||||
EitherIndex(2147483648),
|
||||
],
|
||||
regions: [
|
||||
@0-17,
|
||||
],
|
||||
space_before: [
|
||||
Slice<roc_parse::ast::CommentOrNewline> { start: 0, length: 0 },
|
||||
],
|
||||
space_after: [
|
||||
Slice<roc_parse::ast::CommentOrNewline> { start: 0, length: 0 },
|
||||
],
|
||||
spaces: [],
|
||||
type_defs: [],
|
||||
value_defs: [
|
||||
Body(
|
||||
@0-15 PncApply(
|
||||
@0-1 Identifier {
|
||||
ident: "g",
|
||||
},
|
||||
[
|
||||
@2-12 Identifier {
|
||||
ident: "implements",
|
||||
},
|
||||
@13-14 Identifier {
|
||||
ident: "x",
|
||||
},
|
||||
],
|
||||
),
|
||||
@16-17 Var {
|
||||
module_name: "",
|
||||
ident: "c",
|
||||
},
|
||||
),
|
||||
],
|
||||
},
|
||||
@18-19 SpaceBefore(
|
||||
Var {
|
||||
module_name: "",
|
||||
ident: "c",
|
||||
},
|
||||
[
|
||||
Newline,
|
||||
],
|
||||
),
|
||||
),
|
||||
[
|
||||
Newline,
|
||||
],
|
||||
)
|
|
@ -0,0 +1,2 @@
|
|||
g(implements,x)=c
|
||||
c
|
Loading…
Add table
Add a link
Reference in a new issue