From e96bee49bc29b6fa14ae4edcc0ebcb05183fd36d Mon Sep 17 00:00:00 2001 From: "Sergey G. Grekhov" Date: Fri, 28 Jun 2024 15:42:16 +0300 Subject: [PATCH] Fixes #2726. Update expected errors positions (#2727) Update expected errors positions --- .../Augmentation-libraries/augmenting_types_A06_t04.dart | 3 +++ .../Augmentation-libraries/augmenting_types_A06_t04_lib.dart | 3 --- .../Augmentation-libraries/augmenting_types_A06_t05.dart | 3 +++ .../Augmentation-libraries/augmenting_types_A06_t05_lib.dart | 3 --- .../Augmentation-libraries/augmenting_types_A06_t06.dart | 3 +++ .../Augmentation-libraries/augmenting_types_A06_t06_lib.dart | 3 --- .../Augmentation-libraries/augmenting_types_A06_t07_lib.dart | 3 --- 7 files changed, 9 insertions(+), 12 deletions(-) diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t04.dart b/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t04.dart index a39269cd2b..ef3e3a73f6 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t04.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t04.dart @@ -25,6 +25,9 @@ abstract interface class I { abstract class A implements I {} abstract class C implements I {} +// ^ +// [analyzer] unspecified +// [cfe] unspecified main() { print(C); diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t04_lib.dart b/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t04_lib.dart index 77c990c0c6..3d1cb8bea1 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t04_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t04_lib.dart @@ -19,6 +19,3 @@ augment library 'augmenting_types_A06_t04.dart'; augment abstract class C extends A {} -// ^ -// [analyzer] unspecified -// [cfe] unspecified diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t05.dart b/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t05.dart index 32c3caf72e..e40fed6fd8 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t05.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t05.dart @@ -27,6 +27,9 @@ class A { } class C with M {} +// ^ +// [analyzer] unspecified +// [cfe] unspecified main() { print(C); diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t05_lib.dart b/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t05_lib.dart index 37aa7bea7a..71e316051d 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t05_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t05_lib.dart @@ -19,6 +19,3 @@ augment library 'augmenting_types_A06_t05.dart'; augment class C extends A {} -// ^ -// [analyzer] unspecified -// [cfe] unspecified diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t06.dart b/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t06.dart index 76b4b8ec04..4bb3d54273 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t06.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t06.dart @@ -18,6 +18,9 @@ import augment 'augmenting_types_A06_t06_lib.dart'; class C {} +// ^ +// [analyzer] unspecified +// [cfe] unspecified main() { print(C); diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t06_lib.dart b/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t06_lib.dart index a13033b57f..c5e594c699 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t06_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t06_lib.dart @@ -18,6 +18,3 @@ augment library 'augmenting_types_A06_t06.dart'; augment class C extends C {} -// ^ -// [analyzer] unspecified -// [cfe] unspecified diff --git a/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t07_lib.dart b/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t07_lib.dart index 9f83fda86d..76c89362d3 100644 --- a/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t07_lib.dart +++ b/LanguageFeatures/Augmentation-libraries/augmenting_types_A06_t07_lib.dart @@ -22,6 +22,3 @@ augment library 'augmenting_types_A06_t07.dart'; augment class C1 extends A {} augment abstract class C2 extends A {} -// ^ -// [analyzer] unspecified -// [cfe] unspecified