mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Ambient lambda set unification means we can have nice things again
This commit is contained in:
parent
640ca78bc5
commit
89e356b5eb
3 changed files with 31 additions and 2 deletions
|
@ -1131,8 +1131,9 @@ fn resolve_lambda_set(subs: &Subs, mut var: Variable) -> ResolvedLambdaSet {
|
|||
}) => {
|
||||
debug_assert!(
|
||||
unspecialized.is_empty(),
|
||||
"unspecialized lambda sets left over during resolution: {:?}",
|
||||
"unspecialized lambda sets left over during resolution: {:?}, {:?}",
|
||||
roc_types::subs::SubsFmtContent(subs.get_content_without_compacting(var), subs),
|
||||
subs.uls_of_var
|
||||
);
|
||||
roc_types::pretty_print::push_union(subs, solved, &mut set);
|
||||
return ResolvedLambdaSet::Set(set);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue