has -> implements in roc_problem::can::Problem

This commit is contained in:
Bryce Miller 2023-05-20 21:12:26 -04:00
parent e04f09231c
commit 17c733ec81
No known key found for this signature in database
GPG key ID: F1E97BF8DF152350
4 changed files with 25 additions and 25 deletions

View file

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