Skip to content

Commit e81facb

Browse files
authored
Typo in opaques-details.md
Looks like a typo. If not, then some clarification would be helpful to understand the semantics.
1 parent 1b44dc8 commit e81facb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_docs/reference/other-new-features/opaques-details.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ object o:
4040

4141
In this case we have inside the object (also for non-opaque types) that `o.T` is equal to
4242
`T` or its expanded form `o.this.T`. Equality is understood here as mutual subtyping, i.e.
43-
`o.T <: o.this.T` and `o.this.T <: T`. Furthermore, we have by the rules of opaque type aliases
43+
`o.T <: o.this.T` and `o.this.T <: o.T`. Furthermore, we have by the rules of opaque type aliases
4444
that `o.this.T` equals `R`. The two equalities compose. That is, inside `o`, it is
4545
also known that `o.T` is equal to `R`. This means the following code type-checks:
4646

0 commit comments

Comments
 (0)