File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1396,16 +1396,16 @@ type $T$ by evaluating the expression to which $m$ is bound.
1396
1396
If the method takes only implicit parameters, implicit
1397
1397
arguments are passed following the rules [ here] ( 07-implicits.html#implicit-parameters ) .
1398
1398
1399
+ ###### Empty Application
1400
+ Otherwise, if $e$ has method type $()T$, it is implicitly applied to the empty
1401
+ argument list, yielding $e()$.
1402
+
1399
1403
###### Eta Expansion
1400
1404
Otherwise, if the method is not a constructor,
1401
- and the expected type $\mathit{pt}$ is a function type
1405
+ and the expected type $\mathit{pt}$ is a function type (potentially after sam conversion)
1402
1406
$(\mathit{Ts}') \Rightarrow T'$, [ eta-expansion] ( #eta-expansion )
1403
1407
is performed on the expression $e$.
1404
1408
1405
- ###### Empty Application
1406
- Otherwise, if $e$ has method type $()T$, it is implicitly applied to the empty
1407
- argument list, yielding $e()$.
1408
-
1409
1409
### Overloading Resolution
1410
1410
1411
1411
If an identifier or selection $e$ references several members of a
You can’t perform that action at this time.
0 commit comments