Skip to content

Commit

Permalink
Add experimental flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrekhov committed Nov 22, 2024
1 parent 63f72c4 commit 9be3b7d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions LanguageFeatures/Static-access-shorthand/grammar_A01_t01.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
/// accessed using the static access short syntax.
/// @author sgrekhov22@gmail.com
// SharedOptions=--enable-experiment=enum-shorthands

import '../../Utils/expect.dart';

class C {
Expand Down
2 changes: 2 additions & 0 deletions LanguageFeatures/Static-access-shorthand/grammar_A01_t02.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
/// static access short syntax.
/// @author sgrekhov22@gmail.com
// SharedOptions=--enable-experiment=enum-shorthands

import '../../Utils/expect.dart';

class C {
Expand Down
2 changes: 2 additions & 0 deletions LanguageFeatures/Static-access-shorthand/grammar_A01_t03.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
/// accessed using the static access short syntax.
/// @author sgrekhov22@gmail.com
// SharedOptions=--enable-experiment=enum-shorthands

import '../../Utils/expect.dart';

enum E {
Expand Down
2 changes: 2 additions & 0 deletions LanguageFeatures/Static-access-shorthand/grammar_A01_t04.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
/// type can be accessed using the static access short syntax.
/// @author sgrekhov22@gmail.com
// SharedOptions=--enable-experiment=enum-shorthands

import '../../Utils/expect.dart';

extension type ET1(int v) {
Expand Down
2 changes: 2 additions & 0 deletions LanguageFeatures/Static-access-shorthand/grammar_A02_t01.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
/// static access short syntax.
/// @author sgrekhov22@gmail.com
// SharedOptions=--enable-experiment=enum-shorthands

class C {
final String value;
C(this.value);
Expand Down

0 comments on commit 9be3b7d

Please sign in to comment.