Skip to content

Commit eaeda75

Browse files
authored
Merge pull request scala#6863 from som-snytt/issue/spec-typo
SAM conversion spec typo
2 parents fd820e4 + 3a55e28 commit eaeda75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/06-expressions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1367,7 +1367,7 @@ It follows that:
13671367
- it must be possible to derive a fully-defined type `U` from `S` by inferring any unknown type parameters of `C`.
13681368

13691369
Finally, we impose some implementation restrictions (these may be lifted in future releases):
1370-
- `C` must not be nested or local (it must not capture its environment, as that results in a zero-argument constructor)
1370+
- `C` must not be nested or local (it must not capture its environment, as that results in a nonzero-argument constructor)
13711371
- `C`'s constructor must not have an implicit argument list (this simplifies type inference);
13721372
- `C` must not declare a self type (this simplifies type inference);
13731373
- `C` must not be `@specialized`.

0 commit comments

Comments
 (0)