mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-02 19:32:17 +00:00
Use "opaques" instead of "opaque types" in reporting
This commit is contained in:
parent
f8e70f8786
commit
0a98580277
2 changed files with 3 additions and 3 deletions
|
@ -11054,8 +11054,8 @@ All branches in an `if` must have the same type!
|
|||
4│ Recursive := [Infinitely Recursive]
|
||||
^^^^^^^^^
|
||||
|
||||
Recursion in opaques is only allowed if recursion happens behind a
|
||||
tagged union, at least one variant of which is not recursive.
|
||||
Recursion in opaque types is only allowed if recursion happens behind
|
||||
a tagged union, at least one variant of which is not recursive.
|
||||
"
|
||||
);
|
||||
|
||||
|
|
|
@ -3579,7 +3579,7 @@ impl AliasKind {
|
|||
pub fn as_str_plural(&self) -> &'static str {
|
||||
match self {
|
||||
AliasKind::Structural => "aliases",
|
||||
AliasKind::Opaque => "opaques",
|
||||
AliasKind::Opaque => "opaque types",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue