mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
shuffle error message handling
This commit is contained in:
parent
55a92b50cc
commit
21f58b947a
1 changed files with 3 additions and 3 deletions
|
@ -156,9 +156,9 @@ fn record_field_access_chain<'a>() -> impl Parser<'a, Vec<'a, &'a str>, EExpr<'a
|
|||
}
|
||||
|
||||
fn record_field_access<'a>() -> impl Parser<'a, &'a str, EExpr<'a>> {
|
||||
specialize(
|
||||
|_, r, c| EExpr::Access(r, c),
|
||||
skip_first!(ascii_char(b'.'), lowercase_ident()),
|
||||
skip_first!(
|
||||
word1(b'.', EExpr::Access),
|
||||
specialize(|_, r, c| EExpr::Access(r, c), lowercase_ident())
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue