-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[Dot Shorthands] Experiment flag #57037
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
feature-dot-shorthands
Implementation of the dot shorthands feature.
type-enhancement
A request for a change that isn't a bug
Comments
21 tasks
Summary: This issue proposes adding an experiment flag to Dart for enum shorthands, a potential new language feature. The flag would allow developers to opt-in to the feature and provide a mechanism for gradual rollout and testing. |
copybara-service bot
pushed a commit
that referenced
this issue
Nov 7, 2024
This CL adds an experiment flag named `enum-shorthands`. We can start prototyping the work needed for the feature under the flag. Bug: #57037 Change-Id: I5d5e679b20f993e0af59ce5b2d28e47269ecaedb Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/393521 Reviewed-by: Johnni Winther <[email protected]> Reviewed-by: Nate Bosch <[email protected]> Reviewed-by: Paul Berry <[email protected]> Commit-Queue: Kallen Tu <[email protected]>
copybara-service bot
pushed a commit
that referenced
this issue
Feb 7, 2025
…(and roll co19 to b14b080) We've decided to rename enum shorthands to dot shorthands. It describes the entire feature better. It's not only for enum values. We'll update the experiment name before the implementation goes in, that way our users can use a flag that matches the actual feature name. Additionally, roll co19 to b14b0802e696a60c79b00d0f052e26fb986f0faf so we can avoid an infra failure with co19 using what's now an unknown feature flag (enum-shorthands). 2025-02-06 [email protected] Fixes dart-lang/co19#3067. Rename the static access shorthand feature experiment flag (dart-lang/co19#3068) Cq-Include-Trybots: luci.dart.try:analyzer-linux-release-try Bug: #57037 Change-Id: I031e3bce8166145b24dbb77acf259d78e6e00f0a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/407603 Reviewed-by: Alexander Thomas <[email protected]> Reviewed-by: Erik Ernst <[email protected]> Commit-Queue: Kallen Tu <[email protected]>
@kallentu I think this (or at least first two checklist entries) is done? |
Yep, first two are complete. Will be waiting on the last checklist item until closing this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
feature-dot-shorthands
Implementation of the dot shorthands feature.
type-enhancement
A request for a change that isn't a bug
Add an experiment flag to Dart and put all implementation code under it.
The implementation issue for a potential new language feature being considered: dart-lang/language#357
Checklist for experiment flag
dot-shorthands
The text was updated successfully, but these errors were encountered: