mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Better debugging when lambda set region is missing
This commit is contained in:
parent
72c9b76f23
commit
8a7d9f8f23
1 changed files with 1 additions and 1 deletions
|
@ -743,7 +743,7 @@ fn get_specialization_lambda_set_ambient_function<P: Phase>(
|
|||
let specialized_lambda_set = *specialization
|
||||
.specialization_lambda_sets
|
||||
.get(&lset_region)
|
||||
.expect("lambda set region not resolved");
|
||||
.unwrap_or_else(|| panic!("lambda set region not resolved: {:?}", (spec_symbol, specialization)));
|
||||
Ok(specialized_lambda_set)
|
||||
}
|
||||
MemberImpl::Error => todo_abilities!(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue