mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-31 09:07:21 +00:00
Fix broken ability implementation
This commit is contained in:
parent
2aac2e01f8
commit
30b8a1407d
11 changed files with 130 additions and 132 deletions
|
@ -1282,9 +1282,9 @@ fn extract_specialization_lambda_set<M: MetaCollector>(
|
|||
// lambda set does not line up with one required by the ability member prototype.
|
||||
// As an example, consider
|
||||
//
|
||||
// Q := [ F (Str -> Str) ] implements [Eq {isEq}]
|
||||
// Q := [ F (Str -> Str) ] implements [Eq {is_eq}]
|
||||
//
|
||||
// isEq = \@Q _, @Q _ -> Bool.false
|
||||
// is_eq = \@Q _, @Q _ -> Bool.false
|
||||
//
|
||||
// here the lambda set of `F`'s payload is part of the specialization signature, but it is
|
||||
// irrelevant to the specialization. As such, I believe it is safe to drop the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue