Ambient lambda set unification means we can have nice things again

This commit is contained in:
Ayaz Hafiz 2022-07-06 12:57:37 -04:00
parent 640ca78bc5
commit 89e356b5eb
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
3 changed files with 31 additions and 2 deletions

View file

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