mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Address feedback
This commit is contained in:
parent
a7321e086a
commit
3295f80c30
6 changed files with 28 additions and 13 deletions
|
@ -552,8 +552,8 @@ fn record_pattern_field<'a>() -> impl Parser<'a, Loc<Pattern<'a>>, PRecord<'a>>
|
|||
let (_, opt_loc_val, state) = optional(either(
|
||||
byte(b':', PRecord::Colon),
|
||||
and(
|
||||
byte(b'?', PRecord::Optional),
|
||||
optional(byte(b'?', PRecord::Optional)),
|
||||
byte(b'?', PRecord::OptionalFirst),
|
||||
optional(byte(b'?', PRecord::OptionalSecond)),
|
||||
),
|
||||
))
|
||||
.parse(arena, state, min_indent)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue