mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00

Just a refactoring PR. This is useful because during canonicalization we always process type defs first, then value defs. With abilities this distinction continues to grow; in that case, we have patterns associated with types that we want to process before patterns from values.
23 lines
485 B
Text
23 lines
485 B
Text
[
|
|
@0-9 SpaceAfter(
|
|
SpaceBefore(
|
|
Type(
|
|
Opaque {
|
|
header: TypeHeader {
|
|
name: @0-3 "Age",
|
|
vars: [],
|
|
},
|
|
typ: @7-9 Apply(
|
|
"",
|
|
"U8",
|
|
[],
|
|
),
|
|
},
|
|
),
|
|
[],
|
|
),
|
|
[
|
|
Newline,
|
|
],
|
|
),
|
|
]
|