mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +00:00
abilities syntax has
-> implements
This commit is contained in:
parent
91e37293a2
commit
dbc0204532
21 changed files with 89 additions and 84 deletions
|
@ -296,7 +296,7 @@ pub(crate) fn canonicalize_annotation(
|
|||
|
||||
let (annotation, region) = match annotation {
|
||||
TypeAnnotation::Where(annotation, clauses) => {
|
||||
// Add each "has" clause. The association of a variable to an ability will be saved on
|
||||
// Add each "implements" clause. The association of a variable to an ability will be saved on
|
||||
// `introduced_variables`, which we'll process later.
|
||||
for clause in clauses.iter() {
|
||||
let opt_err = canonicalize_has_clause(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue