Skip to content

Commit 1b47f24

Browse files
committed
Spec update for scala#6475
1 parent 5e6e284 commit 1b47f24

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spec/06-expressions.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1396,16 +1396,16 @@ type $T$ by evaluating the expression to which $m$ is bound.
13961396
If the method takes only implicit parameters, implicit
13971397
arguments are passed following the rules [here](07-implicits.html#implicit-parameters).
13981398

1399+
###### Empty Application
1400+
Otherwise, if $e$ has method type $()T$, it is implicitly applied to the empty
1401+
argument list, yielding $e()$.
1402+
13991403
###### Eta Expansion
14001404
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)
14021406
$(\mathit{Ts}') \Rightarrow T'$, [eta-expansion](#eta-expansion)
14031407
is performed on the expression $e$.
14041408

1405-
###### Empty Application
1406-
Otherwise, if $e$ has method type $()T$, it is implicitly applied to the empty
1407-
argument list, yielding $e()$.
1408-
14091409
### Overloading Resolution
14101410

14111411
If an identifier or selection $e$ references several members of a

0 commit comments

Comments
 (0)