File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4526,7 +4526,7 @@ <h3 id="Type_inference">Type inference</h3>
4526
4526
< code > typeof(p< sub > i</ sub > ) ≡< sub > A</ sub > typeof(a< sub > i</ sub > )</ code > .
4527
4527
< br >
4528
4528
If < code > a< sub > i</ sub > </ code > is an untyped constant < code > c< sub > j</ sub > </ code > ,
4529
- and < code > p< sub > i</ sub > </ code > is a bound type parameter < code > P< sub > k</ sub > </ code > ,
4529
+ and < code > typeof( p< sub > i</ sub > ) </ code > is a bound type parameter < code > P< sub > k</ sub > </ code > ,
4530
4530
the pair < code > (c< sub > j</ sub > , P< sub > k</ sub > )</ code > is collected separately from
4531
4531
the type equations.
4532
4532
</ p >
@@ -4543,7 +4543,7 @@ <h3 id="Type_inference">Type inference</h3>
4543
4543
< p >
4544
4544
For a return statement < code > return …, f, … </ code > where < code > f</ code > is a
4545
4545
generic function returned as a result to a (non-generic) result variable
4546
- of function type:
4546
+ < code > r </ code > of function type:
4547
4547
< br >
4548
4548
< code > typeof(r) ≡< sub > A</ sub > typeof(f)</ code > .
4549
4549
</ p >
You can’t perform that action at this time.
0 commit comments