mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-19 03:20:14 +00:00
Use index
This commit is contained in:
parent
6014370b91
commit
16ebcba053
3 changed files with 3 additions and 2 deletions
|
@ -355,7 +355,7 @@ pub(crate) fn type_to_var_help(
|
|||
// NB we cannot use a constant variable for the erased lambda set (yet)
|
||||
// because we still need to link it to the ambient function. In the future,
|
||||
// perhaps we could.
|
||||
UnionLambdas::from_slices(Subs::LAMBDA_NAME_ERASED, SubsSlice::empty())
|
||||
UnionLambdas::from_tag_name_index(Subs::LAMBDA_NAME_ERASED_INDEX)
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue