mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Fix Apply
usage
This commit is contained in:
parent
a9ed4ce4ce
commit
d10eb0f9a3
1 changed files with 1 additions and 1 deletions
|
@ -771,7 +771,7 @@ fn type_to_variable<'a>(
|
|||
|
||||
match typ {
|
||||
Variable(var) => *var,
|
||||
Apply(symbol, arguments) => {
|
||||
Apply(symbol, arguments, _) => {
|
||||
let new_arguments = VariableSubsSlice::reserve_into_subs(subs, arguments.len());
|
||||
for (target_index, var_index) in (new_arguments.indices()).zip(arguments) {
|
||||
let var = type_to_variable(subs, rank, pools, arena, var_index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue