Fix broken ability implementation

This commit is contained in:
Sam Mohr 2025-01-04 05:37:17 -08:00
parent 2aac2e01f8
commit 30b8a1407d
No known key found for this signature in database
GPG key ID: EA41D161A3C1BC99
11 changed files with 130 additions and 132 deletions

View file

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