diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A05_t21_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A05_t21_lib.dart index 3cf47d58b5..5e2618ca14 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A05_t21_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A05_t21_lib.dart @@ -23,7 +23,7 @@ augment library 'augmented_expression_A05_t21.dart'; import '../../Utils/expect.dart'; augment class C { - void operator []=(int index, Object? value) { + augment void operator []=(int index, Object? value) { void local() { augmented[index] = value; Expect.equals("Original [$index]=$value", _log); @@ -34,7 +34,7 @@ augment class C { } augment mixin M { - void operator []=(int index, Object? value) { + augment void operator []=(int index, Object? value) { void local() { augmented[index] = value; Expect.equals("Original [$index]=$value", _log); @@ -46,7 +46,7 @@ augment mixin M { augment enum E { augment e1; - void operator []=(int index, Object? value) { + augment void operator []=(int index, Object? value) { void local() { augmented[index] = value; Expect.equals("Original [$index]=$value", _log); @@ -57,7 +57,7 @@ augment enum E { } augment extension Ext { - void operator []=(int index, Object? value) { + augment void operator []=(int index, Object? value) { void local() { augmented[index] = value; Expect.equals("Original [$index]=$value", _log); diff --git a/LanguageFeatures/Augmentation-libraries/augmented_expression_A05_t23_lib.dart b/LanguageFeatures/Augmentation-libraries/augmented_expression_A05_t23_lib.dart index 4e7926dc52..97ef99769f 100644 --- a/LanguageFeatures/Augmentation-libraries/augmented_expression_A05_t23_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmented_expression_A05_t23_lib.dart @@ -23,7 +23,7 @@ augment library 'augmented_expression_A05_t23.dart'; import '../../Utils/expect.dart'; augment class C { - void operator []=(int index, Object? value) { + augment void operator []=(int index, Object? value) { var f = () { augmented[index] = value; Expect.equals("Original [$index]=$value", _log); @@ -34,7 +34,7 @@ augment class C { } augment mixin M { - void operator []=(int index, Object? value) { + augment void operator []=(int index, Object? value) { var f = () { augmented[index] = value; Expect.equals("Original [$index]=$value", _log); @@ -46,7 +46,7 @@ augment mixin M { augment enum E { augment e1; - void operator []=(int index, Object? value) { + augment void operator []=(int index, Object? value) { var f = () { augmented[index] = value; Expect.equals("Original [$index]=$value", _log); @@ -57,7 +57,7 @@ augment enum E { } augment extension Ext { - void operator []=(int index, Object? value) { + augment void operator []=(int index, Object? value) { var f = () { augmented[index] = value; Expect.equals("Original [$index]=$value", _log); diff --git a/LanguageFeatures/Wildcards/other_declarations_A05_t45.dart b/LanguageFeatures/Wildcards/other_declarations_A05_t45.dart index b66d764d46..83374738d7 100644 --- a/LanguageFeatures/Wildcards/other_declarations_A05_t45.dart +++ b/LanguageFeatures/Wildcards/other_declarations_A05_t45.dart @@ -14,7 +14,7 @@ // SharedOptions=--enable-experiment=wildcard-variables void topLevelFunction([int _]) {} -// ^ +// ^ // [analyzer] unspecified // [cfe] unspecified