mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
Make pattern_vars be a slice
This commit is contained in:
parent
a4f4da7f5a
commit
8751e4bd00
2 changed files with 6 additions and 6 deletions
|
@ -133,7 +133,7 @@ pub fn gen(
|
|||
procs.insert_exposed(
|
||||
symbol,
|
||||
layout,
|
||||
pattern_vars, //: Vec<'a, Variable>,
|
||||
pattern_vars.into_bump_slice(),
|
||||
annotation,
|
||||
ret_var,
|
||||
);
|
||||
|
@ -177,7 +177,7 @@ pub fn gen(
|
|||
procs.insert_exposed(
|
||||
symbol,
|
||||
layout,
|
||||
pattern_vars,
|
||||
pattern_vars.into_bump_slice(),
|
||||
// It seems brittle that we're passing
|
||||
// annotation twice - especially since
|
||||
// in both cases we're giving the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue