mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
Enforce some simplifications
This commit is contained in:
parent
7ff180c1a5
commit
76f7843c93
4 changed files with 7 additions and 27 deletions
|
@ -2103,7 +2103,7 @@ fn compact_lambda_set<P: Phase>(
|
|||
}
|
||||
};
|
||||
|
||||
let specialized_lambda_set = get_specialization_lambda_set_ambient_function(
|
||||
let specialization_ambient_function_var = get_specialization_lambda_set_ambient_function(
|
||||
subs,
|
||||
derived_module,
|
||||
phase,
|
||||
|
@ -2114,7 +2114,7 @@ fn compact_lambda_set<P: Phase>(
|
|||
target_rank,
|
||||
);
|
||||
|
||||
let t_f2 = match specialized_lambda_set {
|
||||
let t_f2 = match specialization_ambient_function_var {
|
||||
Ok(lset) => lset,
|
||||
Err(()) => {
|
||||
// Do nothing other than to remove the concrete lambda to drop from the lambda set,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue