File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
docs/_docs/reference/other-new-features Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
name : Scala CLA
2
2
on :
3
3
pull_request :
4
+ branches-ignore :
5
+ - ' language-reference-stable'
4
6
push :
5
7
branches :
6
- - ' language-reference-backport '
8
+ - ' language-reference-stable '
7
9
permissions :
8
10
contents : write
9
11
pull-requests : write
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ object o:
40
40
41
41
In this case we have inside the object (also for non-opaque types) that ` o.T ` is equal to
42
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
43
+ ` o.T <: o.this.T ` and ` o.this.T <: o. T ` . Furthermore, we have by the rules of opaque type aliases
44
44
that ` o.this.T ` equals ` R ` . The two equalities compose. That is, inside ` o ` , it is
45
45
also known that ` o.T ` is equal to ` R ` . This means the following code type-checks:
46
46
You can’t perform that action at this time.
0 commit comments