language
language copied to clipboard
Design of the Dart language
Would it be possible to implement a short circuit logical boolean 'implies' operator (as in Eiffel and some other languages): true imp false evaluates to false true imp true evaluates...
Not a language issue, but I noticed in the sdk repo, there's an AI that [summarizes the issue](https://github.com/dart-lang/sdk/issues/56643#issuecomment-2327946932). I find it works pretty well. Perhaps it could be used here?...
@bwilkerson raised some concerns about the tooling experience for import shorthands. If we implement this proposal, there will now be essentially four (or more) different ways to write an import/export....
Issue for tracking whether the feature spec for import shorthands is complete. The working spec is located here: https://github.com/dart-lang/language/blob/main/accepted/future-releases/unquoted-imports/feature-specification.md
I'm worried about the complexity of the scoping structure with the current proposal for enhanced parts (aka [parts with imports](https://github.com/dart-lang/language/blob/main/working/augmentation-libraries/parts_with_imports.md)). ## Currently specified scoping structure For example, assume the following...
The [feature specification on parts with imports](https://github.com/dart-lang/language/blob/main/working/augmentation-libraries/parts_with_imports.md) contains the following scope description: > Each Dart file (library file or part file) defines a _combined import scope_ > which combines the...
This is a possible solution for #283 and other similar issues. This is the first time writing a slightly formal proposal, so please be patient and let's work together to...
and incrementally migrating is not easy; it must be done atomically with the type-parameter-increasing change. This is not a problem when adding the _first_ type paramter: ```dart class C {}...
In order to organize global constants in a dart project, I am looking to implement the following style, short example: ```dart sealed class ConstColor { static const String black =...
This is a proposal for supporting expressions like `MyClass('Hello')`, where `_` is used to indicate that the corresponding type parameter should be obtained from type inference. This allows us to...