Skip to main content

New site for Dart news and articles

For the latest Dart news, visit our new blog at  https://medium.com/dartlang .

Dart language spec v0.06 now available

Posted by Kathy Walrath
Version 0.06 of the Dart language spec is now available.
Changes include:
  • 7:5.1: Clarified how initializing formals can act as optional parameters of generative constructors.
  • 7.5.2: Treat factories as constructors, so type parameters are implicitly in scope.
  • 8.3: Simplify rules for interface factory clauses. Use the keyword default instead of factory.
  • 9: Mention that typedefs can have type parameters.
  • 10.29: Added checked mode test that type arguments match generic type.
  • 13.2: Added definition of malformed types, and requirement on their handling in checked mode.