Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion accepted/future-releases/nnbd/feature-specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ Status: Draft

## CHANGELOG

2020.10.09
- Clarify that `main` cannot be a getter.

2020.10.05
- Specify that a null-aware static member access (e.g., `C?.staticMethod()`)
is a warning.
Expand Down Expand Up @@ -1126,7 +1129,7 @@ The section 'Scripts' in the language specification is replaced by the
following:

Let _L_ be a library that exports a declaration _D_ named `main`. It is a
compile-time error unless _D_ is a function declaration. It is a
compile-time error unless _D_ is a non-getter function declaration. It is a
compile-time error if _D_ declares more than two required positional
parameters, or if there are any required named parameters. It is a
compile-time error if _D_ declares at least one positional parameter, and
Expand Down