language
language copied to clipboard
Design of the Dart language
## Overview I recently learned that the `abstract` keyword can be used for class members: ```dart abstract class Foo { abstract final Object? a; abstract Object? b; } ``` This...
Surely it would violate some invariants that we can otherwise rely on if `augmented()` is allowed to be executed in the initializer list of a non-redirecting, or in the redirection...
We currently support a kind of type inference known as _override inference_ whereby some types in a function signature that are omitted in a declaration can be obtained implicitly by...
I think we need a notion of a forwarding function which will faithfully invoke another function, as a semantic primitive in Dart. That is, we should specify once and for...
_This issue was originally filed by [[email protected]](https://github.com/search?q=ladicek%40gmail.com&type=Users)_ --- When working with bits and bytes, having binary integer literals comes handy, as a lot of languages acknowledged (Python, Ruby, Java, even...
The augmentation specification currently makes it an error for `augmented` to be used as a regular identifier inside an augmenting declaration. However, it would be possible to allow it in...
Wihout the fix is hard to understand what this statement really mean. Seems that it should be read as the fix isuggests.
I need to implement a solution using generics that implements 2 interfaces, but as far as I can tell, generics in dart only supports 1 upper bound? The contents of...
Related to https://github.com/dart-lang/language/issues/581, I'd also like to see octal literals using the common `0o123` syntax. The lack of these actually caused a security issue for Dart Sass recently (see https://github.com/google/dart_cli_pkg/pull/109)...
_tl;dr_ Allow augmenting an abstract variable by a concrete getter and/or setter, or another abstract variable _rd;lt_ The augmentation specification has the following rules: > An `abstract` variable declaration is equivalent to...