mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-31 09:07:21 +00:00
Merge branch 'main' into ayaz/error-on-invalid-generalized-types
Signed-off-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
This commit is contained in:
commit
ee3c71dfe6
766 changed files with 20515 additions and 34868 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