Use index

This commit is contained in:
Ayaz Hafiz 2023-06-22 21:01:33 -05:00
parent 6014370b91
commit 16ebcba053
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
3 changed files with 3 additions and 2 deletions

View file

@ -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)
}
};