We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b44dc8 commit e81facbCopy full SHA for e81facb
docs/_docs/reference/other-new-features/opaques-details.md
@@ -40,7 +40,7 @@ object o:
40
41
In this case we have inside the object (also for non-opaque types) that `o.T` is equal to
42
`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
+`o.T <: o.this.T` and `o.this.T <: o.T`. Furthermore, we have by the rules of opaque type aliases
44
that `o.this.T` equals `R`. The two equalities compose. That is, inside `o`, it is
45
also known that `o.T` is equal to `R`. This means the following code type-checks:
46
0 commit comments