Merge remote-tracking branch 'origin/trunk' into pattern-compilation

This commit is contained in:
Folkert 2020-03-17 12:45:23 +01:00
commit 6310341b7e
9 changed files with 322 additions and 81 deletions

View file

@ -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 {