mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 22:51:29 +00:00
57d00dfcb2
In the specification grammar docs/language/Dart.g, named parameters in a new style `Function` type must now have a type. They used to support a plain `identifier` form, which means that the type was omitted and only the name given, but the informal spec did not allow this (and this was a decision taken because we wanted to take a step towards the kind of function types where it is always the name which is omitted if anything is omitted, and this means that nothing can be omitted for a named parameter). Change-Id: Ib2538f5bafd1e044f0b4f22ea0a6b9a339f81501 Reviewed-on: https://dart-review.googlesource.com/19567 Reviewed-by: Lasse R.H. Nielsen <lrn@google.com> Commit-Queue: Lasse R.H. Nielsen <lrn@google.com> Commit-Queue: Erik Ernst <eernst@google.com> |
||
---|---|---|
.. | ||
language | ||
newsletter |