#389. Fixed static warnings processing
diff --git a/LanguageFeatures/nnbd/static_errors_A20_t03.dart b/LanguageFeatures/nnbd/static_errors_A20_t03.dart
index 0adb264..866c487 100644
--- a/LanguageFeatures/nnbd/static_errors_A20_t03.dart
+++ b/LanguageFeatures/nnbd/static_errors_A20_t03.dart
@@ -23,25 +23,10 @@
main() {
A a = A();
CAlias c = C();
- c?.test();
-// ^^
-// [analyzer] unspecified
-// [cfe] unspecified
- c?..test();
-// ^^^
-// [analyzer] unspecified
-// [cfe] unspecified
- c ?? a;
-// ^^
-// [analyzer] unspecified
-// [cfe] unspecified
- a ??= c;
-// ^^^
-// [analyzer] unspecified
-// [cfe] unspecified
- List<CAlias?> clist = [C(), C(), null];
- List<A> alist = [A(), C(), ...? clist];
-// ^^^^
-// [analyzer] unspecified
-// [cfe] unspecified
+ c?.test(); //# 01: static-type warning
+ c?..test(); //# 02: static-type warning
+ c ?? a; //# 03: static-type warning
+ a ??= c; //# 04: static-type warning
+ List<CAlias?> clist = [C(), C(), null]; //# 05: static-type warning
+ List<A> alist = [A(), C(), ...? clist]; //# 06: static-type warning
}
diff --git a/LanguageFeatures/nnbd/static_errors_A20_t04.dart b/LanguageFeatures/nnbd/static_errors_A20_t04.dart
index 36e8f34..73e8b3f 100644
--- a/LanguageFeatures/nnbd/static_errors_A20_t04.dart
+++ b/LanguageFeatures/nnbd/static_errors_A20_t04.dart
@@ -16,25 +16,10 @@
main() {
A a = A();
- a?.foo();
-// ^^
-// [analyzer] unspecified
-// [cfe] unspecified
- a?..foo();
-// ^^^
-// [analyzer] unspecified
-// [cfe] unspecified
- a ?? new Object();
-// ^^
-// [analyzer] unspecified
-// [cfe] unspecified
- a ??= new Object();
-// ^^^
-// [analyzer] unspecified
-// [cfe] unspecified
+ a?.foo(); //# 01: static-type warning
+ a?..foo(); //# 02: static-type warning
+ a ?? new Object(); //# 03: static-type warning
+ a ??= new Object(); //# 04: static-type warning
List<A?> list = [A(), null];
- List<A> alist = [A(), A(), ...? list];
-// ^^^^
-// [analyzer] unspecified
-// [cfe] unspecified
+ List<A> alist = [A(), A(), ...? list]; //# 05: static-type warning
}