mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
ast::HasClause -> ast::ImplementsClause
This commit is contained in:
parent
64c34a5c6d
commit
ebbdae6c28
6 changed files with 19 additions and 19 deletions
|
@ -1064,13 +1064,13 @@ fn canonicalize_has_clause(
|
|||
scope: &mut Scope,
|
||||
var_store: &mut VarStore,
|
||||
introduced_variables: &mut IntroducedVariables,
|
||||
clause: &Loc<roc_parse::ast::HasClause<'_>>,
|
||||
clause: &Loc<roc_parse::ast::ImplementsClause<'_>>,
|
||||
pending_abilities_in_scope: &PendingAbilitiesInScope,
|
||||
references: &mut VecSet<Symbol>,
|
||||
) -> Result<(), Type> {
|
||||
let Loc {
|
||||
region,
|
||||
value: roc_parse::ast::HasClause { var, abilities },
|
||||
value: roc_parse::ast::ImplementsClause { var, abilities },
|
||||
} = clause;
|
||||
let region = *region;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue