Skip to content

Commit

Permalink
dart-lang#2641. Experimental flag renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrekhov committed May 10, 2024
1 parent ced3940 commit 0905c08
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion LanguageFeatures/Wildcards/binding_A01_t01.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/// scope by a wildcarded declaration. Test parameters of functions and methods.
/// @author sgrekhov22@gmail.com
// SharedOptions=--enable-experiment=wildcards
// SharedOptions=--enable-experiment=wildcard-variables

void topLevelFunction1(int _) {
print(_);
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Wildcards/binding_A01_t02.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/// scope by a wildcarded declaration. Test parameters of constructors.
/// @author sgrekhov22@gmail.com
// SharedOptions=--enable-experiment=wildcards
// SharedOptions=--enable-experiment=wildcard-variables

class C<T> {
C.constructor1(int _) {
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Wildcards/binding_A01_t03.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/// scope by a wildcarded declaration. Test parameters of operators.
/// @author sgrekhov22@gmail.com
// SharedOptions=--enable-experiment=wildcards
// SharedOptions=--enable-experiment=wildcard-variables

class C {
int operator +(int _) {
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Wildcards/binding_A01_t04.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/// scope by a wildcarded declaration. Test local variables.
/// @author sgrekhov22@gmail.com
// SharedOptions=--enable-experiment=wildcards
// SharedOptions=--enable-experiment=wildcard-variables

test1() {
var _;
Expand Down
2 changes: 2 additions & 0 deletions LanguageFeatures/Wildcards/binding_A01_t05.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
/// scope by a wildcarded declaration. Test callable local variables.
/// @author sgrekhov22@gmail.com
// SharedOptions=--enable-experiment=wildcard-variables

class C {}

test1() {
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Wildcards/binding_A01_t06.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/// scope by a wildcarded declaration. Test for-loop variables.
/// @author sgrekhov22@gmail.com
// SharedOptions=--enable-experiment=wildcards
// SharedOptions=--enable-experiment=wildcard-variables

test() async {
await for (var _ in Stream.fromIterable([1, 2,3])) {
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Wildcards/binding_A01_t07.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/// scope by a wildcarded declaration. Test catch clause parameters.
/// @author sgrekhov22@gmail.com
// SharedOptions=--enable-experiment=wildcards
// SharedOptions=--enable-experiment=wildcard-variables

main() {
try {
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Wildcards/binding_A01_t08.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/// scope by a wildcarded declaration. Test type parameters of generic functions
/// @author sgrekhov22@gmail.com
// SharedOptions=--enable-experiment=wildcards
// SharedOptions=--enable-experiment=wildcard-variables

void topLevelFunction<_>() {
print(_);
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Wildcards/binding_A01_t09.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/// scope by a wildcarded declaration. Test type parameters of generic types.
/// @author sgrekhov22@gmail.com
// SharedOptions=--enable-experiment=wildcards
// SharedOptions=--enable-experiment=wildcard-variables

class C<_> {
void instanceMethod() {
Expand Down
2 changes: 1 addition & 1 deletion LanguageFeatures/Wildcards/binding_A01_t10.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/// scope by a wildcarded declaration. Test type parameters of type aliases.
/// @author sgrekhov22@gmail.com
// SharedOptions=--enable-experiment=wildcards
// SharedOptions=--enable-experiment=wildcard-variables

class C<T> {}
typedef CAlias<_> = C<_>;
Expand Down

0 comments on commit 0905c08

Please sign in to comment.