pattern_symbols no longer accepts a slice

This commit is contained in:
Richard Feldman 2020-08-10 00:15:05 -04:00
parent 695408e74e
commit 9d18112147

View file

@ -202,7 +202,9 @@ pub fn gen(
let proc = PartialProc {
annotation: def.expr_var,
// This is a 0-arity thunk, so it has no arguments.
pattern_symbols: &[],
pattern_symbols: bumpalo::collections::Vec::new_in(
mono_env.arena,
),
body,
};