mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Implement initial tuple syntax
This commit is contained in:
parent
9abed3472a
commit
1753c9cf5b
11 changed files with 152 additions and 52 deletions
|
@ -163,7 +163,9 @@ pub fn desugar_expr<'a>(arena: &'a Bump, loc_expr: &'a Loc<Expr<'a>>) -> &'a Loc
|
|||
}
|
||||
})),
|
||||
}),
|
||||
|
||||
Tuple(_fields) => {
|
||||
todo!("desugar_expr: Tuple");
|
||||
}
|
||||
RecordUpdate { fields, update } => {
|
||||
// NOTE the `update` field is always a `Var { .. }`, we only desugar it to get rid of
|
||||
// any spaces before/after
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue