Skip to content

Commit 2c81888

Browse files
eed3si9nadpi2
authored andcommitted
Fix "nullary method"
The terminology around 0-arity method is not used consistently, and not clear so we should use the term used in 'Programming in Scala', which is _empty-paren_ method. If we insist on using the jargon, then _nilary_ is the term sometimes used in scala/scala discussions.
1 parent af122d9 commit 2c81888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

incompat-30/auto-application/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Auto-application
22

3-
Auto-application is the syntax of calling a nullary method without passing an empty argument list.
3+
Auto-application is the syntax of calling an empty-paren method such as `def f(): Int` without passing an empty argument list.
44

55
In Scala 3.0, when calling a method defined in Scala 3.0, this syntax is forbidden.
66

0 commit comments

Comments
 (0)