Skip to content

Commit 82abb46

Browse files
authored
Sync with the stable documentation branch (#16465)
This pull request is syncing the with changes from . It was created automatically after eb5f0b9 by @odersky
2 parents efa9bd5 + fdb901c commit 82abb46

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/cla.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
name: Scala CLA
22
on:
33
pull_request:
4+
branches-ignore:
5+
- 'language-reference-stable'
46
push:
57
branches:
6-
- 'language-reference-backport'
8+
- 'language-reference-stable'
79
permissions:
810
contents: write
911
pull-requests: write

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)