mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Implement &foo
record updater syntax sugar
This commit is contained in:
parent
a14a110293
commit
b1a972ab21
22 changed files with 302 additions and 41 deletions
|
@ -436,6 +436,10 @@ fn loc_ident_pattern_help<'a>(
|
|||
MadeProgress,
|
||||
EPattern::AccessorFunction(loc_ident.region.start()),
|
||||
)),
|
||||
Ident::RecordUpdaterFunction(_string) => Err((
|
||||
MadeProgress,
|
||||
EPattern::RecordUpdaterFunction(loc_ident.region.start()),
|
||||
)),
|
||||
Ident::Malformed(malformed, problem) => {
|
||||
debug_assert!(!malformed.is_empty());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue