mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
has -> implements in comments
This commit is contained in:
parent
d97d0c5483
commit
33c2b9dfdd
5 changed files with 9 additions and 9 deletions
|
@ -1398,7 +1398,7 @@ fn resolve_abilities(
|
|||
}
|
||||
[..] => {
|
||||
// There is more than one variable bound to the member signature, so something like
|
||||
// Eq has eq : a, b -> Bool | a has Eq, b implements Eq
|
||||
// Eq has eq : a, b -> Bool | a implements Eq, b implements Eq
|
||||
// We have no way of telling what type implements a particular instance of Eq in
|
||||
// this case (a or b?), so disallow it.
|
||||
let span_has_clauses = Region::across_all(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue