Skip to content
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

[Enum Shorthands] Experiment flag #57037

Open
3 tasks
Tracked by #57036
kallentu opened this issue Nov 5, 2024 · 1 comment
Open
3 tasks
Tracked by #57036

[Enum Shorthands] Experiment flag #57037

kallentu opened this issue Nov 5, 2024 · 1 comment
Assignees
Labels
area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language). feature-enum-shorthands Implementation of the enum shorthands feature. type-enhancement A request for a change that isn't a bug

Comments

@kallentu
Copy link
Member

kallentu commented Nov 5, 2024

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

  • Add an experiment flag named enum-shorthands
  • Eventually, add an experiment and release version to gate the feature.
  • Then enable by default when ready to release.
@kallentu kallentu added the feature-enum-shorthands Implementation of the enum shorthands feature. label Nov 5, 2024
@kallentu kallentu self-assigned this Nov 5, 2024
@dart-github-bot
Copy link
Collaborator

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.

@dart-github-bot dart-github-bot added area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language). triage-automation See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot. type-enhancement A request for a change that isn't a bug labels Nov 5, 2024
@devoncarew devoncarew removed the triage-automation See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot. label Nov 6, 2024
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]>
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-enum-shorthands Implementation of the enum shorthands feature. type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

3 participants