Lasse R.H. Nielsen
Lasse R.H. Nielsen
Dart functions currently can have only either optional named parameters or optional positional parameters, but not both. While developing libraries repeatedly run into cases where this restriction gets in the...
The augmentation libraries feature specification introduces "augmentation libraries" which are not Dart libraries. An augmentation library has things in common with libraries (can have its own imports), and things in...
The current augmentation feature specification introduces *augmentation libraries* which a main library or augmentation library can include. An augmentation library: * Can contain augmentation declarations, and * Cannot contain part...
The current language specification specifies `identical` on doubles to be true if the doubles have the same representation. That is, it makes it indistinguishable whether doubles are canonicalized based on...
The special-case rules for typing, e.g, `int + int` does not apply if `+` denotes an extension type member, even if the receiver is a subtype of `int`.
Dart currently allows string literals with useless "escapes", like `"ab\cie\o{101}\0"` or `"\b0\d+"`. We should disallow every "escape" which is not one of the currently defined Dart string escapes, those which...
Most recent version: https://github.com/dart-lang/language/blob/main/accepted/future-releases/unquoted-imports/feature-specification.md Original design below (which also has some good parts, a final result might be something in-between). ----------------------------- This is a proposal for a shorter import syntax...
The lint [`curly_braces_in_control_flow_structures`](https://dart.dev/tools/linter-rules/curly_braces_in_flow_control_structures) should warn if an `if` statement body has no braces. An exception is granted if the *entire `if` statement* fits in one line, based on the corresponding...
Add required `mixin`s. Add some appropriate `final`s. Should this be a major version increment? The `final` modifiers are breaking. (But so is the lack of `mixin` modifiers on some classes.)
PROOF-OF-CONCEPT. DO NOT LAND. `MapEquality` and `SetEquality` now expects the provided equalities to be compatible with the inherent equals (and hash) of the map or set. That allows using `Map.operator[]`...