mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Multimorphic lambdas capture another lambda
This commit is contained in:
parent
b69d538ea0
commit
28c1cf46a3
5 changed files with 175 additions and 63 deletions
|
@ -986,7 +986,9 @@ impl<'a> LambdaSet<'a> {
|
|||
) -> ClosureRepresentation<'a> {
|
||||
debug_assert!(
|
||||
self.set.iter().any(|(s, _)| *s == lambda_name),
|
||||
"lambda not in set"
|
||||
"lambda {:?} not in set {:#?}",
|
||||
lambda_name,
|
||||
self.set,
|
||||
);
|
||||
|
||||
let comparator =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue