mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-29 09:23:46 +00:00
has -> implements in comments
This commit is contained in:
parent
d97d0c5483
commit
33c2b9dfdd
5 changed files with 9 additions and 9 deletions
|
@ -450,7 +450,7 @@ fn contains_unexposed_type(
|
|||
false
|
||||
}
|
||||
Where(loc_ann, _loc_has_clauses) => {
|
||||
// We assume all the abilities in the `has` clause are from exported modules.
|
||||
// We assume all the abilities in the `implements` clause are from exported modules.
|
||||
// TODO don't assume this! Instead, look them up and verify.
|
||||
contains_unexposed_type(&loc_ann.value, exposed_module_ids, module_ids)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue