mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
has -> implements in roc_problem::can::Problem
This commit is contained in:
parent
e04f09231c
commit
17c733ec81
4 changed files with 25 additions and 25 deletions
|
@ -1388,7 +1388,7 @@ fn resolve_abilities(
|
|||
[] => {
|
||||
// There are no variables bound to the parent ability - then this member doesn't
|
||||
// need to be a part of the ability.
|
||||
env.problem(Problem::AbilityMemberMissingHasClause {
|
||||
env.problem(Problem::AbilityMemberMissingImplementsClause {
|
||||
member: member_sym,
|
||||
ability,
|
||||
region: member_name_region,
|
||||
|
@ -1411,7 +1411,7 @@ fn resolve_abilities(
|
|||
env.problem(Problem::AbilityMemberMultipleBoundVars {
|
||||
member: member_sym,
|
||||
ability,
|
||||
span_has_clauses,
|
||||
span_implements_clauses: span_has_clauses,
|
||||
bound_var_names,
|
||||
});
|
||||
// Pretend the member isn't a part of the ability
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue