mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Merge remote-tracking branch 'origin/trunk' into pattern-compilation
This commit is contained in:
commit
6310341b7e
9 changed files with 322 additions and 81 deletions
|
@ -586,6 +586,10 @@ fn from_can<'a>(
|
|||
// It might even be the anonymous result of a conditional:
|
||||
//
|
||||
// ((if x > 0 then \a -> a else \_ -> 0) 5)
|
||||
//
|
||||
// It could be named too:
|
||||
//
|
||||
// ((if x > 0 then foo else bar) 5)
|
||||
let mut args = Vec::with_capacity_in(loc_args.len(), env.arena);
|
||||
|
||||
for (_, loc_arg) in loc_args {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue