#1086. @compile-error replaced by static errors
diff --git a/Language/Classes/Abstract_Instance_Members/inherited_t01.dart b/Language/Classes/Abstract_Instance_Members/inherited_t01.dart
index 6da3539..0f05bb4 100644
--- a/Language/Classes/Abstract_Instance_Members/inherited_t01.dart
+++ b/Language/Classes/Abstract_Instance_Members/inherited_t01.dart
@@ -11,12 +11,12 @@
/// declared in a concrete class.
/// @author kaigorodov
-
class A {
+// ^
+// [cfe] unspecified
foo([x]);
//^^^^^^^^^
// [analyzer] unspecified
-// [cfe] unspecified
}
class B extends A {
diff --git a/Language/Classes/Abstract_Instance_Members/inherited_t03.dart b/Language/Classes/Abstract_Instance_Members/inherited_t03.dart
index 91d23c8..c7a8991 100644
--- a/Language/Classes/Abstract_Instance_Members/inherited_t03.dart
+++ b/Language/Classes/Abstract_Instance_Members/inherited_t03.dart
@@ -11,12 +11,12 @@
/// declared in a concrete class.
/// @author kaigorodov
-
class A {
+// ^
+// [cfe] unspecified
int get foo;
//^^^^^^^^^^^^
// [analyzer] unspecified
-// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Abstract_Instance_Members/inherited_t05.dart b/Language/Classes/Abstract_Instance_Members/inherited_t05.dart
index 0919261..093342b 100644
--- a/Language/Classes/Abstract_Instance_Members/inherited_t05.dart
+++ b/Language/Classes/Abstract_Instance_Members/inherited_t05.dart
@@ -13,10 +13,12 @@
class A {
+// ^
+// [cfe] unspecified
+
set foo(int v);
//^^^^^^^^^^^^^^^
// [analyzer] unspecified
-// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Abstract_Instance_Members/inherited_t07.dart b/Language/Classes/Abstract_Instance_Members/inherited_t07.dart
index 321d8bd..8f65f15 100644
--- a/Language/Classes/Abstract_Instance_Members/inherited_t07.dart
+++ b/Language/Classes/Abstract_Instance_Members/inherited_t07.dart
@@ -9,7 +9,6 @@
/// Object.
/// @description Checks that there is no compile error if an abstract
/// method is declared in a concrete class and it overrides a concrete method.
-/// @static-clean
/// @author ngl@unipro.ru
diff --git a/Language/Classes/Abstract_Instance_Members/inherited_t08.dart b/Language/Classes/Abstract_Instance_Members/inherited_t08.dart
index d910091..a9a141e 100644
--- a/Language/Classes/Abstract_Instance_Members/inherited_t08.dart
+++ b/Language/Classes/Abstract_Instance_Members/inherited_t08.dart
@@ -10,7 +10,6 @@
/// @description Checks that there is no compile error if an abstract
/// method is inherited in a concrete class and this class declared method
/// noSuchMethod() that overrides method from class Object.
-/// @static-clean
/// @author ngl@unipro.ru
diff --git a/Language/Classes/Abstract_Instance_Members/inherited_t09.dart b/Language/Classes/Abstract_Instance_Members/inherited_t09.dart
index e2e073b..0dca3e2 100644
--- a/Language/Classes/Abstract_Instance_Members/inherited_t09.dart
+++ b/Language/Classes/Abstract_Instance_Members/inherited_t09.dart
@@ -10,7 +10,6 @@
/// @description Checks that there is no compile error if an abstract getter
/// is declared in a concrete class overrides a concrete getter declared in a
/// superclass.
-/// @static-clean
/// @author ngl@unipro.ru
diff --git a/Language/Classes/Abstract_Instance_Members/inherited_t10.dart b/Language/Classes/Abstract_Instance_Members/inherited_t10.dart
index 9f445e0..03c969a 100644
--- a/Language/Classes/Abstract_Instance_Members/inherited_t10.dart
+++ b/Language/Classes/Abstract_Instance_Members/inherited_t10.dart
@@ -10,7 +10,6 @@
/// @description Checks that there is no compile error if an abstract getter
/// is declared in a concrete class and this class declared noSuchMethod()
/// method that overrides method Object.noSuchMethod.
-/// @static-clean
/// @author ngl@unipro.ru
diff --git a/Language/Classes/Abstract_Instance_Members/inherited_t11.dart b/Language/Classes/Abstract_Instance_Members/inherited_t11.dart
index b5622e7..80f989d 100644
--- a/Language/Classes/Abstract_Instance_Members/inherited_t11.dart
+++ b/Language/Classes/Abstract_Instance_Members/inherited_t11.dart
@@ -9,7 +9,6 @@
/// Object.
/// @description Checks that there is no compile error if an abstract setter
/// is declared in a concrete class and it overrides concrete instance setter.
-/// @static-clean
/// @author ngl@unipro.ru
diff --git a/Language/Classes/Abstract_Instance_Members/inherited_t12.dart b/Language/Classes/Abstract_Instance_Members/inherited_t12.dart
index 961778c..d80d3e8 100644
--- a/Language/Classes/Abstract_Instance_Members/inherited_t12.dart
+++ b/Language/Classes/Abstract_Instance_Members/inherited_t12.dart
@@ -10,7 +10,6 @@
/// @description Checks that there is no compile error if an abstract setter
/// is declared in a concrete class and this class declares noSuchMethod()
/// method that overrides method Object.noSuchMethod.
-/// @static-clean
/// @author ngl@unipro.ru
diff --git a/Language/Classes/Abstract_Instance_Members/inherited_t13.dart b/Language/Classes/Abstract_Instance_Members/inherited_t13.dart
index d591a36..ed85d4d 100644
--- a/Language/Classes/Abstract_Instance_Members/inherited_t13.dart
+++ b/Language/Classes/Abstract_Instance_Members/inherited_t13.dart
@@ -14,10 +14,12 @@
// SharedOptions=--enable-experiment=nonfunction-type-aliases
class A {
+// ^
+// [cfe] unspecified
+
foo([x]);
//^^^^^^^^^
// [analyzer] unspecified
-// [cfe] unspecified
}
typedef AAlias = A;
diff --git a/Language/Classes/Abstract_Instance_Members/inherited_t15.dart b/Language/Classes/Abstract_Instance_Members/inherited_t15.dart
index 9ef3dc6..3cd52c0 100644
--- a/Language/Classes/Abstract_Instance_Members/inherited_t15.dart
+++ b/Language/Classes/Abstract_Instance_Members/inherited_t15.dart
@@ -10,7 +10,6 @@
/// @description Checks that there is no compile error if an abstract
/// method is declared in a concrete class and it overrides a concrete method.
/// Test type aliases
-/// @static-clean
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
diff --git a/Language/Classes/Abstract_Instance_Members/override_default_value_t07.dart b/Language/Classes/Abstract_Instance_Members/override_default_value_t07.dart
index 145c9f3..9369a47 100644
--- a/Language/Classes/Abstract_Instance_Members/override_default_value_t07.dart
+++ b/Language/Classes/Abstract_Instance_Members/override_default_value_t07.dart
@@ -11,7 +11,6 @@
/// @description Checks that there are no static warnings if an abstract method
/// overrides another abstract method and overridden method does not explicitly
/// specify a default value for its optional parameter.
-/// @static-clean
/// @author msyabro
diff --git a/Language/Classes/Abstract_Instance_Members/override_default_value_t08.dart b/Language/Classes/Abstract_Instance_Members/override_default_value_t08.dart
index a4918ff..bf780fc 100644
--- a/Language/Classes/Abstract_Instance_Members/override_default_value_t08.dart
+++ b/Language/Classes/Abstract_Instance_Members/override_default_value_t08.dart
@@ -11,7 +11,6 @@
/// @description Checks that there are no static warnings if an abstract method
/// overrides an instance method and overridden method does not explicitly
/// specify a default value for its optional parameter.
-/// @static-clean
/// @author msyabro
diff --git a/Language/Classes/Abstract_Instance_Members/override_default_value_t09.dart b/Language/Classes/Abstract_Instance_Members/override_default_value_t09.dart
index f7a7c26..316608f 100644
--- a/Language/Classes/Abstract_Instance_Members/override_default_value_t09.dart
+++ b/Language/Classes/Abstract_Instance_Members/override_default_value_t09.dart
@@ -11,7 +11,6 @@
/// @description Checks that there are no static warnings if an instance method
/// overrides an abstract method and overridden method does not explicitly
/// specify a default value for its optional parameter.
-/// @static-clean
/// @author msyabro
diff --git a/Language/Classes/Abstract_Instance_Members/override_no_named_parameters_t02.dart b/Language/Classes/Abstract_Instance_Members/override_no_named_parameters_t02.dart
index 34fb932..d94eb55 100644
--- a/Language/Classes/Abstract_Instance_Members/override_no_named_parameters_t02.dart
+++ b/Language/Classes/Abstract_Instance_Members/override_no_named_parameters_t02.dart
@@ -9,7 +9,6 @@
/// @description Checks that a compile error is not produced when the overriding
/// non-abstract instance method has more named parameters than the abstract
/// method being overridden and neither have any required parameters.
-/// @static-clean
/// @author rodionov
diff --git a/Language/Classes/Abstract_Instance_Members/override_no_named_parameters_t03.dart b/Language/Classes/Abstract_Instance_Members/override_no_named_parameters_t03.dart
index 112820e..474f97d 100644
--- a/Language/Classes/Abstract_Instance_Members/override_no_named_parameters_t03.dart
+++ b/Language/Classes/Abstract_Instance_Members/override_no_named_parameters_t03.dart
@@ -10,7 +10,6 @@
/// non-abstract instance method has more named parameters than the abstract
/// method being overridden and both have the same non-zero number of required
/// parameters of the same type.
-/// @static-clean
/// @author rodionov
diff --git a/Language/Classes/Abstract_Instance_Members/override_no_named_parameters_t04.dart b/Language/Classes/Abstract_Instance_Members/override_no_named_parameters_t04.dart
index 07dadc7..21cbe05 100644
--- a/Language/Classes/Abstract_Instance_Members/override_no_named_parameters_t04.dart
+++ b/Language/Classes/Abstract_Instance_Members/override_no_named_parameters_t04.dart
@@ -9,7 +9,6 @@
/// @description Checks that no compile error is produced when the overriding
/// abstract method has the same set of named parameters as the non-abstract
/// instance method being overriden, but in a different order.
-/// @static-clean
/// @author rodionov
import "../../../Utils/expect.dart";
diff --git a/Language/Classes/Constructors/Constant_Constructors/initializer_not_a_constant_t03.dart b/Language/Classes/Constructors/Constant_Constructors/initializer_not_a_constant_t03.dart
index 3b6c094..79b87be 100644
--- a/Language/Classes/Constructors/Constant_Constructors/initializer_not_a_constant_t03.dart
+++ b/Language/Classes/Constructors/Constant_Constructors/initializer_not_a_constant_t03.dart
@@ -10,7 +10,6 @@
/// non-constant expression.
/// @author sgrekhov@unipro.ru
-
class C {
static final y = 1;
@@ -25,4 +24,6 @@
main() {
const C();
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Classes/Constructors/Constant_Constructors/syntax_t04.dart b/Language/Classes/Constructors/Constant_Constructors/syntax_t04.dart
index b3db906..196f529 100644
--- a/Language/Classes/Constructors/Constant_Constructors/syntax_t04.dart
+++ b/Language/Classes/Constructors/Constant_Constructors/syntax_t04.dart
@@ -22,4 +22,6 @@
main() {
const A();
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Classes/Constructors/Factories/return_type_t01.dart b/Language/Classes/Constructors/Factories/return_type_t01.dart
index 855de06..33d7b94 100644
--- a/Language/Classes/Constructors/Factories/return_type_t01.dart
+++ b/Language/Classes/Constructors/Factories/return_type_t01.dart
@@ -9,7 +9,6 @@
/// @description Checks that result of invoking factory constructor of the form
/// M or M.id can be assigned to the variables whose types are assignable to M
/// and no static warnings are produced.
-/// @static-clean
/// @author iefremov
diff --git a/Language/Classes/Constructors/Factories/return_type_t04.dart b/Language/Classes/Constructors/Factories/return_type_t04.dart
index cfc5b03..7ee0581 100644
--- a/Language/Classes/Constructors/Factories/return_type_t04.dart
+++ b/Language/Classes/Constructors/Factories/return_type_t04.dart
@@ -10,7 +10,6 @@
/// constructor to a variable whose type is assignable to M<T1,...,Tn> does not
/// result in a static warning. Factory constructor name is that of its
/// enclosing class.
-/// @static-clean
/// @author iefremov
diff --git a/Language/Classes/Constructors/Factories/return_type_t05.dart b/Language/Classes/Constructors/Factories/return_type_t05.dart
index c70f5b1..61f48a0 100644
--- a/Language/Classes/Constructors/Factories/return_type_t05.dart
+++ b/Language/Classes/Constructors/Factories/return_type_t05.dart
@@ -9,7 +9,6 @@
/// @description Checks that assigning the result of invoking a factory
/// constructor to a variable whose type is assignable to M<T1,...,Tn> does not
/// result in a static warning.
-/// @static-clean
/// @author rodionov
diff --git a/Language/Classes/Constructors/Generative_Constructors/execution_of_an_initializer_t02.dart b/Language/Classes/Constructors/Generative_Constructors/execution_of_an_initializer_t02.dart
index a915763..d5f2b14 100644
--- a/Language/Classes/Constructors/Generative_Constructors/execution_of_an_initializer_t02.dart
+++ b/Language/Classes/Constructors/Generative_Constructors/execution_of_an_initializer_t02.dart
@@ -19,9 +19,6 @@
class C {
final x = 1;
-// ^
-// [cfe] unspecified
-
C() : this.x = 2 {}
// ^
// [analyzer] unspecified
diff --git a/Language/Classes/Constructors/Generative_Constructors/final_variables_t02.dart b/Language/Classes/Constructors/Generative_Constructors/final_variables_t02.dart
index 1576daf..5b13742 100644
--- a/Language/Classes/Constructors/Generative_Constructors/final_variables_t02.dart
+++ b/Language/Classes/Constructors/Generative_Constructors/final_variables_t02.dart
@@ -12,7 +12,6 @@
/// @description Checks that no static warning occurs when all final variables
/// are initialized either at the declaration, via constructor's initializing
/// formal, or via an intializer in constructor's intializer list.
-/// @static-clean
/// @author vasya
diff --git a/Language/Classes/Constructors/Generative_Constructors/syntax_t06.dart b/Language/Classes/Constructors/Generative_Constructors/syntax_t06.dart
index b05c112..d319bb4 100644
--- a/Language/Classes/Constructors/Generative_Constructors/syntax_t06.dart
+++ b/Language/Classes/Constructors/Generative_Constructors/syntax_t06.dart
@@ -10,6 +10,8 @@
class C {
+// ^
+// [cfe] unspecified
C.c1.c2();
//^
// [analyzer] unspecified
diff --git a/Language/Classes/Getters/same_name_method_t10.dart b/Language/Classes/Getters/same_name_method_t10.dart
index 3be489e..822c737 100644
--- a/Language/Classes/Getters/same_name_method_t10.dart
+++ b/Language/Classes/Getters/same_name_method_t10.dart
@@ -14,9 +14,10 @@
static get foo { throw new C(); }
// ^
// [analyzer] unspecified
-// [cfe] unspecified
foo() { throw new C(); }
+//^
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Getters/same_name_method_t11.dart b/Language/Classes/Getters/same_name_method_t11.dart
index 5fa2892..2c242ad 100644
--- a/Language/Classes/Getters/same_name_method_t11.dart
+++ b/Language/Classes/Getters/same_name_method_t11.dart
@@ -14,9 +14,11 @@
static var foo;
// ^
// [analyzer] unspecified
-// [cfe] unspecified
foo() { throw C(); }
+//^
+// [cfe] unspecified
+
}
main() {
diff --git a/Language/Classes/Getters/void_return_type_t01.dart b/Language/Classes/Getters/void_return_type_t01.dart
index 3868df7..840618e 100644
--- a/Language/Classes/Getters/void_return_type_t01.dart
+++ b/Language/Classes/Getters/void_return_type_t01.dart
@@ -5,7 +5,6 @@
/// @assertion It is a static warning if the return type of a getter is void.
/// @description Checks that with a generalized void it is no static warning if
/// the return type of declared getter is void.
-/// @static-clean
/// @author ngl@unipro.ru
diff --git a/Language/Classes/Instance_Methods/Operators/allowed_names_t02.dart b/Language/Classes/Instance_Methods/Operators/allowed_names_t02.dart
index ca6e203..a2fca09 100644
--- a/Language/Classes/Instance_Methods/Operators/allowed_names_t02.dart
+++ b/Language/Classes/Instance_Methods/Operators/allowed_names_t02.dart
@@ -5,12 +5,14 @@
/// @assertion The following names are allowed for user-defined operators:
/// <, >, <=, >=, ==, -, +, /, ˜/, *, %, |, ˆ, &, <<, >>, >>>, []=, [], ˜.
/// @description Checks that operator != cannot be defined in a user class.
-/// @compile-error
/// @author vasya
class C {
operator !=(other) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/allowed_names_t03.dart b/Language/Classes/Instance_Methods/Operators/allowed_names_t03.dart
index 26c51c0..36edad1 100644
--- a/Language/Classes/Instance_Methods/Operators/allowed_names_t03.dart
+++ b/Language/Classes/Instance_Methods/Operators/allowed_names_t03.dart
@@ -5,15 +5,20 @@
/// @assertion The following names are allowed for user-defined operators:
/// <, >, <=, >=, ==, -, +, /, ˜/, *, %, |, ˆ, &, <<, >>, >>>, []=, [], ˜.
/// @description Checks that operator !== cannot be defined in a user class.
-/// @compile-error
/// @author iefremov
class C {
operator !==(other) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C() !== new C();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/Instance_Methods/Operators/allowed_names_t04.dart b/Language/Classes/Instance_Methods/Operators/allowed_names_t04.dart
index f287f32..10c293a 100644
--- a/Language/Classes/Instance_Methods/Operators/allowed_names_t04.dart
+++ b/Language/Classes/Instance_Methods/Operators/allowed_names_t04.dart
@@ -5,14 +5,19 @@
/// @assertion The following names are allowed for user-defined operators:
/// <, >, <=, >=, ==, -, +, /, ˜/, *, %, |, ˆ, &, <<, >>, >>>, []=, [], ˜.
/// @description Checks that operator === cannot be defined in a user class.
-/// @compile-error
/// @author iefremov
class C {
operator ===(other) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C() === new C();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/Instance_Methods/Operators/allowed_names_t05.dart b/Language/Classes/Instance_Methods/Operators/allowed_names_t05.dart
index 311fde1..a6d2e7c 100644
--- a/Language/Classes/Instance_Methods/Operators/allowed_names_t05.dart
+++ b/Language/Classes/Instance_Methods/Operators/allowed_names_t05.dart
@@ -5,15 +5,21 @@
/// @assertion The following names are allowed for user-defined operators:
/// <, >, <=, >=, ==, -, +, /, ˜/, *, %, |, ˆ, &, <<, >>, >>>, []=, [], ˜.
/// @description Checks that operator ! cannot be defined in a user class.
-/// @compile-error
/// @author iefremov
class C {
bool operator !() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C? c = new C();
c!;
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+//^
+// [cfe] Operand of null-aware operation '!' has type 'C' which excludes null.
}
diff --git a/Language/Classes/Instance_Methods/Operators/allowed_names_t06.dart b/Language/Classes/Instance_Methods/Operators/allowed_names_t06.dart
index 3a0b41f..2c8f120 100644
--- a/Language/Classes/Instance_Methods/Operators/allowed_names_t06.dart
+++ b/Language/Classes/Instance_Methods/Operators/allowed_names_t06.dart
@@ -5,11 +5,13 @@
/// @assertion The following names are allowed for user-defined operators:
/// <, >, <=, >=, ==, -, +, /, ˜/, *, %, |, ˆ, &, <<, >>, >>>, []=, [], ˜.
/// @description Checks that operator = cannot be defined in a user class.
-/// @compile-error
class C {
operator =(x) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/allowed_names_t07.dart b/Language/Classes/Instance_Methods/Operators/allowed_names_t07.dart
index b0faf6b..f59f45d 100644
--- a/Language/Classes/Instance_Methods/Operators/allowed_names_t07.dart
+++ b/Language/Classes/Instance_Methods/Operators/allowed_names_t07.dart
@@ -5,15 +5,20 @@
/// @assertion The following names are allowed for user-defined operators:
/// <, >, <=, >=, ==, -, +, /, ˜/, *, %, |, ˆ, &, <<, >>, >>>, []=, [], ˜.
/// @description Checks that operator += cannot be defined in a user class.
-/// @compile-error
/// @author iefremov
class C {
operator +=(x) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C c = new C();
c += 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/Instance_Methods/Operators/allowed_names_t08.dart b/Language/Classes/Instance_Methods/Operators/allowed_names_t08.dart
index 298958b..aa06b61 100644
--- a/Language/Classes/Instance_Methods/Operators/allowed_names_t08.dart
+++ b/Language/Classes/Instance_Methods/Operators/allowed_names_t08.dart
@@ -5,15 +5,20 @@
/// @assertion The following names are allowed for user-defined operators:
/// <, >, <=, >=, ==, -, +, /, ˜/, *, %, |, ˆ, &, <<, >>, >>>, []=, [], ˜.
/// @description Checks that operator -= cannot be defined in a user class.
-/// @compile-error
/// @author iefremov
class C {
operator -=(x) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C c = new C();
c -= 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/Instance_Methods/Operators/allowed_names_t09.dart b/Language/Classes/Instance_Methods/Operators/allowed_names_t09.dart
index d9000bf..35aa535 100644
--- a/Language/Classes/Instance_Methods/Operators/allowed_names_t09.dart
+++ b/Language/Classes/Instance_Methods/Operators/allowed_names_t09.dart
@@ -5,15 +5,20 @@
/// @assertion The following names are allowed for user-defined operators:
/// <, >, <=, >=, ==, -, +, /, ˜/, *, %, |, ˆ, &, <<, >>, >>>, []=, [], ˜.
/// @description Checks that operator *= cannot be defined in a user class.
-/// @compile-error
/// @author iefremov
class C {
operator *=(x) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C c = new C();
c *= 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/Instance_Methods/Operators/allowed_names_t10.dart b/Language/Classes/Instance_Methods/Operators/allowed_names_t10.dart
index e2e2244..2a8b851 100644
--- a/Language/Classes/Instance_Methods/Operators/allowed_names_t10.dart
+++ b/Language/Classes/Instance_Methods/Operators/allowed_names_t10.dart
@@ -5,15 +5,20 @@
/// @assertion The following names are allowed for user-defined operators:
/// <, >, <=, >=, ==, -, +, /, ˜/, *, %, |, ˆ, &, <<, >>, >>>, []=, [], ˜.
/// @description Checks that operator /= cannot be defined in a user class.
-/// @compile-error
/// @author iefremov
class C {
operator /=(x) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C c = new C();
c /= 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/Instance_Methods/Operators/allowed_names_t11.dart b/Language/Classes/Instance_Methods/Operators/allowed_names_t11.dart
index 649d53a..3dc7fe4 100644
--- a/Language/Classes/Instance_Methods/Operators/allowed_names_t11.dart
+++ b/Language/Classes/Instance_Methods/Operators/allowed_names_t11.dart
@@ -5,15 +5,20 @@
/// @assertion The following names are allowed for user-defined operators:
/// <, >, <=, >=, ==, -, +, /, ˜/, *, %, |, ˆ, &, <<, >>, >>>, []=, [], ˜.
/// @description Checks that operator ~/= cannot be defined in a user class.
-/// @compile-error
/// @author iefremov
class C {
operator ~/=(x) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C c = new C();
c ~/= 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/Instance_Methods/Operators/allowed_names_t12.dart b/Language/Classes/Instance_Methods/Operators/allowed_names_t12.dart
index 4f6dbf0..84418aa 100644
--- a/Language/Classes/Instance_Methods/Operators/allowed_names_t12.dart
+++ b/Language/Classes/Instance_Methods/Operators/allowed_names_t12.dart
@@ -5,15 +5,20 @@
/// @assertion The following names are allowed for user-defined operators:
/// <, >, <=, >=, ==, -, +, /, ˜/, *, %, |, ˆ, &, <<, >>, >>>, []=, [], ˜.
/// @description Checks that operator %= cannot be defined in a user class.
-/// @compile-error
/// @author iefremov
class C {
operator %=(x) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C c = new C();
c %= 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/Instance_Methods/Operators/allowed_names_t13.dart b/Language/Classes/Instance_Methods/Operators/allowed_names_t13.dart
index ab762b0..00a9c24 100644
--- a/Language/Classes/Instance_Methods/Operators/allowed_names_t13.dart
+++ b/Language/Classes/Instance_Methods/Operators/allowed_names_t13.dart
@@ -5,15 +5,20 @@
/// @assertion The following names are allowed for user-defined operators:
/// <, >, <=, >=, ==, -, +, /, ˜/, *, %, |, ˆ, &, <<, >>, >>>, []=, [], ˜.
/// @description Checks that operator <<= cannot be defined in a user class.
-/// @compile-error
/// @author iefremov
class C {
operator <<=(x) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C c = new C();
c <<= 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/Instance_Methods/Operators/allowed_names_t14.dart b/Language/Classes/Instance_Methods/Operators/allowed_names_t14.dart
index ae6eebd..98aa28d 100644
--- a/Language/Classes/Instance_Methods/Operators/allowed_names_t14.dart
+++ b/Language/Classes/Instance_Methods/Operators/allowed_names_t14.dart
@@ -5,15 +5,20 @@
/// @assertion The following names are allowed for user-defined operators:
/// <, >, <=, >=, ==, -, +, /, ˜/, *, %, |, ˆ, &, <<, >>, >>>, []=, [], ˜.
/// @description Checks that operator >>= cannot be defined in a user class.
-/// @compile-error
/// @author iefremov
class C {
operator >>=(x) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C c = new C();
c >>= 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/Instance_Methods/Operators/allowed_names_t15.dart b/Language/Classes/Instance_Methods/Operators/allowed_names_t15.dart
index c2ed8fc..6f57b2a 100644
--- a/Language/Classes/Instance_Methods/Operators/allowed_names_t15.dart
+++ b/Language/Classes/Instance_Methods/Operators/allowed_names_t15.dart
@@ -5,15 +5,20 @@
/// @assertion The following names are allowed for user-defined operators:
/// <, >, <=, >=, ==, -, +, /, ˜/, *, %, |, ˆ, &, <<, >>, >>>, []=, [], ˜.
/// @description Checks that operator &= cannot be defined in a user class.
-/// @compile-error
/// @author iefremov
class C {
operator &=(x) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C c = new C();
c &= 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/Instance_Methods/Operators/allowed_names_t16.dart b/Language/Classes/Instance_Methods/Operators/allowed_names_t16.dart
index 1e8b31b..83e91f2 100644
--- a/Language/Classes/Instance_Methods/Operators/allowed_names_t16.dart
+++ b/Language/Classes/Instance_Methods/Operators/allowed_names_t16.dart
@@ -5,15 +5,20 @@
/// @assertion The following names are allowed for user-defined operators:
/// <, >, <=, >=, ==, -, +, /, ˜/, *, %, |, ˆ, &, <<, >>, >>>, []=, [], ˜.
/// @description Checks that operator |= cannot be defined in a user class.
-/// @compile-error
/// @author iefremov
class C {
operator |=(x) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C c = new C();
c |= 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/Instance_Methods/Operators/allowed_names_t17.dart b/Language/Classes/Instance_Methods/Operators/allowed_names_t17.dart
index 3fc0153..adc3298 100644
--- a/Language/Classes/Instance_Methods/Operators/allowed_names_t17.dart
+++ b/Language/Classes/Instance_Methods/Operators/allowed_names_t17.dart
@@ -5,15 +5,20 @@
/// @assertion The following names are allowed for user-defined operators:
/// <, >, <=, >=, ==, -, +, /, ˜/, *, %, |, ˆ, &, <<, >>, >>>, []=, [], ˜.
/// @description Checks that operator ^= cannot be defined in a user class.
-/// @compile-error
/// @author iefremov
class C {
operator ^=(x) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C c = new C();
c ^= 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/Instance_Methods/Operators/allowed_names_t18.dart b/Language/Classes/Instance_Methods/Operators/allowed_names_t18.dart
index b5eb108..bfd3174 100644
--- a/Language/Classes/Instance_Methods/Operators/allowed_names_t18.dart
+++ b/Language/Classes/Instance_Methods/Operators/allowed_names_t18.dart
@@ -5,15 +5,20 @@
/// @assertion The following names are allowed for user-defined operators:
/// <, >, <=, >=, ==, -, +, /, ˜/, *, %, |, ˆ, &, <<, >>, >>>, []=, [], ˜.
/// @description Checks that operator ++ cannot be defined in a user class.
-/// @compile-error
/// @author iefremov
class C {
operator ++() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C c = new C();
c++;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/Instance_Methods/Operators/allowed_names_t19.dart b/Language/Classes/Instance_Methods/Operators/allowed_names_t19.dart
index 4b4e061..86b8856 100644
--- a/Language/Classes/Instance_Methods/Operators/allowed_names_t19.dart
+++ b/Language/Classes/Instance_Methods/Operators/allowed_names_t19.dart
@@ -5,15 +5,20 @@
/// @assertion The following names are allowed for user-defined operators:
/// <, >, <=, >=, ==, -, +, /, ˜/, *, %, |, ˆ, &, <<, >>, >>>, []=, [], ˜.
/// @description Checks that operator -- cannot be defined in a user class.
-/// @compile-error
/// @author iefremov
class C {
operator --() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C c = new C();
c--;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/Instance_Methods/Operators/allowed_names_t20.dart b/Language/Classes/Instance_Methods/Operators/allowed_names_t20.dart
index 17d763b..1b2ea8a 100644
--- a/Language/Classes/Instance_Methods/Operators/allowed_names_t20.dart
+++ b/Language/Classes/Instance_Methods/Operators/allowed_names_t20.dart
@@ -5,12 +5,14 @@
/// @assertion The following names are allowed for user-defined operators:
/// <, >, <=, >=, ==, -, +, /, ˜/, *, %, |, ˆ, &, <<, >>, >>>, []=, [], ˜.
/// @description Checks that operator is cannot be defined in a user class.
-/// @compile-error
/// @author iefremov
class C {
operator is(x) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/allowed_names_t21.dart b/Language/Classes/Instance_Methods/Operators/allowed_names_t21.dart
index 68d2c5e..bfd82fb 100644
--- a/Language/Classes/Instance_Methods/Operators/allowed_names_t21.dart
+++ b/Language/Classes/Instance_Methods/Operators/allowed_names_t21.dart
@@ -5,12 +5,14 @@
/// @assertion The following names are allowed for user-defined operators:
/// <, >, <=, >=, ==, -, +, /, ˜/, *, %, |, ˆ, &, <<, >>, >>>, []=, [], ˜.
/// @description Checks that operator && cannot be defined in a user class.
-/// @compile-error
/// @author iefremov
class C {
operator &&(x) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/allowed_names_t22.dart b/Language/Classes/Instance_Methods/Operators/allowed_names_t22.dart
index bf62281..7654978 100644
--- a/Language/Classes/Instance_Methods/Operators/allowed_names_t22.dart
+++ b/Language/Classes/Instance_Methods/Operators/allowed_names_t22.dart
@@ -5,12 +5,14 @@
/// @assertion The following names are allowed for user-defined operators:
/// <, >, <=, >=, ==, -, +, /, ˜/, *, %, |, ˆ, &, <<, >>, >>>, []=, [], ˜.
/// @description Checks that operator || cannot be defined in a user class.
-/// @compile-error
/// @author iefremov
class C {
operator ||(x) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/allowed_names_t23.dart b/Language/Classes/Instance_Methods/Operators/allowed_names_t23.dart
index b74ea25..51c5f95 100644
--- a/Language/Classes/Instance_Methods/Operators/allowed_names_t23.dart
+++ b/Language/Classes/Instance_Methods/Operators/allowed_names_t23.dart
@@ -5,16 +5,21 @@
/// @assertion The following names are allowed for user-defined operators:
/// <, >, <=, >=, ==, -, +, /, ˜/, *, %, |, ˆ, &, <<, >>, >>>, []=, [], ˜.
/// @description Checks that operator <<< cannot be defined in a user class.
-/// @compile-error
/// @author iefremov
// SharedOptions=--enable-experiment=triple-shift
class C {
operator <<<(x) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C c = new C();
c <<< 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/Instance_Methods/Operators/arity_0_or_1_t02.dart b/Language/Classes/Instance_Methods/Operators/arity_0_or_1_t02.dart
index 1334c41..35192af 100644
--- a/Language/Classes/Instance_Methods/Operators/arity_0_or_1_t02.dart
+++ b/Language/Classes/Instance_Methods/Operators/arity_0_or_1_t02.dart
@@ -9,12 +9,14 @@
/// If it as an argument, it denotes binary subtraction.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator - specifies two parameters.
-/// @compile-error
/// @author kaigorodov
class C {
operator -(var val, var val2) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/arity_0_t02.dart b/Language/Classes/Instance_Methods/Operators/arity_0_t02.dart
index 0f10bf9..e17fb20 100644
--- a/Language/Classes/Instance_Methods/Operators/arity_0_t02.dart
+++ b/Language/Classes/Instance_Methods/Operators/arity_0_t02.dart
@@ -6,12 +6,14 @@
/// operator ~ is not 0.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator ~ specifies one parameter.
-/// @compile-error
/// @author vasya
class C {
operator ~(var v) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/arity_1_t01.dart b/Language/Classes/Instance_Methods/Operators/arity_1_t01.dart
index 010ee0b..38cc714 100644
--- a/Language/Classes/Instance_Methods/Operators/arity_1_t01.dart
+++ b/Language/Classes/Instance_Methods/Operators/arity_1_t01.dart
@@ -7,12 +7,14 @@
/// <, >, <=, >=, ==, -, +, ̃/, /, *, %, |, ˆ, &, <<, >>, >>>, [] is not 1.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator == specifies two parameters.
-/// @compile-error
/// @author vasya
class C {
operator ==(var val, var val2) => true;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/arity_1_t02.dart b/Language/Classes/Instance_Methods/Operators/arity_1_t02.dart
index a25c9e8..327f5ce 100644
--- a/Language/Classes/Instance_Methods/Operators/arity_1_t02.dart
+++ b/Language/Classes/Instance_Methods/Operators/arity_1_t02.dart
@@ -7,12 +7,14 @@
/// <, >, <=, >=, ==, -, +, ̃/, /, *, %, |, ˆ, &, <<, >>, >>>, [] is not 1.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator < specifies two parameters.
-/// @compile-error
/// @author vasya
class C {
operator <(var val, var val2) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/arity_1_t03.dart b/Language/Classes/Instance_Methods/Operators/arity_1_t03.dart
index 38574f4..b2b6889 100644
--- a/Language/Classes/Instance_Methods/Operators/arity_1_t03.dart
+++ b/Language/Classes/Instance_Methods/Operators/arity_1_t03.dart
@@ -7,12 +7,14 @@
/// <, >, <=, >=, ==, -, +, ̃/, /, *, %, |, ˆ, &, <<, >>, >>>, [] is not 1.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator > specifies two parameters.
-/// @compile-error
/// @author vasya
class C {
operator >(var val, var val2) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/arity_1_t04.dart b/Language/Classes/Instance_Methods/Operators/arity_1_t04.dart
index 36acc3e..1724780 100644
--- a/Language/Classes/Instance_Methods/Operators/arity_1_t04.dart
+++ b/Language/Classes/Instance_Methods/Operators/arity_1_t04.dart
@@ -7,12 +7,14 @@
/// <, >, <=, >=, ==, -, +, ̃/, /, *, %, |, ˆ, &, <<, >>, >>>, [] is not 1.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator <= specifies two parameters.
-/// @compile-error
/// @author vasya
class C {
operator <=(var val, var val2) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/arity_1_t05.dart b/Language/Classes/Instance_Methods/Operators/arity_1_t05.dart
index da0cb12..210e20d 100644
--- a/Language/Classes/Instance_Methods/Operators/arity_1_t05.dart
+++ b/Language/Classes/Instance_Methods/Operators/arity_1_t05.dart
@@ -7,12 +7,14 @@
/// <, >, <=, >=, ==, -, +, ̃/, /, *, %, |, ˆ, &, <<, >>, >>>, [] is not 1.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator >= specifies two parameters.
-/// @compile-error
/// @author vasya
class C {
operator >=(var val, var val2) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/arity_1_t06.dart b/Language/Classes/Instance_Methods/Operators/arity_1_t06.dart
index 1246f7c..24889d5 100644
--- a/Language/Classes/Instance_Methods/Operators/arity_1_t06.dart
+++ b/Language/Classes/Instance_Methods/Operators/arity_1_t06.dart
@@ -7,12 +7,14 @@
/// <, >, <=, >=, ==, -, +, ̃/, /, *, %, |, ˆ, &, <<, >>, >>>, [] is not 1.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator - specifies two parameters.
-/// @compile-error
/// @author vasya
class C {
operator -(var val, var val2) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/arity_1_t07.dart b/Language/Classes/Instance_Methods/Operators/arity_1_t07.dart
index fe69216..8f1e715 100644
--- a/Language/Classes/Instance_Methods/Operators/arity_1_t07.dart
+++ b/Language/Classes/Instance_Methods/Operators/arity_1_t07.dart
@@ -7,12 +7,14 @@
/// <, >, <=, >=, ==, -, +, ̃/, /, *, %, |, ˆ, &, <<, >>, >>>, [] is not 1.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator + specifies two parameters.
-/// @compile-error
/// @author vasya
class C {
operator +(var val, var val2) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/arity_1_t08.dart b/Language/Classes/Instance_Methods/Operators/arity_1_t08.dart
index 7d4f096..ac4a7d8 100644
--- a/Language/Classes/Instance_Methods/Operators/arity_1_t08.dart
+++ b/Language/Classes/Instance_Methods/Operators/arity_1_t08.dart
@@ -7,12 +7,14 @@
/// <, >, <=, >=, ==, -, +, ̃/, /, *, %, |, ˆ, &, <<, >>, >>>, [] is not 1.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator ~/ specifies two parameters.
-/// @compile-error
/// @author vasya
class C {
operator ~/(var val, var val2) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/arity_1_t09.dart b/Language/Classes/Instance_Methods/Operators/arity_1_t09.dart
index a1e5936..e028e71 100644
--- a/Language/Classes/Instance_Methods/Operators/arity_1_t09.dart
+++ b/Language/Classes/Instance_Methods/Operators/arity_1_t09.dart
@@ -7,12 +7,14 @@
/// <, >, <=, >=, ==, -, +, ̃/, /, *, %, |, ˆ, &, <<, >>, >>>, [] is not 1.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator / specifies two parameters.
-/// @compile-error
/// @author vasya
class C {
operator /(var val, var val2) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/arity_1_t10.dart b/Language/Classes/Instance_Methods/Operators/arity_1_t10.dart
index 1f48839..e17e7a8 100644
--- a/Language/Classes/Instance_Methods/Operators/arity_1_t10.dart
+++ b/Language/Classes/Instance_Methods/Operators/arity_1_t10.dart
@@ -7,12 +7,14 @@
/// <, >, <=, >=, ==, -, +, ̃/, /, *, %, |, ˆ, &, <<, >>, >>>, [] is not 1.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator * specifies two parameters.
-/// @compile-error
/// @author vasya
class C {
operator *(var val, var val2) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/arity_1_t11.dart b/Language/Classes/Instance_Methods/Operators/arity_1_t11.dart
index 91ec2d1..deae466 100644
--- a/Language/Classes/Instance_Methods/Operators/arity_1_t11.dart
+++ b/Language/Classes/Instance_Methods/Operators/arity_1_t11.dart
@@ -7,12 +7,14 @@
/// <, >, <=, >=, ==, -, +, ̃/, /, *, %, |, ˆ, &, <<, >>, >>>, [] is not 1.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator % specifies two parameters.
-/// @compile-error
/// @author vasya
class C {
operator %(var val, var val2) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/arity_1_t12.dart b/Language/Classes/Instance_Methods/Operators/arity_1_t12.dart
index 072f995..ef22035 100644
--- a/Language/Classes/Instance_Methods/Operators/arity_1_t12.dart
+++ b/Language/Classes/Instance_Methods/Operators/arity_1_t12.dart
@@ -7,12 +7,14 @@
/// <, >, <=, >=, ==, -, +, ̃/, /, *, %, |, ˆ, &, <<, >>, >>>, [] is not 1.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator & specifies two parameters.
-/// @compile-error
/// @author vasya
class C {
operator &(var val, var val2) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/arity_1_t13.dart b/Language/Classes/Instance_Methods/Operators/arity_1_t13.dart
index 7269b6f..ba8fc6a 100644
--- a/Language/Classes/Instance_Methods/Operators/arity_1_t13.dart
+++ b/Language/Classes/Instance_Methods/Operators/arity_1_t13.dart
@@ -7,12 +7,14 @@
/// <, >, <=, >=, ==, -, +, ̃/, /, *, %, |, ˆ, &, <<, >>, >>>, [] is not 1.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator << specifies two parameters.
-/// @compile-error
/// @author vasya
class C {
operator <<(var val, var val2) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/arity_1_t14.dart b/Language/Classes/Instance_Methods/Operators/arity_1_t14.dart
index e1906bf..7beeed1 100644
--- a/Language/Classes/Instance_Methods/Operators/arity_1_t14.dart
+++ b/Language/Classes/Instance_Methods/Operators/arity_1_t14.dart
@@ -7,12 +7,14 @@
/// <, >, <=, >=, ==, -, +, ̃/, /, *, %, |, ˆ, &, <<, >>, >>>, [] is not 1.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator >> specifies two parameters.
-/// @compile-error
/// @author vasya
class C {
operator >>(var val, var val2) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/arity_1_t15.dart b/Language/Classes/Instance_Methods/Operators/arity_1_t15.dart
index b3ecfba..348819c 100644
--- a/Language/Classes/Instance_Methods/Operators/arity_1_t15.dart
+++ b/Language/Classes/Instance_Methods/Operators/arity_1_t15.dart
@@ -7,12 +7,14 @@
/// <, >, <=, >=, ==, -, +, ̃/, /, *, %, |, ˆ, &, <<, >>, >>>, [] is not 1.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator [] specifies two parameters.
-/// @compile-error
/// @author vasya
class C {
operator [](var index, var val) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/arity_1_t16.dart b/Language/Classes/Instance_Methods/Operators/arity_1_t16.dart
index 9853382..5f5fd0c 100644
--- a/Language/Classes/Instance_Methods/Operators/arity_1_t16.dart
+++ b/Language/Classes/Instance_Methods/Operators/arity_1_t16.dart
@@ -7,12 +7,14 @@
/// <, >, <=, >=, ==, -, +, ̃/, /, *, %, |, ˆ, &, <<, >>, >>>, [] is not 1.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator [] specifies no parameters.
-/// @compile-error
/// @author iefremov
class C {
operator []() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/arity_1_t17.dart b/Language/Classes/Instance_Methods/Operators/arity_1_t17.dart
index 967a0a7..a57d996 100644
--- a/Language/Classes/Instance_Methods/Operators/arity_1_t17.dart
+++ b/Language/Classes/Instance_Methods/Operators/arity_1_t17.dart
@@ -7,12 +7,14 @@
/// <, >, <=, >=, ==, -, +, ̃/, /, *, %, |, ˆ, &, <<, >>, >>>, [] is not 1.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator | specifies two parameters.
-/// @compile-error
/// @author iefremov
class C {
operator |(var val, var val2) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/arity_1_t18.dart b/Language/Classes/Instance_Methods/Operators/arity_1_t18.dart
index 9975f81..7346e67 100644
--- a/Language/Classes/Instance_Methods/Operators/arity_1_t18.dart
+++ b/Language/Classes/Instance_Methods/Operators/arity_1_t18.dart
@@ -7,12 +7,14 @@
/// <, >, <=, >=, ==, -, +, ̃/, /, *, %, |, ˆ, &, <<, >>, >>>, [] is not 1.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator ^ specifies two parameters.
-/// @compile-error
/// @author iefremov
class C {
operator ^(var val, var val2) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/arity_1_t19.dart b/Language/Classes/Instance_Methods/Operators/arity_1_t19.dart
index e47e0bd..c2061f9 100644
--- a/Language/Classes/Instance_Methods/Operators/arity_1_t19.dart
+++ b/Language/Classes/Instance_Methods/Operators/arity_1_t19.dart
@@ -7,7 +7,6 @@
/// <, >, <=, >=, ==, -, +, ̃/, /, *, %, |, ˆ, &, <<, >>, >>>, [] is not 1.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator >>> specifies two parameters.
-/// @compile-error
/// @author iarkh@unipro.ru
/// @issue 42353
@@ -15,6 +14,9 @@
class C {
operator >>>(var val, var val2) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/arity_2_t01.dart b/Language/Classes/Instance_Methods/Operators/arity_2_t01.dart
index b07d26c..cb13fad 100644
--- a/Language/Classes/Instance_Methods/Operators/arity_2_t01.dart
+++ b/Language/Classes/Instance_Methods/Operators/arity_2_t01.dart
@@ -6,12 +6,14 @@
/// []= is not 2.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator []= specifies three parameters.
-/// @compile-error
/// @author vasya
class C {
operator []=(var index, var val, var val2) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/arity_2_t02.dart b/Language/Classes/Instance_Methods/Operators/arity_2_t02.dart
index afc8b62..a5001e1 100644
--- a/Language/Classes/Instance_Methods/Operators/arity_2_t02.dart
+++ b/Language/Classes/Instance_Methods/Operators/arity_2_t02.dart
@@ -6,12 +6,14 @@
/// []= is not 2.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator []= specifies a single parameter.
-/// @compile-error
/// @author iefremov
class C {
operator []=(var index) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/optional_parameter_t01.dart b/Language/Classes/Instance_Methods/Operators/optional_parameter_t01.dart
index d5d2e3c..106c422 100644
--- a/Language/Classes/Instance_Methods/Operators/optional_parameter_t01.dart
+++ b/Language/Classes/Instance_Methods/Operators/optional_parameter_t01.dart
@@ -6,12 +6,14 @@
/// operator.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator [] specifies an optional positional parameter.
-/// @compile-error
/// @author iefremov
class C {
operator []([var o]) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/optional_parameter_t02.dart b/Language/Classes/Instance_Methods/Operators/optional_parameter_t02.dart
index 725940c..c368d44 100644
--- a/Language/Classes/Instance_Methods/Operators/optional_parameter_t02.dart
+++ b/Language/Classes/Instance_Methods/Operators/optional_parameter_t02.dart
@@ -7,12 +7,14 @@
/// @description Checks that a compile-time error is produced if a user-defined
/// operator [] specifies an optional positional parameter in addition to the
/// required one.
-/// @compile-error
/// @author rodionov
class C {
operator [](var r, [var o]) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/optional_parameter_t03.dart b/Language/Classes/Instance_Methods/Operators/optional_parameter_t03.dart
index 381c641..1e8ab2e 100644
--- a/Language/Classes/Instance_Methods/Operators/optional_parameter_t03.dart
+++ b/Language/Classes/Instance_Methods/Operators/optional_parameter_t03.dart
@@ -6,12 +6,14 @@
/// operator.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator []= specifies one optional positional parameter.
-/// @compile-error
/// @author iefremov
class C {
operator []=([var v]) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/optional_parameter_t04.dart b/Language/Classes/Instance_Methods/Operators/optional_parameter_t04.dart
index 92b9c7d..a92bffe 100644
--- a/Language/Classes/Instance_Methods/Operators/optional_parameter_t04.dart
+++ b/Language/Classes/Instance_Methods/Operators/optional_parameter_t04.dart
@@ -7,12 +7,14 @@
/// @description Checks that a compile-time error is produced if a user-defined
/// operator []= specifies one optional positional parameter in addition to the
/// two required ones.
-/// @compile-error
/// @author rodionov
class C {
operator []=(var x, var y, [var o]) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/optional_parameter_t05.dart b/Language/Classes/Instance_Methods/Operators/optional_parameter_t05.dart
index 8440caf..09b25e6 100644
--- a/Language/Classes/Instance_Methods/Operators/optional_parameter_t05.dart
+++ b/Language/Classes/Instance_Methods/Operators/optional_parameter_t05.dart
@@ -6,14 +6,19 @@
/// operator.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator [] specifies one optional named parameter.
-/// @compile-error
/// @author ilya
class C {
operator []({var o}) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C()[];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/Instance_Methods/Operators/optional_parameter_t06.dart b/Language/Classes/Instance_Methods/Operators/optional_parameter_t06.dart
index e2486e0..f7a5e2a 100644
--- a/Language/Classes/Instance_Methods/Operators/optional_parameter_t06.dart
+++ b/Language/Classes/Instance_Methods/Operators/optional_parameter_t06.dart
@@ -7,12 +7,14 @@
/// @description Checks that a compile-time error is produced if a user-defined
/// operator [] specifies an optional named parameter in addition to the
/// required one.
-/// @compile-error
/// @author ilya
class C {
operator [](var r, {var o}) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/optional_parameter_t07.dart b/Language/Classes/Instance_Methods/Operators/optional_parameter_t07.dart
index 56d6514..bc47223 100644
--- a/Language/Classes/Instance_Methods/Operators/optional_parameter_t07.dart
+++ b/Language/Classes/Instance_Methods/Operators/optional_parameter_t07.dart
@@ -6,15 +6,20 @@
/// operator.
/// @description Checks that a compile-time error is produced if a user-defined
/// operator []= specifies one optional named parameter.
-/// @compile-error
/// @author ilya
class C {
operator []=({var v}) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C c = new C();
c[] = new C();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/Instance_Methods/Operators/optional_parameter_t08.dart b/Language/Classes/Instance_Methods/Operators/optional_parameter_t08.dart
index 66c6687..00b9b35 100644
--- a/Language/Classes/Instance_Methods/Operators/optional_parameter_t08.dart
+++ b/Language/Classes/Instance_Methods/Operators/optional_parameter_t08.dart
@@ -7,12 +7,14 @@
/// @description Checks that a compile-time error is produced if a user-defined
/// operator []= specifies one optional named parameter in addition to the two
/// required ones.
-/// @compile-error
/// @author ilya
class C {
operator []=(var x, var y, {var o}) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/syntax_t02.dart b/Language/Classes/Instance_Methods/Operators/syntax_t02.dart
index 11d8a29..629701b 100644
--- a/Language/Classes/Instance_Methods/Operators/syntax_t02.dart
+++ b/Language/Classes/Instance_Methods/Operators/syntax_t02.dart
@@ -19,12 +19,14 @@
/// ;
/// @description Checks that it is a compile-time error if an operator-specific
/// method name is used without the operator keyword.
-/// @compile-error
/// @author iefremov
class C {
int ~/(var v) => 42; /// compile-time error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/Operators/syntax_t04.dart b/Language/Classes/Instance_Methods/Operators/syntax_t04.dart
index 8f2e54a..655c25d 100644
--- a/Language/Classes/Instance_Methods/Operators/syntax_t04.dart
+++ b/Language/Classes/Instance_Methods/Operators/syntax_t04.dart
@@ -20,11 +20,13 @@
/// @description Checks that it is a compile-time error if a class defines an
/// operator without a formal parameter list.
/// @author iefremov
-/// @compile-error
class C {
int operator - {return 42;}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/override_fewer_parameters_t01.dart b/Language/Classes/Instance_Methods/override_fewer_parameters_t01.dart
index f9b380c..aab777f 100644
--- a/Language/Classes/Instance_Methods/override_fewer_parameters_t01.dart
+++ b/Language/Classes/Instance_Methods/override_fewer_parameters_t01.dart
@@ -7,7 +7,6 @@
/// @description Checks that it is a compile error if an instance method m1
/// overrides an instance member m2 and m1 has fewer positional parameters
/// than m2.
-/// @compile-error
/// @author kaigorodov
@@ -17,6 +16,9 @@
class C extends A {
foo(var a, [x]) {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/override_fewer_parameters_t02.dart b/Language/Classes/Instance_Methods/override_fewer_parameters_t02.dart
index ce38131..78f6637 100644
--- a/Language/Classes/Instance_Methods/override_fewer_parameters_t02.dart
+++ b/Language/Classes/Instance_Methods/override_fewer_parameters_t02.dart
@@ -7,7 +7,6 @@
/// @description Checks that a compile error is produced if m1 has fewer
/// optional positional parameters than m2 (2 vs 3) and neither have any
/// required parameters.
-/// @compile-error
/// @author vasya
@@ -17,6 +16,9 @@
class C extends A {
f([var x, var y]) {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/override_fewer_parameters_t03.dart b/Language/Classes/Instance_Methods/override_fewer_parameters_t03.dart
index 59e7fd7..94b2df5 100644
--- a/Language/Classes/Instance_Methods/override_fewer_parameters_t03.dart
+++ b/Language/Classes/Instance_Methods/override_fewer_parameters_t03.dart
@@ -7,7 +7,6 @@
/// @description Checks that a compile error is produced if m1 has fewer
/// optional positional parameters than m2 (2 vs 3) and neither have any
/// required parameters. Test type aliases
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -19,6 +18,9 @@
class C extends AAlias {
f([var x, var y]) {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/override_more_parameters_t01.dart b/Language/Classes/Instance_Methods/override_more_parameters_t01.dart
index 4b5263f..145ce8f 100644
--- a/Language/Classes/Instance_Methods/override_more_parameters_t01.dart
+++ b/Language/Classes/Instance_Methods/override_more_parameters_t01.dart
@@ -7,7 +7,6 @@
/// m2.
/// @description Checks that a compile error is produced if m2 has one required
/// parameter and m1 has two required parameters.
-/// @compile-error
/// @author vasya
@@ -17,6 +16,9 @@
class C extends A {
f(var x, var y) { return x + y; }
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/override_more_parameters_t02.dart b/Language/Classes/Instance_Methods/override_more_parameters_t02.dart
index d65a891..8dc875c 100644
--- a/Language/Classes/Instance_Methods/override_more_parameters_t02.dart
+++ b/Language/Classes/Instance_Methods/override_more_parameters_t02.dart
@@ -7,7 +7,6 @@
/// m2.
/// @description Checks that a compile error is produced if m2 has no parameters
/// and m1 has a single required parameter.
-/// @compile-error
/// @author iefremov
@@ -17,6 +16,9 @@
class C extends A {
f(var x) { }
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/override_more_parameters_t03.dart b/Language/Classes/Instance_Methods/override_more_parameters_t03.dart
index 25aeacb..98719d8 100644
--- a/Language/Classes/Instance_Methods/override_more_parameters_t03.dart
+++ b/Language/Classes/Instance_Methods/override_more_parameters_t03.dart
@@ -7,7 +7,6 @@
/// m2.
/// @description Checks that a compile error is produced if m2 has no parameters
/// and m1 has a single required parameter. Test type aliases
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -19,6 +18,9 @@
class C extends AAlias {
f(var x) { }
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/override_named_parameters_t01.dart b/Language/Classes/Instance_Methods/override_named_parameters_t01.dart
index 98363e2..45b1871 100644
--- a/Language/Classes/Instance_Methods/override_named_parameters_t01.dart
+++ b/Language/Classes/Instance_Methods/override_named_parameters_t01.dart
@@ -8,7 +8,6 @@
/// @description Checks that it is a compile error if an instance method m1
/// overrides an instance member m2 and m1 does not declare all the named
/// parameters declared by m2.
-/// @compile-error
/// @author rodionov
@@ -18,6 +17,9 @@
class C extends A {
foo(var a, {x}) {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/override_named_parameters_t02.dart b/Language/Classes/Instance_Methods/override_named_parameters_t02.dart
index 84aa4ed..1b00c71 100644
--- a/Language/Classes/Instance_Methods/override_named_parameters_t02.dart
+++ b/Language/Classes/Instance_Methods/override_named_parameters_t02.dart
@@ -7,7 +7,6 @@
/// by m2.
/// @description Checks that a compile error is produced if m1 has fewer named
/// parameters than m2 (1 vs. 0) and neither have any required parameters.
-/// @compile-error
/// @author iefremov
@@ -17,6 +16,9 @@
class C extends A {
f() {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/override_named_parameters_t03.dart b/Language/Classes/Instance_Methods/override_named_parameters_t03.dart
index ca1bac1..91c319b 100644
--- a/Language/Classes/Instance_Methods/override_named_parameters_t03.dart
+++ b/Language/Classes/Instance_Methods/override_named_parameters_t03.dart
@@ -7,7 +7,6 @@
/// by m2.
/// @description Checks that there is no static warnings if m1 has the same set
/// of named parameters as m2 but in a different order.
-/// @static-clean
/// @author iefremov
diff --git a/Language/Classes/Instance_Methods/override_named_parameters_t04.dart b/Language/Classes/Instance_Methods/override_named_parameters_t04.dart
index d52a2ef..582c8ca 100644
--- a/Language/Classes/Instance_Methods/override_named_parameters_t04.dart
+++ b/Language/Classes/Instance_Methods/override_named_parameters_t04.dart
@@ -7,7 +7,6 @@
/// by m2.
/// @description Checks that there is no static warnings if m1 has the same
/// set of named parameters as m2 but in a different order.
-/// @static-clean
/// @author iefremov
diff --git a/Language/Classes/Instance_Methods/override_named_parameters_t05.dart b/Language/Classes/Instance_Methods/override_named_parameters_t05.dart
index 613cf83..fcca9b2 100644
--- a/Language/Classes/Instance_Methods/override_named_parameters_t05.dart
+++ b/Language/Classes/Instance_Methods/override_named_parameters_t05.dart
@@ -8,7 +8,6 @@
/// @description Checks that a compile error is produced if m1 has almost the
/// same set of named parameters as m2 except for one of them having a different
/// name.
-/// @compile-error
/// @author rodionov
@@ -18,6 +17,9 @@
class C extends A {
f({var x, var y, var zz}) {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/override_named_parameters_t06.dart b/Language/Classes/Instance_Methods/override_named_parameters_t06.dart
index 52194a3..9862f90 100644
--- a/Language/Classes/Instance_Methods/override_named_parameters_t06.dart
+++ b/Language/Classes/Instance_Methods/override_named_parameters_t06.dart
@@ -8,7 +8,6 @@
/// @description Checks that there are no static warnings if m1 has the same set
/// of named parameters as m2 but in a different order when the class declaring
/// m1 is not a direct subtype of the class declaring m2.
-/// @static-clean
/// @author iefremov
diff --git a/Language/Classes/Instance_Methods/override_named_parameters_t07.dart b/Language/Classes/Instance_Methods/override_named_parameters_t07.dart
index 3bd199d..6bdf63b 100644
--- a/Language/Classes/Instance_Methods/override_named_parameters_t07.dart
+++ b/Language/Classes/Instance_Methods/override_named_parameters_t07.dart
@@ -8,7 +8,6 @@
/// @description Checks that it is a compile error if an instance method m1
/// overrides an instance member m2 and m1 does not declare all the named
/// parameters declared by m2. Test type aliases
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -20,6 +19,9 @@
class C extends AAlias {
foo(var a, {x}) {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/override_named_parameters_t08.dart b/Language/Classes/Instance_Methods/override_named_parameters_t08.dart
index f128eb7..3b2db69 100644
--- a/Language/Classes/Instance_Methods/override_named_parameters_t08.dart
+++ b/Language/Classes/Instance_Methods/override_named_parameters_t08.dart
@@ -8,7 +8,6 @@
/// @description Checks that a compile error is produced if m1 has fewer named
/// parameters than m2 (1 vs. 0) and neither have any required parameters. Test
/// type aliases
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -20,6 +19,9 @@
class C extends AAlias {
f() { }
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/override_named_parameters_t09.dart b/Language/Classes/Instance_Methods/override_named_parameters_t09.dart
index 3e2d240..bd20f1f 100644
--- a/Language/Classes/Instance_Methods/override_named_parameters_t09.dart
+++ b/Language/Classes/Instance_Methods/override_named_parameters_t09.dart
@@ -7,7 +7,6 @@
/// by m2.
/// @description Checks that there is no static warnings if m1 has the same set
/// of named parameters as m2 but in a different order. Test type aliases
-/// @static-clean
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
diff --git a/Language/Classes/Instance_Methods/override_named_parameters_t10.dart b/Language/Classes/Instance_Methods/override_named_parameters_t10.dart
index 552a8cd..c0742f1 100644
--- a/Language/Classes/Instance_Methods/override_named_parameters_t10.dart
+++ b/Language/Classes/Instance_Methods/override_named_parameters_t10.dart
@@ -8,7 +8,6 @@
/// @description Checks that a compile error is produced if m1 has almost the
/// same set of named parameters as m2 except for one of them having a different
/// name.
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -20,6 +19,9 @@
class C extends AAlias {
f({var x, var y, var zz}) {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/override_named_parameters_t11.dart b/Language/Classes/Instance_Methods/override_named_parameters_t11.dart
index 16ce0d6..d3769b3 100644
--- a/Language/Classes/Instance_Methods/override_named_parameters_t11.dart
+++ b/Language/Classes/Instance_Methods/override_named_parameters_t11.dart
@@ -8,7 +8,6 @@
/// @description Checks that there are no static warnings if m1 has the same set
/// of named parameters as m2 but in a different order when the class declaring
/// m1 is not a direct subtype of the class declaring m2. Test type aliases
-/// @static-clean
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
diff --git a/Language/Classes/Instance_Methods/override_subtype_t01.dart b/Language/Classes/Instance_Methods/override_subtype_t01.dart
index b272ba7..18f7f4c 100644
--- a/Language/Classes/Instance_Methods/override_subtype_t01.dart
+++ b/Language/Classes/Instance_Methods/override_subtype_t01.dart
@@ -7,16 +7,21 @@
/// @description Checks that a compile error is produced if the return type of
/// m1 is not mutually assignable with the return type of m2 and the latter
/// isn't void either.
-/// @compile-error
/// @author iefremov
class A {
int foo(var x) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
class C extends A {
String foo(var x) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
return x.toString();
}
}
diff --git a/Language/Classes/Instance_Methods/override_subtype_t02.dart b/Language/Classes/Instance_Methods/override_subtype_t02.dart
index 0b53a01..845d134 100644
--- a/Language/Classes/Instance_Methods/override_subtype_t02.dart
+++ b/Language/Classes/Instance_Methods/override_subtype_t02.dart
@@ -7,7 +7,6 @@
/// @description Checks that a compile error is produced if m1 is not a subtype
/// of m2 because their respective required parameter types are not mutually
/// assignable.
-/// @compile-error
/// @author iefremov
@@ -17,6 +16,9 @@
class C extends A {
foo(String x) {
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
return x.toString();
}
}
diff --git a/Language/Classes/Instance_Methods/override_subtype_t03.dart b/Language/Classes/Instance_Methods/override_subtype_t03.dart
index ced1c41..be8dc77 100644
--- a/Language/Classes/Instance_Methods/override_subtype_t03.dart
+++ b/Language/Classes/Instance_Methods/override_subtype_t03.dart
@@ -7,7 +7,6 @@
/// @description Checks that a compile error is produced if m1 is not a subtype
/// of m2 because their respective optional positional parameter types are not
/// mutually assignable.
-/// @compile-error
/// @author iefremov
@@ -17,6 +16,9 @@
class C extends A {
foo([int? name]) {
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Classes/Instance_Methods/override_subtype_t04.dart b/Language/Classes/Instance_Methods/override_subtype_t04.dart
index 023b0b8..fb1b726 100644
--- a/Language/Classes/Instance_Methods/override_subtype_t04.dart
+++ b/Language/Classes/Instance_Methods/override_subtype_t04.dart
@@ -7,7 +7,6 @@
/// @description Checks that a compile error is produced when the type of the
/// overriding method is not a subtype of the method being overridden even if
/// the class declaring m1 is not a direct subtype of the class declaring m2.
-/// @compile-error
/// @author iefremov
@@ -21,6 +20,9 @@
class C extends A3 {
foo(int name) {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/override_subtype_t05.dart b/Language/Classes/Instance_Methods/override_subtype_t05.dart
index a7cf132..0a9768a 100644
--- a/Language/Classes/Instance_Methods/override_subtype_t05.dart
+++ b/Language/Classes/Instance_Methods/override_subtype_t05.dart
@@ -7,7 +7,6 @@
/// @description Checks that there are no warnings when type of m1 is in fact
/// a subtype of type of m2. Checks instance methods with no optional
/// parameters.
-/// @static-clean
/// @author ilya
diff --git a/Language/Classes/Instance_Methods/override_subtype_t06.dart b/Language/Classes/Instance_Methods/override_subtype_t06.dart
index 7bc4bef..8c64245 100644
--- a/Language/Classes/Instance_Methods/override_subtype_t06.dart
+++ b/Language/Classes/Instance_Methods/override_subtype_t06.dart
@@ -6,7 +6,6 @@
/// instance member m2 and the type of m1 is not a subtype of the type of m2.
/// @description Checks that there are no warnings when type of m1 is in fact
/// a subtype of type of m2. Checks instance methods with optional parameters.
-/// @static-clean
/// @author ilya
diff --git a/Language/Classes/Instance_Methods/override_subtype_t07.dart b/Language/Classes/Instance_Methods/override_subtype_t07.dart
index 24fbb28..7c5297c 100644
--- a/Language/Classes/Instance_Methods/override_subtype_t07.dart
+++ b/Language/Classes/Instance_Methods/override_subtype_t07.dart
@@ -7,7 +7,6 @@
/// @description Checks that a compile error is produced if the return type of
/// m1 is not mutually assignable with the return type of m2 and the latter
/// isn't void either. Test type alias
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -19,6 +18,9 @@
class C extends AAlias {
String foo(var x) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
return x.toString();
}
}
diff --git a/Language/Classes/Instance_Methods/override_subtype_t08.dart b/Language/Classes/Instance_Methods/override_subtype_t08.dart
index e627f6e..71d06f7 100644
--- a/Language/Classes/Instance_Methods/override_subtype_t08.dart
+++ b/Language/Classes/Instance_Methods/override_subtype_t08.dart
@@ -7,7 +7,6 @@
/// @description Checks that a compile error is produced if m1 is not a subtype
/// of m2 because their respective required parameter types are not mutually
/// assignable. Test type aliases
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -19,6 +18,9 @@
class C extends AAlias {
foo(String x) {
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
return x.toString();
}
}
diff --git a/Language/Classes/Instance_Methods/override_subtype_t09.dart b/Language/Classes/Instance_Methods/override_subtype_t09.dart
index 92a4036..0a94d83 100644
--- a/Language/Classes/Instance_Methods/override_subtype_t09.dart
+++ b/Language/Classes/Instance_Methods/override_subtype_t09.dart
@@ -7,7 +7,6 @@
/// @description Checks that a compile error is produced if m1 is not a subtype
/// of m2 because their respective optional positional parameter types are not
/// mutually assignable.
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -19,6 +18,9 @@
class C extends AAlias {
foo([int? name]) {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/override_subtype_t10.dart b/Language/Classes/Instance_Methods/override_subtype_t10.dart
index df6960b..435d511 100644
--- a/Language/Classes/Instance_Methods/override_subtype_t10.dart
+++ b/Language/Classes/Instance_Methods/override_subtype_t10.dart
@@ -7,7 +7,6 @@
/// @description Checks that a compile error is produced when the type of the
/// overriding method is not a subtype of the method being overridden even if
/// the class declaring m1 is not a direct subtype of the class declaring m2.
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -24,6 +23,9 @@
typedef A3Alias = A3;
class C extends A3Alias {
foo(int? name) {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/override_subtype_t11.dart b/Language/Classes/Instance_Methods/override_subtype_t11.dart
index a80f24c..d8ee579 100644
--- a/Language/Classes/Instance_Methods/override_subtype_t11.dart
+++ b/Language/Classes/Instance_Methods/override_subtype_t11.dart
@@ -7,7 +7,6 @@
/// @description Checks that there are no warnings when type of m1 is in fact
/// a subtype of type of m2. Checks instance methods with no optional
/// parameters. Test type aliases
-/// @static-clean
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
diff --git a/Language/Classes/Instance_Methods/override_subtype_t12.dart b/Language/Classes/Instance_Methods/override_subtype_t12.dart
index c42e77f..0390396 100644
--- a/Language/Classes/Instance_Methods/override_subtype_t12.dart
+++ b/Language/Classes/Instance_Methods/override_subtype_t12.dart
@@ -6,7 +6,6 @@
/// instance member m2 and the type of m1 is not a subtype of the type of m2.
/// @description Checks that there are no warnings when type of m1 is in fact
/// a subtype of type of m2. Checks instance methods with optional parameters.
-/// @static-clean
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
diff --git a/Language/Classes/Instance_Methods/same_name_getter_t01.dart b/Language/Classes/Instance_Methods/same_name_getter_t01.dart
index 2093c63..e819b1e 100644
--- a/Language/Classes/Instance_Methods/same_name_getter_t01.dart
+++ b/Language/Classes/Instance_Methods/same_name_getter_t01.dart
@@ -11,16 +11,20 @@
///
/// @description Checks that it is a compile error if a class C declares an
/// instance method named n and an instance getter named n.
-/// @compile-error
/// @author ngl@unipro.ru
class C {
foo() {}
get foo {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C c = new C();
c.foo;
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Classes/Instance_Methods/same_name_getter_t02.dart b/Language/Classes/Instance_Methods/same_name_getter_t02.dart
index 57e9420..975d2c9 100644
--- a/Language/Classes/Instance_Methods/same_name_getter_t02.dart
+++ b/Language/Classes/Instance_Methods/same_name_getter_t02.dart
@@ -11,7 +11,6 @@
///
/// @description Checks that it is a compile error if a class C declares an
/// instance method named n and an inherited instance getter named n.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -21,6 +20,9 @@
class C extends A {
foo() {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/same_name_getter_t03.dart b/Language/Classes/Instance_Methods/same_name_getter_t03.dart
index 3b987f7..e5c8bb1 100644
--- a/Language/Classes/Instance_Methods/same_name_getter_t03.dart
+++ b/Language/Classes/Instance_Methods/same_name_getter_t03.dart
@@ -12,7 +12,6 @@
/// @description Checks that it is a compile error if a class C declares an
/// instance method named n and an inherited instance getter named n. Test type
/// aliases
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -24,6 +23,9 @@
class C extends AAlias {
foo() {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/same_name_setter_t01.dart b/Language/Classes/Instance_Methods/same_name_setter_t01.dart
index 49d8709..a32ac08 100644
--- a/Language/Classes/Instance_Methods/same_name_setter_t01.dart
+++ b/Language/Classes/Instance_Methods/same_name_setter_t01.dart
@@ -11,13 +11,15 @@
///
/// @description Checks that it is a compile error if a class C declares an
/// instance method named n and declares a setter named n=.
-/// @compile-error
/// @author kaigorodov
class C {
foo() {}
set foo(var a) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/same_name_setter_t02.dart b/Language/Classes/Instance_Methods/same_name_setter_t02.dart
index 4b29ce5..0cb50e5 100644
--- a/Language/Classes/Instance_Methods/same_name_setter_t02.dart
+++ b/Language/Classes/Instance_Methods/same_name_setter_t02.dart
@@ -12,7 +12,6 @@
///
/// @description Checks that it is a compile error if a class C declares an
/// instance method named n and inherits a setter named n=.
-/// @compile-error
/// @author kaigorodov
@@ -22,6 +21,9 @@
class C extends A {
foo() {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Methods/same_name_setter_t03.dart b/Language/Classes/Instance_Methods/same_name_setter_t03.dart
index 1808919..60657c4 100644
--- a/Language/Classes/Instance_Methods/same_name_setter_t03.dart
+++ b/Language/Classes/Instance_Methods/same_name_setter_t03.dart
@@ -12,7 +12,6 @@
///
/// @description Checks that it is a compile error if a class C declares an
/// instance method named n and inherits a setter named n=. Test type aliases
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -23,6 +22,9 @@
class C extends AAlias {
foo() {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Variables/constant_t01.dart b/Language/Classes/Instance_Variables/constant_t01.dart
index c360724..8972ef5 100644
--- a/Language/Classes/Instance_Variables/constant_t01.dart
+++ b/Language/Classes/Instance_Variables/constant_t01.dart
@@ -6,12 +6,14 @@
/// to be constant.
/// @description Checks that It is a compile-time error if an instance variable
/// is declared to be constant.
-/// @compile-error
/// @author sgrekhov@unipro.ru
class C {
const v1 = 1;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Instance_Variables/definition_t03.dart b/Language/Classes/Instance_Variables/definition_t03.dart
index e4b5e5f..7e8836b 100644
--- a/Language/Classes/Instance_Variables/definition_t03.dart
+++ b/Language/Classes/Instance_Variables/definition_t03.dart
@@ -8,7 +8,6 @@
/// declared by C and the instance variables inherited by C from its superclass.
/// @description Checks that class instance variables are those not declared as
/// static. It's compile error to call static variables as instance ones
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -25,5 +24,11 @@
main() {
C c = new C();
c.s1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
c.s2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/Setters/instance_setter_t07.dart b/Language/Classes/Setters/instance_setter_t07.dart
index 5165433..809fe42 100644
--- a/Language/Classes/Setters/instance_setter_t07.dart
+++ b/Language/Classes/Setters/instance_setter_t07.dart
@@ -14,7 +14,6 @@
///
/// @description Checks that a compile error is arisen if a class has declared
/// static getter and inherited instance setter with the same name.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -27,6 +26,9 @@
class C extends A {
static int n = 0;
static get v {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
return n;
}
}
diff --git a/Language/Classes/Setters/instance_setter_t08.dart b/Language/Classes/Setters/instance_setter_t08.dart
index ff4d620..89040d9 100644
--- a/Language/Classes/Setters/instance_setter_t08.dart
+++ b/Language/Classes/Setters/instance_setter_t08.dart
@@ -14,7 +14,6 @@
///
/// @description Checks that a compile error is arisen if a class has a declared
/// static field and an inherited instance setter with the same name.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -27,6 +26,9 @@
class C extends A {
static int v = 0;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Setters/instance_setter_t09.dart b/Language/Classes/Setters/instance_setter_t09.dart
index 37664f9..91f3671 100644
--- a/Language/Classes/Setters/instance_setter_t09.dart
+++ b/Language/Classes/Setters/instance_setter_t09.dart
@@ -14,7 +14,6 @@
///
/// @description Checks that a compile error is arisen if a class has a declared
/// static method ang an inherited instance setter with the same name.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -27,6 +26,9 @@
class C extends A {
static int v() {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
return 33;
}
}
diff --git a/Language/Classes/Setters/instance_setter_t10.dart b/Language/Classes/Setters/instance_setter_t10.dart
index 071ad30..ec9773e 100644
--- a/Language/Classes/Setters/instance_setter_t10.dart
+++ b/Language/Classes/Setters/instance_setter_t10.dart
@@ -15,7 +15,6 @@
/// @description Checks that a compile error is arisen if a class has a declared
/// static getter and an inherited implicitly declared instance setter with the
/// same name.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -26,6 +25,9 @@
class C extends A {
static int n = 0;
static get v {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
return n;
}
}
diff --git a/Language/Classes/Setters/instance_setter_t11.dart b/Language/Classes/Setters/instance_setter_t11.dart
index facf5a7..008a042 100644
--- a/Language/Classes/Setters/instance_setter_t11.dart
+++ b/Language/Classes/Setters/instance_setter_t11.dart
@@ -15,7 +15,6 @@
/// @description Checks that a compile error is arisen if a class has a declared
/// static field and an inherited implicitly declared instance setter with the
/// same name.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -25,6 +24,9 @@
class C extends A {
static int v = 0;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Setters/instance_setter_t12.dart b/Language/Classes/Setters/instance_setter_t12.dart
index 4aed704..7082b24 100644
--- a/Language/Classes/Setters/instance_setter_t12.dart
+++ b/Language/Classes/Setters/instance_setter_t12.dart
@@ -15,7 +15,6 @@
/// @description Checks that a compile error is arisen if a class has a declared
/// static method and an inherited implicitly declared instance setter with the
/// same name.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -25,6 +24,9 @@
class C extends A {
static int v() {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
return 33;
}
}
diff --git a/Language/Classes/Setters/name_t01.dart b/Language/Classes/Setters/name_t01.dart
index 1aef25b..f4db4ad 100644
--- a/Language/Classes/Setters/name_t01.dart
+++ b/Language/Classes/Setters/name_t01.dart
@@ -8,13 +8,19 @@
/// @description Checks that there is a compile-time error if a class has
/// an explicitly defined abstract setter and an instance method with the same
/// name.
-/// @compile-error
/// @author vasya
class C {
+// ^
+// [cfe] unspecified
void set foo(value);
+//^
+// [analyzer] unspecified
foo(value) { }
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Setters/name_t02.dart b/Language/Classes/Setters/name_t02.dart
index 9e771c0..7815d64 100644
--- a/Language/Classes/Setters/name_t02.dart
+++ b/Language/Classes/Setters/name_t02.dart
@@ -7,7 +7,6 @@
/// conflict with, override or be overridden by a getter or method.
/// @description Checks that there is a compile-time error if a class has
/// an explicitly defined setter and an instance method with the same name.
-/// @compile-error
/// @author iefremov
@@ -15,6 +14,9 @@
var _foo;
set foo(var v) {_foo = v;}
foo(value) { }
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Setters/name_t03.dart b/Language/Classes/Setters/name_t03.dart
index bcbf4aa..f82ac47 100644
--- a/Language/Classes/Setters/name_t03.dart
+++ b/Language/Classes/Setters/name_t03.dart
@@ -8,7 +8,6 @@
/// @description Checks that there is a compile-time error if a class has
/// an explicitly defined setter inherited from a superclass and an instance
/// method with the same name.
-/// @compile-error
/// @author iefremov
@@ -19,6 +18,9 @@
class C extends A {
foo(value) {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Setters/name_t04.dart b/Language/Classes/Setters/name_t04.dart
index 6faae93..92dd0c3 100644
--- a/Language/Classes/Setters/name_t04.dart
+++ b/Language/Classes/Setters/name_t04.dart
@@ -8,7 +8,6 @@
/// @description Checks that there is a compile-time error if a class has
/// an explicitly defined abstract setter inherited from a superclass and
/// an instance method with the same name.
-/// @compile-error
/// @author iefremov
@@ -22,11 +21,17 @@
}
C.c() {}
foo(value) {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
class D extends C {
D():super.c();
void set foo(var x) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Setters/name_t05.dart b/Language/Classes/Setters/name_t05.dart
index 7a1ecf7..481a3d4 100644
--- a/Language/Classes/Setters/name_t05.dart
+++ b/Language/Classes/Setters/name_t05.dart
@@ -8,7 +8,6 @@
/// @description Checks that there is a compile-time error if a class has
/// an explicitly defined abstract setter and an instance method inherited from
/// a superclass with the same name.
-/// @compile-error
/// @author iefremov
@@ -17,11 +16,18 @@
}
class C extends A {
+// ^
+// [cfe] unspecified
void set foo(var x);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C c = new C();
c.foo(1);
c.foo = 1;
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Classes/Setters/name_t06.dart b/Language/Classes/Setters/name_t06.dart
index 0afae8e..5ad811d 100644
--- a/Language/Classes/Setters/name_t06.dart
+++ b/Language/Classes/Setters/name_t06.dart
@@ -12,7 +12,6 @@
/// @description Checks that there is a compile-time error if a class has
/// an explicitly defined setter and an instance method inherited from a
/// superclass with the same name.
-/// @compile-error
/// @author iefremov
@@ -23,10 +22,15 @@
class C extends A {
var _foo;
set foo(var v) {_foo = v;}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C c = new C();
c.foo(1);
c.foo = 1;
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Classes/Setters/name_t07.dart b/Language/Classes/Setters/name_t07.dart
index 098b8ba..1b4c126 100644
--- a/Language/Classes/Setters/name_t07.dart
+++ b/Language/Classes/Setters/name_t07.dart
@@ -11,13 +11,15 @@
///
/// @description Checks that there is a compile-time error if a class has
/// an explicitly defined setter and an static method with the same name.
-/// @compile-error
/// @author iefremov
class C {
void set foo(var x) {}
static foo(var z) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Setters/no_return_type_t01.dart b/Language/Classes/Setters/no_return_type_t01.dart
index ae8f15d..0093bca 100644
--- a/Language/Classes/Setters/no_return_type_t01.dart
+++ b/Language/Classes/Setters/no_return_type_t01.dart
@@ -6,7 +6,6 @@
/// dynamic.
/// @description Checks that return type is indeed dynamic by calling arbitrary
/// method on the result of a setter and expecting no warnings.
-/// @static-clean
/// @author iefremov
import '../../../Utils/expect.dart';
diff --git a/Language/Classes/Setters/override_t01.dart b/Language/Classes/Setters/override_t01.dart
index d49a678..ca850de 100644
--- a/Language/Classes/Setters/override_t01.dart
+++ b/Language/Classes/Setters/override_t01.dart
@@ -6,7 +6,6 @@
/// or method m2 and the type of m1 is not a subtype of the type of m2.
/// @description Checks that a compile error is produced if the argument types
/// of these two setters are not mutually assignable.
-/// @compile-error
/// @author vasya
@@ -16,6 +15,9 @@
class C extends A {
void set foo(bool b) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Classes/Setters/override_t02.dart b/Language/Classes/Setters/override_t02.dart
index 7057140..28260e0 100644
--- a/Language/Classes/Setters/override_t02.dart
+++ b/Language/Classes/Setters/override_t02.dart
@@ -7,7 +7,6 @@
/// @description Checks that a compile error is produced when the argument
/// types of these two setters are not mutually assignable even if one of the
/// setters is defined implicitly.
-/// @compile-error
/// @author vasya
@@ -17,6 +16,9 @@
class C extends A {
void set foo(bool b) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Classes/Setters/override_t03.dart b/Language/Classes/Setters/override_t03.dart
index 527f5dc..5261601 100644
--- a/Language/Classes/Setters/override_t03.dart
+++ b/Language/Classes/Setters/override_t03.dart
@@ -6,7 +6,6 @@
/// or method m2 and the type of m1 is not a subtype of the type of m2.
/// @description Checks that there are no warnings when type of m1 is in fact
/// a subtype of type of m2
-/// @static-clean
/// @author ilya
diff --git a/Language/Classes/Setters/parameter_t01.dart b/Language/Classes/Setters/parameter_t01.dart
index f5aba19..907b722 100644
--- a/Language/Classes/Setters/parameter_t01.dart
+++ b/Language/Classes/Setters/parameter_t01.dart
@@ -6,12 +6,14 @@
/// does not consist of exactly one required formal parameter p.
/// @description Checks that a compile-time error is produced if a setter's
/// formal parameter list contains two required parameters.
-/// @compile-error
/// @author vasya
class C {
void set setter(v1, v2) {throw new C();}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Setters/parameter_t02.dart b/Language/Classes/Setters/parameter_t02.dart
index e15dc1c..b5b5780 100644
--- a/Language/Classes/Setters/parameter_t02.dart
+++ b/Language/Classes/Setters/parameter_t02.dart
@@ -6,12 +6,14 @@
/// does not consist of exactly one required formal parameter p.
/// @description Checks that a compile-time error is produced if a setter's
/// formal parameter list consists of a single optional parameter.
-/// @compile-error
/// @author vasya
class C {
void set setter([value]) { }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Setters/parameter_t03.dart b/Language/Classes/Setters/parameter_t03.dart
index 71ef49f..1c72e5c 100644
--- a/Language/Classes/Setters/parameter_t03.dart
+++ b/Language/Classes/Setters/parameter_t03.dart
@@ -6,12 +6,14 @@
/// does not consist of exactly one required formal parameter p.
/// @description Checks that a compile-time error is produced if a setter's
/// formal parameter list is empty.
-/// @compile-error
/// @author iefremov
class C {
void set setter() { }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Setters/parameter_t04.dart b/Language/Classes/Setters/parameter_t04.dart
index cb1c0e6..0549369 100644
--- a/Language/Classes/Setters/parameter_t04.dart
+++ b/Language/Classes/Setters/parameter_t04.dart
@@ -7,12 +7,14 @@
/// @description Checks that a compile-time error is produced if a setter's
/// formal parameter list contains a single optional parameter with a default
/// value.
-/// @compile-error
/// @author iefremov
class C {
void set setter([var x = null]) { }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Setters/parameter_t05.dart b/Language/Classes/Setters/parameter_t05.dart
index 52bc03f..988a9ea 100644
--- a/Language/Classes/Setters/parameter_t05.dart
+++ b/Language/Classes/Setters/parameter_t05.dart
@@ -6,12 +6,14 @@
/// does not consist of exactly one required formal parameter p.
/// @description Checks that a compile-time error is produced if a static
/// setter's formal parameter list contains two required parameters.
-/// @compile-error
/// @author vasya
class C {
static void set setter(v1, v2) {throw new C();}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Setters/parameter_t06.dart b/Language/Classes/Setters/parameter_t06.dart
index ebc204a..fce209e 100644
--- a/Language/Classes/Setters/parameter_t06.dart
+++ b/Language/Classes/Setters/parameter_t06.dart
@@ -6,12 +6,14 @@
/// does not consist of exactly one required formal parameter p.
/// @description Checks that a compile-time error is produced if a static
/// setter's formal parameter list consists of a single optional parameter.
-/// @compile-error
/// @author vasya
class C {
static void set setter([value]) { }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Setters/parameter_t07.dart b/Language/Classes/Setters/parameter_t07.dart
index 886769e..83d0765 100644
--- a/Language/Classes/Setters/parameter_t07.dart
+++ b/Language/Classes/Setters/parameter_t07.dart
@@ -6,12 +6,14 @@
/// does not consist of exactly one required formal parameter p.
/// @description Checks that a compile-time error is produced if a static
/// setter's formal parameter list is empty.
-/// @compile-error
/// @author iefremov
class C {
static void set setter() { }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Setters/parameter_t08.dart b/Language/Classes/Setters/parameter_t08.dart
index 088095d..850db71 100644
--- a/Language/Classes/Setters/parameter_t08.dart
+++ b/Language/Classes/Setters/parameter_t08.dart
@@ -7,12 +7,14 @@
/// @description Checks that a compile-time error is produced if a static
/// setter's formal parameter list contains a single optional parameter with a
/// default value.
-/// @compile-error
/// @author iefremov
class C {
static void set setter([var x = null]) { }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Setters/static_setter_t01.dart b/Language/Classes/Setters/static_setter_t01.dart
index dc9f571..0faa996 100644
--- a/Language/Classes/Setters/static_setter_t01.dart
+++ b/Language/Classes/Setters/static_setter_t01.dart
@@ -6,16 +6,23 @@
/// named v= and also has a non-static member named v.
/// @description Checks that it is a compile time error if a class declares a
/// static setter named v= and also has a non-static field named v.
-/// @compile-error
/// @author kaigorodov
class C {
String foo = "Lily was here";
+// ^
+// [cfe] unspecified
static set foo(String s) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.foo = "foo";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/Setters/static_setter_t02.dart b/Language/Classes/Setters/static_setter_t02.dart
index 9c7b79f..64adbc6 100644
--- a/Language/Classes/Setters/static_setter_t02.dart
+++ b/Language/Classes/Setters/static_setter_t02.dart
@@ -6,7 +6,6 @@
/// named v= and also has a non-static member named v.
/// @description Checks that it is a compile error to declare more static setter
/// and an instance getter with the same name
-/// @compile-error
/// @author kaigorodov
@@ -14,6 +13,9 @@
String get foo => "Lily was here";
static set foo(String s) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Setters/static_setter_t04.dart b/Language/Classes/Setters/static_setter_t04.dart
index b3c8ab6..2ec1d78 100644
--- a/Language/Classes/Setters/static_setter_t04.dart
+++ b/Language/Classes/Setters/static_setter_t04.dart
@@ -6,7 +6,6 @@
/// named v= and also has a non-static member named v.
/// @description Checks that it is a compile error to declare more than one
/// entity with the same name in the same scope.
-/// @compile-error
/// @author kaigorodov
@@ -14,6 +13,9 @@
void foo() {}
static set foo(String s) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Setters/static_setter_t05.dart b/Language/Classes/Setters/static_setter_t05.dart
index 97e1719..9be59be 100644
--- a/Language/Classes/Setters/static_setter_t05.dart
+++ b/Language/Classes/Setters/static_setter_t05.dart
@@ -6,7 +6,6 @@
/// named v= and also has a non-static member named v.
/// @description Checks that it is a compile error if a class declares a
/// static setter named v= and also has a non-static inherited method named v.
-/// @compile-error
/// @author kaigorodov
@@ -16,6 +15,9 @@
class C extends A {
static set foo(String s) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Setters/static_setter_t07.dart b/Language/Classes/Setters/static_setter_t07.dart
index 59d35c8..2a2d19e 100644
--- a/Language/Classes/Setters/static_setter_t07.dart
+++ b/Language/Classes/Setters/static_setter_t07.dart
@@ -6,7 +6,6 @@
/// named v= and also has a non-static member named v.
/// @description Checks that a compile error is arisen if a class has an
/// implicitly declared static setter and an instance getter with the same name.
-/// @compile-error
/// @issue 24573
/// @author ngl@unipro.ru
@@ -14,8 +13,13 @@
class C {
get v => 5;
static int v = 0;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.v = 2;
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Classes/Setters/static_setter_t08.dart b/Language/Classes/Setters/static_setter_t08.dart
index de3e6bd..011ae40 100644
--- a/Language/Classes/Setters/static_setter_t08.dart
+++ b/Language/Classes/Setters/static_setter_t08.dart
@@ -6,16 +6,21 @@
/// named v= and also has a non-static member named v.
/// @description Checks that a compile error is arisen if a class has an
/// implicitly declared static setter and an instance field with the same name.
-/// @compile-error
/// @issue 24573
/// @author ngl@unipro.ru
class C {
static int v = 0;
+// ^
+// [analyzer] unspecified
int v = 0;
+// ^
+// [cfe] unspecified
}
main() {
C.v = 2;
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Classes/Setters/static_setter_t09.dart b/Language/Classes/Setters/static_setter_t09.dart
index 7e9bb7b..8b1e5bd 100644
--- a/Language/Classes/Setters/static_setter_t09.dart
+++ b/Language/Classes/Setters/static_setter_t09.dart
@@ -6,16 +6,21 @@
/// named v= and also has a non-static member named v.
/// @description Checks that a compile error is arisen if a class has an
/// implicitly declared static setter and an instance method with the same name.
-/// @compile-error
/// @issue 24573
/// @author ngl@unipro.ru
class C {
static int v = 42;
+// ^
+// [analyzer] unspecified
int v() { return 3; }
+// ^
+// [cfe] unspecified
}
main() {
C.v = 2;
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Classes/Setters/syntax_t03.dart b/Language/Classes/Setters/syntax_t03.dart
index c342ef0..2ce2f40 100644
--- a/Language/Classes/Setters/syntax_t03.dart
+++ b/Language/Classes/Setters/syntax_t03.dart
@@ -8,12 +8,14 @@
/// ;
/// @description Checks that it is a compile-time error if the setter parameter
/// list is missing.
-/// @compile-error
/// @author iefremov
class C {
set setter {};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Static_Methods/declaration_t01.dart b/Language/Classes/Static_Methods/declaration_t01.dart
index 89e7f54..3cb9534 100644
--- a/Language/Classes/Static_Methods/declaration_t01.dart
+++ b/Language/Classes/Static_Methods/declaration_t01.dart
@@ -7,12 +7,14 @@
/// and that are declared static.
/// The static methods of a class C are those static methods declared by C.
/// @description Checks that static methods cannot access instance fields.
-/// @compile-error
/// @author vasya
class C {
static foo() { return bar; }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
var bar;
}
diff --git a/Language/Classes/Static_Methods/declaration_t03.dart b/Language/Classes/Static_Methods/declaration_t03.dart
index 0fd4a74..9bf82a4 100644
--- a/Language/Classes/Static_Methods/declaration_t03.dart
+++ b/Language/Classes/Static_Methods/declaration_t03.dart
@@ -8,7 +8,6 @@
/// The static methods of a class C are those static methods declared by C.
/// @description Checks that superclass's static methods are unaccessible
/// via subclass's name.
-/// @compile-error
/// @author rodionov
@@ -21,4 +20,7 @@
main() {
C.foo();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/Static_Variables/inheritance_t01.dart b/Language/Classes/Static_Variables/inheritance_t01.dart
index 4f4d38c..0d839fb 100644
--- a/Language/Classes/Static_Variables/inheritance_t01.dart
+++ b/Language/Classes/Static_Variables/inheritance_t01.dart
@@ -8,7 +8,6 @@
/// declared by C.
/// @description Checks that superclass's static variables are unaccessible
/// via subclass's name.
-/// @compile-error
/// @author ilya
@@ -21,4 +20,7 @@
main() {
C.foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/Static_Variables/inheritance_t02.dart b/Language/Classes/Static_Variables/inheritance_t02.dart
index b9f73a4..e9f595e 100644
--- a/Language/Classes/Static_Variables/inheritance_t02.dart
+++ b/Language/Classes/Static_Variables/inheritance_t02.dart
@@ -8,7 +8,6 @@
/// declared by C.
/// @description Checks that superclass's static variables are unaccessible
/// via subclass's name. Test type alias
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -23,4 +22,7 @@
main() {
C.foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/Superclasses/Inheritance_and_Overriding/abstract_method_t01.dart b/Language/Classes/Superclasses/Inheritance_and_Overriding/abstract_method_t01.dart
index 49e0c3b..2bfa780 100644
--- a/Language/Classes/Superclasses/Inheritance_and_Overriding/abstract_method_t01.dart
+++ b/Language/Classes/Superclasses/Inheritance_and_Overriding/abstract_method_t01.dart
@@ -6,7 +6,6 @@
/// abstract method.
/// @description Checks that it is a compile error if a non-abstract class
/// inherits an abstract method.
-/// @compile-error
/// @author msyabro
@@ -15,6 +14,9 @@
}
class B extends A {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Superclasses/Inheritance_and_Overriding/abstract_method_t02.dart b/Language/Classes/Superclasses/Inheritance_and_Overriding/abstract_method_t02.dart
index a0d215c..aee5329 100644
--- a/Language/Classes/Superclasses/Inheritance_and_Overriding/abstract_method_t02.dart
+++ b/Language/Classes/Superclasses/Inheritance_and_Overriding/abstract_method_t02.dart
@@ -6,7 +6,6 @@
/// abstract method.
/// @description Checks that it is a compile error if a non-abstract class
/// inherits an abstract method. Test type aliases
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -17,6 +16,9 @@
typedef AAlias = A;
class B extends AAlias {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/Superclasses/superclass_of_itself_t01.dart b/Language/Classes/Superclasses/superclass_of_itself_t01.dart
index c5be292..c9d9c7c 100644
--- a/Language/Classes/Superclasses/superclass_of_itself_t01.dart
+++ b/Language/Classes/Superclasses/superclass_of_itself_t01.dart
@@ -5,11 +5,13 @@
/// @assertion It is a compile-time error if a class C is a superclass of itself.
/// @description Checks that it is a compile-time error if a class references
/// itself in its extends clause.
-/// @compile-error
/// @author pagolubev
class A extends A {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/Superclasses/superclass_of_itself_t02.dart b/Language/Classes/Superclasses/superclass_of_itself_t02.dart
index 11317c3..579d568 100644
--- a/Language/Classes/Superclasses/superclass_of_itself_t02.dart
+++ b/Language/Classes/Superclasses/superclass_of_itself_t02.dart
@@ -5,14 +5,25 @@
/// @assertion It is a compile-time error if a class C is a superclass of itself.
/// @description Checks that it is a compile-time error if a class attempts to
/// extend itself indirectly, by transition.
-/// @compile-error
/// @author msyabro
class A extends D {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class B extends A {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class C extends B {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class D extends C {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/Superclasses/superclass_of_itself_t03.dart b/Language/Classes/Superclasses/superclass_of_itself_t03.dart
index a8329cc..a5c20ed 100644
--- a/Language/Classes/Superclasses/superclass_of_itself_t03.dart
+++ b/Language/Classes/Superclasses/superclass_of_itself_t03.dart
@@ -5,12 +5,14 @@
/// @assertion It is a compile-time error if a class C is a superclass of itself.
/// @description Checks that it is a compile-time error if a class references
/// itself in its extends clause. Test type aliases
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
class A extends AAlias {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
typedef AAlias = A;
diff --git a/Language/Classes/Superclasses/superclass_of_itself_t04.dart b/Language/Classes/Superclasses/superclass_of_itself_t04.dart
index 9a5f8c0..fbcb5a2 100644
--- a/Language/Classes/Superclasses/superclass_of_itself_t04.dart
+++ b/Language/Classes/Superclasses/superclass_of_itself_t04.dart
@@ -5,15 +5,26 @@
/// @assertion It is a compile-time error if a class C is a superclass of itself.
/// @description Checks that it is a compile-time error if a class attempts to
/// extend itself indirectly, by transition. Test type aliases
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
class A extends DAlias {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class B extends A {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class C extends B {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class D extends C {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
typedef DAlias = D;
diff --git a/Language/Classes/Superclasses/wrong_superclass_t01.dart b/Language/Classes/Superclasses/wrong_superclass_t01.dart
index 2600056..b32efa2 100644
--- a/Language/Classes/Superclasses/wrong_superclass_t01.dart
+++ b/Language/Classes/Superclasses/wrong_superclass_t01.dart
@@ -7,11 +7,13 @@
/// superclass.
/// @description Checks that it is a compile-time error when the type expression
/// in a class's extends clause denotes an unavailable type.
-/// @compile-error
/// @author pagolubev
class A extends Unavailable {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/Superclasses/wrong_superclass_t02.dart b/Language/Classes/Superclasses/wrong_superclass_t02.dart
index f973aab..caff1a0 100644
--- a/Language/Classes/Superclasses/wrong_superclass_t02.dart
+++ b/Language/Classes/Superclasses/wrong_superclass_t02.dart
@@ -7,13 +7,15 @@
/// superclass.
/// @description Checks that it is a compile-time error when the type expression
/// in a class's extends clause denotes a function type.
-/// @compile-error
/// @author rodionov
typedef void foo();
class A extends foo {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/Superclasses/wrong_superclass_t03.dart b/Language/Classes/Superclasses/wrong_superclass_t03.dart
index 97d623e..15fd372 100644
--- a/Language/Classes/Superclasses/wrong_superclass_t03.dart
+++ b/Language/Classes/Superclasses/wrong_superclass_t03.dart
@@ -7,13 +7,15 @@
/// superclass.
/// @description Checks that it is a compile-time error when the type expression
/// in a class's extends clause denotes a variable name.
-/// @compile-error
/// @author rodionov
int foo = 42;
class A extends foo {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/Superclasses/wrong_superclass_t04.dart b/Language/Classes/Superclasses/wrong_superclass_t04.dart
index aeefd46..be9f620 100644
--- a/Language/Classes/Superclasses/wrong_superclass_t04.dart
+++ b/Language/Classes/Superclasses/wrong_superclass_t04.dart
@@ -7,11 +7,13 @@
/// superclass.
/// @description Checks that it is a compile-time error if static type is used
/// as a superclass
-/// @compile-error
/// @author sgrekhov@unipro.ru
class A extends int {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/Superclasses/wrong_superclass_t05.dart b/Language/Classes/Superclasses/wrong_superclass_t05.dart
index c1c80ce..2e76812 100644
--- a/Language/Classes/Superclasses/wrong_superclass_t05.dart
+++ b/Language/Classes/Superclasses/wrong_superclass_t05.dart
@@ -7,11 +7,13 @@
/// superclass.
/// @description Checks that it is a compile-time error when the type expression
/// in a class's extends clause denotes a type variable.
-/// @compile-error
/// @author rodionov
class A<T> extends T {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/Superclasses/wrong_superclass_t06.dart b/Language/Classes/Superclasses/wrong_superclass_t06.dart
index 4b0d7ff..c4a86c4 100644
--- a/Language/Classes/Superclasses/wrong_superclass_t06.dart
+++ b/Language/Classes/Superclasses/wrong_superclass_t06.dart
@@ -7,11 +7,13 @@
/// superclass.
/// @description Checks that it is a compile-time error if var is used as a
/// superclass
-/// @compile-error
/// @author sgrekhov@unipro.ru
class A extends var {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/Superclasses/wrong_superclass_t07.dart b/Language/Classes/Superclasses/wrong_superclass_t07.dart
index 61115e7..9e76470 100644
--- a/Language/Classes/Superclasses/wrong_superclass_t07.dart
+++ b/Language/Classes/Superclasses/wrong_superclass_t07.dart
@@ -7,7 +7,6 @@
/// superclass.
/// @description Checks that it is a compile-time error if enumeration is used
/// as a superclass
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -15,6 +14,9 @@
enum E {a, b, c}
class A extends E {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/Superclasses/wrong_superclass_t08.dart b/Language/Classes/Superclasses/wrong_superclass_t08.dart
index 7141c9b..cccb294 100644
--- a/Language/Classes/Superclasses/wrong_superclass_t08.dart
+++ b/Language/Classes/Superclasses/wrong_superclass_t08.dart
@@ -7,15 +7,19 @@
/// superclass.
/// @description Checks that it is a compile-time error if deferred type is used
/// as a superclass
-/// @compile-error
/// @Issue 42031
/// @author sgrekhov@unipro.ru
import "dart:core" deferred as core;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class A extends core.ArgumentError {}
+// ^
+// [analyzer] unspecified
main() {
new A();
diff --git a/Language/Classes/Superinterfaces/dynamic_type_t01.dart b/Language/Classes/Superinterfaces/dynamic_type_t01.dart
index dc5c2c9..9090660 100644
--- a/Language/Classes/Superinterfaces/dynamic_type_t01.dart
+++ b/Language/Classes/Superinterfaces/dynamic_type_t01.dart
@@ -7,10 +7,12 @@
/// @description Checks that it is a compile-time error if dynamic is included
/// in the type list of a class's implements clause.
/// @author pagolubev
-/// @compile-error
class A implements dynamic {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/Superinterfaces/dynamic_type_t02.dart b/Language/Classes/Superinterfaces/dynamic_type_t02.dart
index 194e266..45ef145 100644
--- a/Language/Classes/Superinterfaces/dynamic_type_t02.dart
+++ b/Language/Classes/Superinterfaces/dynamic_type_t02.dart
@@ -6,7 +6,6 @@
/// specifies type dynamic as a superinterface.
/// @description Checks that it is a compile-time error if dynamic is included
/// in the type list of a class's implements clause.
-/// @compile-error
/// @author rodionov
@@ -14,6 +13,9 @@
abstract class J {}
class A implements I, dynamic, J {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/Superinterfaces/dynamic_type_t03.dart b/Language/Classes/Superinterfaces/dynamic_type_t03.dart
index 4646dee..82e8637 100644
--- a/Language/Classes/Superinterfaces/dynamic_type_t03.dart
+++ b/Language/Classes/Superinterfaces/dynamic_type_t03.dart
@@ -7,13 +7,15 @@
/// @description Checks that it is a compile-time error if dynamic is included
/// in the type list of a class's implements clause.
/// @author sgrekhov@unipro.ru
-/// @compile-error
// SharedOptions=--enable-experiment=nonfunction-type-aliases
typedef d = dynamic;
class A implements d {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/Superinterfaces/implicit_interface_t01.dart b/Language/Classes/Superinterfaces/implicit_interface_t01.dart
index cf85a3f..b9c317c 100644
--- a/Language/Classes/Superinterfaces/implicit_interface_t01.dart
+++ b/Language/Classes/Superinterfaces/implicit_interface_t01.dart
@@ -7,7 +7,6 @@
/// corresponding instance member m of type F' if F' is not a subtype of F.
/// @description Checks that it is a compile error if the type F'
/// of declared instance member m is not a subtype of F.
-/// @compile-error
/// @author ilya
@@ -17,6 +16,9 @@
class C implements I {
foo() {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main () {
diff --git a/Language/Classes/Superinterfaces/implicit_interface_t02.dart b/Language/Classes/Superinterfaces/implicit_interface_t02.dart
index 935a379..7731a00 100644
--- a/Language/Classes/Superinterfaces/implicit_interface_t02.dart
+++ b/Language/Classes/Superinterfaces/implicit_interface_t02.dart
@@ -7,7 +7,6 @@
/// corresponding instance member m of type F' if F' is not a subtype of F.
/// @description Checks that it is a compile error if the type F' of
/// inherited instance member m is not a subtype of F.
-/// @compile-error
/// @author ilya
@@ -20,6 +19,9 @@
}
class C extends S implements I {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main () {
new C();
diff --git a/Language/Classes/Superinterfaces/implicit_interface_t03.dart b/Language/Classes/Superinterfaces/implicit_interface_t03.dart
index 994b459..fa6f216 100644
--- a/Language/Classes/Superinterfaces/implicit_interface_t03.dart
+++ b/Language/Classes/Superinterfaces/implicit_interface_t03.dart
@@ -7,7 +7,6 @@
/// corresponding instance member m of type F' if F' is not a subtype of F.
/// @description Checks that it is a compile error if the type F'
/// of declared instance member m is not a subtype of F. Test type aliases
-/// @compile-error
/// @author ilya
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -19,6 +18,9 @@
class C implements IAlias {
foo() {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main () {
diff --git a/Language/Classes/Superinterfaces/itself_t01.dart b/Language/Classes/Superinterfaces/itself_t01.dart
index 6f7d1b4..340f762 100644
--- a/Language/Classes/Superinterfaces/itself_t01.dart
+++ b/Language/Classes/Superinterfaces/itself_t01.dart
@@ -8,13 +8,15 @@
/// denotes the interface of the class.
/// Test checks that it is a compile-time error when a class's own name is
/// included in its implements clause.
-/// @compile-error
/// @author rodionov
abstract class I {}
class C implements I, C {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main () {
new C();
diff --git a/Language/Classes/Superinterfaces/itself_t02.dart b/Language/Classes/Superinterfaces/itself_t02.dart
index 8190eda..ad140f6 100644
--- a/Language/Classes/Superinterfaces/itself_t02.dart
+++ b/Language/Classes/Superinterfaces/itself_t02.dart
@@ -8,13 +8,15 @@
/// denotes the interface of the class.
/// Test checks that it is a compile-time error when a class's own name is
/// included in its implements clause.
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
abstract class I {}
class C implements I, CAlias {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
typedef CAlias = C;
diff --git a/Language/Classes/Superinterfaces/more_than_once_t01.dart b/Language/Classes/Superinterfaces/more_than_once_t01.dart
index b625062..faa05cb 100644
--- a/Language/Classes/Superinterfaces/more_than_once_t01.dart
+++ b/Language/Classes/Superinterfaces/more_than_once_t01.dart
@@ -6,7 +6,6 @@
/// C specifies a type T as a superinterface more than once.
/// @description Checks that it is a compile-time error if the same type appears
/// more than once in the implements clause.
-/// @compile-error
/// @author pagolubev
@@ -14,6 +13,9 @@
abstract class J {}
class A implements I, J, I {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/Superinterfaces/more_than_once_t02.dart b/Language/Classes/Superinterfaces/more_than_once_t02.dart
index d6271bc..5771ea2 100644
--- a/Language/Classes/Superinterfaces/more_than_once_t02.dart
+++ b/Language/Classes/Superinterfaces/more_than_once_t02.dart
@@ -6,7 +6,6 @@
/// C specifies a type T as a superinterface more than once.
/// @description Checks that it is a compile-time error if the same type appears
/// more than once in the implements clause. Test type aliases
-/// @compile-error
/// @Issue 45526
/// @author sgrekhov@unipro.ru
@@ -17,6 +16,9 @@
typedef IAlias = I;
class A implements I, J, IAlias {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/Superinterfaces/no_member_t01.dart b/Language/Classes/Superinterfaces/no_member_t01.dart
index 3620798..18f6720 100644
--- a/Language/Classes/Superinterfaces/no_member_t01.dart
+++ b/Language/Classes/Superinterfaces/no_member_t01.dart
@@ -9,7 +9,6 @@
/// non-abstract instance member m of type F' such that F' <: F.
/// @description Checks that it is a compile error if a class does not declare
/// nor inherit an instance method declared in class' interface.
-/// @compile-error
/// @author msyabro
abstract class I {
@@ -17,6 +16,9 @@
}
class C implements I {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main () {
diff --git a/Language/Classes/Superinterfaces/no_member_t02.dart b/Language/Classes/Superinterfaces/no_member_t02.dart
index a5a62a7..560b9ca 100644
--- a/Language/Classes/Superinterfaces/no_member_t02.dart
+++ b/Language/Classes/Superinterfaces/no_member_t02.dart
@@ -9,7 +9,6 @@
/// inherit a corresponding instance member m of type F' such that F' <: F.
/// @description Checks that there are no warnings if the type F' of
/// declared instance member m is in fact a subtype of F.
-/// @static-clean
/// @author ilya
abstract class I {
diff --git a/Language/Classes/Superinterfaces/no_member_t03.dart b/Language/Classes/Superinterfaces/no_member_t03.dart
index d97b58f..85c5f80 100644
--- a/Language/Classes/Superinterfaces/no_member_t03.dart
+++ b/Language/Classes/Superinterfaces/no_member_t03.dart
@@ -9,7 +9,6 @@
/// inherit a corresponding instance member m of type F' such that F' <: F.
/// @description Checks that there are no warnings if the type F' of
/// inherited instance member m is in fact a subtype of F.
-/// @static-clean
/// @author ilya
diff --git a/Language/Classes/Superinterfaces/no_member_t04.dart b/Language/Classes/Superinterfaces/no_member_t04.dart
index 2922590..35a1298 100644
--- a/Language/Classes/Superinterfaces/no_member_t04.dart
+++ b/Language/Classes/Superinterfaces/no_member_t04.dart
@@ -10,7 +10,6 @@
/// @description Checks that there are no warnings if a class declares
/// its own noSuchMethod() and does not declare nor inherit an instance
/// method declared in class interface.
-/// @static-clean
/// @author ilya
diff --git a/Language/Classes/Superinterfaces/no_member_t05.dart b/Language/Classes/Superinterfaces/no_member_t05.dart
index de58fb5..8cc804f 100644
--- a/Language/Classes/Superinterfaces/no_member_t05.dart
+++ b/Language/Classes/Superinterfaces/no_member_t05.dart
@@ -10,7 +10,6 @@
/// @description Checks that it is a compile error if a class does not declare
/// nor inherit an instance method declared in the interface of non-abstract
/// class.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -19,6 +18,9 @@
}
class C implements I {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main () {
diff --git a/Language/Classes/Superinterfaces/no_member_t06.dart b/Language/Classes/Superinterfaces/no_member_t06.dart
index a628759..56e8937 100644
--- a/Language/Classes/Superinterfaces/no_member_t06.dart
+++ b/Language/Classes/Superinterfaces/no_member_t06.dart
@@ -9,7 +9,6 @@
/// non-abstract instance member m of type F' such that F' <: F.
/// @description Checks that it is a compile error if a class does not declare
/// nor inherit an instance method declared in class' interface. Test type alias
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -21,6 +20,9 @@
typedef IAlias = I;
class C implements IAlias {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main () {
diff --git a/Language/Classes/Superinterfaces/no_member_t07.dart b/Language/Classes/Superinterfaces/no_member_t07.dart
index 194a4e0..eb7ceb6 100644
--- a/Language/Classes/Superinterfaces/no_member_t07.dart
+++ b/Language/Classes/Superinterfaces/no_member_t07.dart
@@ -10,7 +10,6 @@
/// @description Checks that there are no warnings if a class declares
/// its own noSuchMethod() and does not declare nor inherit an instance
/// method declared in class interface. Test type alias
-/// @static-clean
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
diff --git a/Language/Classes/Superinterfaces/superclass_as_superinterface_t01.dart b/Language/Classes/Superinterfaces/superclass_as_superinterface_t01.dart
index f51606d..dc74366 100644
--- a/Language/Classes/Superinterfaces/superclass_as_superinterface_t01.dart
+++ b/Language/Classes/Superinterfaces/superclass_as_superinterface_t01.dart
@@ -6,12 +6,14 @@
/// specified as a superinterface of C.
/// @description Test checks that it is a compile-time error when a class has
/// the same class as superclass and interface.
-/// @compile-error
/// @author hlodvig
abstract class A {}
class C extends A implements A {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main () {
new C();
diff --git a/Language/Classes/Superinterfaces/superclass_as_superinterface_t02.dart b/Language/Classes/Superinterfaces/superclass_as_superinterface_t02.dart
index dec41f8..f5eb2f2 100644
--- a/Language/Classes/Superinterfaces/superclass_as_superinterface_t02.dart
+++ b/Language/Classes/Superinterfaces/superclass_as_superinterface_t02.dart
@@ -6,7 +6,6 @@
/// specified as a superinterface of C.
/// @description Test checks that it is a compile-time error when a class has
/// the same class as superclass and interface. Test type aliases
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -16,6 +15,9 @@
typedef AAlias = A;
class C extends AAlias implements AAlias {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main () {
new C();
diff --git a/Language/Classes/Superinterfaces/superclass_as_superinterface_t03.dart b/Language/Classes/Superinterfaces/superclass_as_superinterface_t03.dart
index 98a12b9..7675310 100644
--- a/Language/Classes/Superinterfaces/superclass_as_superinterface_t03.dart
+++ b/Language/Classes/Superinterfaces/superclass_as_superinterface_t03.dart
@@ -6,7 +6,6 @@
/// specified as a superinterface of C.
/// @description Test checks that it is a compile-time error when a class has
/// the same class as superclass and interface. Test type aliases
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -16,6 +15,9 @@
typedef AAlias = A;
class C extends AAlias implements A {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main () {
new C();
diff --git a/Language/Classes/Superinterfaces/superclass_as_superinterface_t04.dart b/Language/Classes/Superinterfaces/superclass_as_superinterface_t04.dart
index 49167fb..baade13 100644
--- a/Language/Classes/Superinterfaces/superclass_as_superinterface_t04.dart
+++ b/Language/Classes/Superinterfaces/superclass_as_superinterface_t04.dart
@@ -6,7 +6,6 @@
/// specified as a superinterface of C.
/// @description Test checks that it is a compile-time error when a class has
/// the same class as superclass and interface. Test type aliases
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -16,6 +15,9 @@
typedef AAlias = A;
class C extends A implements AAlias {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main () {
new C();
diff --git a/Language/Classes/Superinterfaces/syntax_t02.dart b/Language/Classes/Superinterfaces/syntax_t02.dart
index 7be657e..2597f94 100644
--- a/Language/Classes/Superinterfaces/syntax_t02.dart
+++ b/Language/Classes/Superinterfaces/syntax_t02.dart
@@ -10,10 +10,12 @@
/// ;
/// @description Checks that it is a compile-time error if the implements
/// clause of a class does not list any types.
-/// @compile-error
/// @author rodionov
class A implements {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/Superinterfaces/type_variable_as_superinterface_t01.dart b/Language/Classes/Superinterfaces/type_variable_as_superinterface_t01.dart
index 3771a38..ba66e10 100644
--- a/Language/Classes/Superinterfaces/type_variable_as_superinterface_t01.dart
+++ b/Language/Classes/Superinterfaces/type_variable_as_superinterface_t01.dart
@@ -6,11 +6,13 @@
/// C species a type variable as a superinterface.
/// @description Checks that it is a compile-time error when the type expression
/// in a class's implements clause denotes a type variable.
-/// @compile-error
/// @author rodionov
class A<T> implements T {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/Superinterfaces/wrong_type_t01.dart b/Language/Classes/Superinterfaces/wrong_type_t01.dart
index 04844ae..a0395db 100644
--- a/Language/Classes/Superinterfaces/wrong_type_t01.dart
+++ b/Language/Classes/Superinterfaces/wrong_type_t01.dart
@@ -7,11 +7,13 @@
/// as a superinterface
/// @description Checks that it is a compile-time error when the type expression
/// in a class's implements clause denotes an unavailable type.
-/// @compile-error
/// @author pagolubev
class A implements Unavailable {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/Superinterfaces/wrong_type_t02.dart b/Language/Classes/Superinterfaces/wrong_type_t02.dart
index 1e2a7f5..ec7647d 100644
--- a/Language/Classes/Superinterfaces/wrong_type_t02.dart
+++ b/Language/Classes/Superinterfaces/wrong_type_t02.dart
@@ -7,13 +7,15 @@
/// as a superinterface
/// @description Checks that it is a compile-time error when the type expression
/// in a class's implements clause denotes a function type.
-/// @compile-error
/// @author rodionov
typedef void foo();
class A implements foo {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/Superinterfaces/wrong_type_t03.dart b/Language/Classes/Superinterfaces/wrong_type_t03.dart
index bd2acf4..93871a3 100644
--- a/Language/Classes/Superinterfaces/wrong_type_t03.dart
+++ b/Language/Classes/Superinterfaces/wrong_type_t03.dart
@@ -7,13 +7,15 @@
/// as a superinterface
/// @description Checks that it is a compile-time error when the type expression
/// in a class's implements clause denotes a variable name.
-/// @compile-error
/// @author rodionov
int foo = 42;
class A implements foo {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/Superinterfaces/wrong_type_t04.dart b/Language/Classes/Superinterfaces/wrong_type_t04.dart
index 944c615..119b4b8 100644
--- a/Language/Classes/Superinterfaces/wrong_type_t04.dart
+++ b/Language/Classes/Superinterfaces/wrong_type_t04.dart
@@ -7,13 +7,15 @@
/// as a superinterface
/// @description Checks that it is a compile-time error when the type expression
/// in a class's implements clause denotes an enumerated type
-/// @compile-error
/// @author sgrekhov@unipro.ru
enum E {a, b, c}
class A implements E {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/Superinterfaces/wrong_type_t05.dart b/Language/Classes/Superinterfaces/wrong_type_t05.dart
index 328fd0f..358842c 100644
--- a/Language/Classes/Superinterfaces/wrong_type_t05.dart
+++ b/Language/Classes/Superinterfaces/wrong_type_t05.dart
@@ -7,7 +7,6 @@
/// as a superinterface
/// @description Checks that it is a compile-time error when the type expression
/// in a class's implements clause denotes a deferred type
-/// @compile-error
/// @author sgrekhov@unipro.ru
/// @issue 42031
@@ -15,6 +14,8 @@
import "wrong_type_lib.dart" deferred as d;
class C implements d.A {}
+// ^
+// [analyzer] unspecified
main() {
new C();
diff --git a/Language/Classes/declarations_t02.dart b/Language/Classes/declarations_t02.dart
index 3999738..b19d0eb 100644
--- a/Language/Classes/declarations_t02.dart
+++ b/Language/Classes/declarations_t02.dart
@@ -34,14 +34,18 @@
/// ;
/// @description Checks that it is a compile-time error if a constant
/// constructor declaration includes a body.
-/// @compile-error
/// @author msyabro
class A {
const A() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
const A();
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Classes/declarations_t03.dart b/Language/Classes/declarations_t03.dart
index ec88037..2f193fe 100644
--- a/Language/Classes/declarations_t03.dart
+++ b/Language/Classes/declarations_t03.dart
@@ -34,15 +34,19 @@
/// ;
/// @description Checks that it is a compile-time error if a redirecting
/// constant constructor declaration includes a body.
-/// @compile-error
/// @author msyabro
class A {
const A(): this.anotherConstructor() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
A.anotherConstructor() {}
}
main() {
const A();
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Classes/declarations_t04.dart b/Language/Classes/declarations_t04.dart
index 8db9143..fd32fea 100644
--- a/Language/Classes/declarations_t04.dart
+++ b/Language/Classes/declarations_t04.dart
@@ -34,15 +34,19 @@
/// ;
/// @description Checks that it is a compile-time error if a constant
/// constructor declaration with initializers includes a body.
-/// @compile-error
/// @author msyabro
class A {
const A(): x = 1 {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
final x;
}
main() {
const A();
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Classes/declarations_t06.dart b/Language/Classes/declarations_t06.dart
index d1b94d1..e3bd03a 100644
--- a/Language/Classes/declarations_t06.dart
+++ b/Language/Classes/declarations_t06.dart
@@ -34,12 +34,14 @@
/// ;
/// @description Checks that it is a compile-time error if a redirecting
/// constructor declaration includes a body.
-/// @compile-error
/// @author msyabro
class A {
A(): this.B() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
A.B() {}
}
diff --git a/Language/Classes/declarations_t08.dart b/Language/Classes/declarations_t08.dart
index f5cd796..35a89a5 100644
--- a/Language/Classes/declarations_t08.dart
+++ b/Language/Classes/declarations_t08.dart
@@ -34,12 +34,14 @@
/// ;
/// @description Checks that it is a compile-time error if a redirecting named
/// constructor declaration includes a body.
-/// @compile-error
/// @author msyabro
class A {
A.B(): this.C() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
A.C() {}
}
diff --git a/Language/Classes/declarations_t12.dart b/Language/Classes/declarations_t12.dart
index 6385a1a..bd6333b 100644
--- a/Language/Classes/declarations_t12.dart
+++ b/Language/Classes/declarations_t12.dart
@@ -34,12 +34,14 @@
/// ;
/// @description Checks that it is a compile-time error if a static initialized
/// variable declaration does not end with a semicolon.
-/// @compile-error
/// @author msyabro
class A {
static int v
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/declarations_t13.dart b/Language/Classes/declarations_t13.dart
index 1d5b12a..2f43736 100644
--- a/Language/Classes/declarations_t13.dart
+++ b/Language/Classes/declarations_t13.dart
@@ -34,14 +34,20 @@
/// ;
/// @description Checks that it is a compile-time error if a constant
/// constructor declaration does not end with a semicolon.
-/// @compile-error
/// @author msyabro
class A {
const A()
+//^
+// [cfe] unspecified
}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
const A();
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Classes/declarations_t14.dart b/Language/Classes/declarations_t14.dart
index f898ae2..01c37fa 100644
--- a/Language/Classes/declarations_t14.dart
+++ b/Language/Classes/declarations_t14.dart
@@ -34,15 +34,22 @@
/// ;
/// @description Checks that it is a compile-time error if a redirecting
/// constant constructor declaration does not end with a semicolon.
-/// @compile-error
/// @author msyabro
class A {
const A(): this.A()
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
A.A() {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
const A();
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Classes/declarations_t15.dart b/Language/Classes/declarations_t15.dart
index 9ae709f..0ab909f 100644
--- a/Language/Classes/declarations_t15.dart
+++ b/Language/Classes/declarations_t15.dart
@@ -34,15 +34,21 @@
/// ;
/// @description Checks that it is a compile-time error if a constant
/// constructor declaration with initializers does not end with a semicolon.
-/// @compile-error
/// @author msyabro
class A {
const A(): x = 1
+//^
+// [cfe] unspecified
final x;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
const A();
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Classes/declarations_t16.dart b/Language/Classes/declarations_t16.dart
index 3db09a7..5d97738 100644
--- a/Language/Classes/declarations_t16.dart
+++ b/Language/Classes/declarations_t16.dart
@@ -34,13 +34,15 @@
/// ;
/// @description Checks that it is a compile-time error if a constructor
/// declaration without a body does not end with a semicolon.
-/// @compile-error
/// @author msyabro
class A {
A()
}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/declarations_t17.dart b/Language/Classes/declarations_t17.dart
index bd4348b..3e698a7 100644
--- a/Language/Classes/declarations_t17.dart
+++ b/Language/Classes/declarations_t17.dart
@@ -34,13 +34,15 @@
/// ;
/// @description Checks that it is a compile-time error if a redirecting
/// constructor declaration does not end with a semicolon.
-/// @compile-error
/// @author msyabro
class A {
A(): this.B()
A.B() {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/declarations_t18.dart b/Language/Classes/declarations_t18.dart
index e993adb..33d855b 100644
--- a/Language/Classes/declarations_t18.dart
+++ b/Language/Classes/declarations_t18.dart
@@ -34,13 +34,15 @@
/// ;
/// @description Checks that it is a compile-time error if a constructor
/// declaration with initializers does not end with a semicolon.
-/// @compile-error
/// @author msyabro
class A {
A(): x = 1
var x;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/declarations_t19.dart b/Language/Classes/declarations_t19.dart
index 8afbb96..290dd4d 100644
--- a/Language/Classes/declarations_t19.dart
+++ b/Language/Classes/declarations_t19.dart
@@ -34,13 +34,15 @@
/// ;
/// @description Checks that it is a compile-time error if a named redirecting
/// constructor declaration does not end with a semicolon.
-/// @compile-error
/// @author msyabro
class A {
A.B(): this.C()
A.C() {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/declarations_t20.dart b/Language/Classes/declarations_t20.dart
index a3070c5..fc65ed8 100644
--- a/Language/Classes/declarations_t20.dart
+++ b/Language/Classes/declarations_t20.dart
@@ -34,13 +34,15 @@
/// ;
/// @description Checks that it is a compile-time error if an abstract getter
/// declaration does not end with a semicolon.
-/// @compile-error
/// @author msyabro
class A {
get val
var _val;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/declarations_t21.dart b/Language/Classes/declarations_t21.dart
index 553ad45..b93e5e4 100644
--- a/Language/Classes/declarations_t21.dart
+++ b/Language/Classes/declarations_t21.dart
@@ -34,13 +34,15 @@
/// ;
/// @description Checks that it is a compile-time error if an abstract setter
/// declaration does not end with a semicolon.
-/// @compile-error
/// @author msyabro
class A {
set val(var v)
var _val;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/declarations_t22.dart b/Language/Classes/declarations_t22.dart
index ef976a8..af100f9 100644
--- a/Language/Classes/declarations_t22.dart
+++ b/Language/Classes/declarations_t22.dart
@@ -34,13 +34,18 @@
/// ;
/// @description Checks that it is a compile-time error if an abstract operator
/// declaration does not end with a semicolon.
-/// @compile-error
/// @author msyabro
class A {
operator ==(A other)
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/declarations_t23.dart b/Language/Classes/declarations_t23.dart
index 8872cfe..9328e97 100644
--- a/Language/Classes/declarations_t23.dart
+++ b/Language/Classes/declarations_t23.dart
@@ -34,13 +34,15 @@
/// ;
/// @description Checks that it is a compile-time error if an abstract method
/// declaration does not end with a semicolon.
-/// @compile-error
/// @author msyabro
class A {
f()
}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/declarations_t24.dart b/Language/Classes/declarations_t24.dart
index fd9f72a..8828c89 100644
--- a/Language/Classes/declarations_t24.dart
+++ b/Language/Classes/declarations_t24.dart
@@ -34,12 +34,14 @@
/// ;
/// @description Checks that it is a compile-time error if a static final
/// declaration list does not end with a semicolon.
-/// @compile-error
/// @author msyabro
class A {
static final v = null, vv = 1
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/declarations_t25.dart b/Language/Classes/declarations_t25.dart
index 27c658e..b443a0a 100644
--- a/Language/Classes/declarations_t25.dart
+++ b/Language/Classes/declarations_t25.dart
@@ -34,12 +34,14 @@
/// ;
/// @description Checks that it is a compile-time error if an operator
/// signature is declared final.
-/// @compile-error
/// @author kaigorodov
class A {
final operator ==(A other) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/declarations_t26.dart b/Language/Classes/declarations_t26.dart
index 45d46fc..8472525 100644
--- a/Language/Classes/declarations_t26.dart
+++ b/Language/Classes/declarations_t26.dart
@@ -34,12 +34,14 @@
/// ;
/// @description Checks that it is a compile-time error if a function signature
/// is declared final.
-/// @compile-error
/// @author kaigorodov
class A {
final a() {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/declarations_t27.dart b/Language/Classes/declarations_t27.dart
index 25552b0..975515c 100644
--- a/Language/Classes/declarations_t27.dart
+++ b/Language/Classes/declarations_t27.dart
@@ -40,12 +40,14 @@
/// ;
/// @description Checks that it is a compile-time error if a function signature
/// is declared final.
-/// @compile-error
/// @author kaigorodov
class A {
final void a() {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/declarations_t28.dart b/Language/Classes/declarations_t28.dart
index cb9f68b..a34ee16 100644
--- a/Language/Classes/declarations_t28.dart
+++ b/Language/Classes/declarations_t28.dart
@@ -34,12 +34,14 @@
/// ;
/// @description Checks that it is a compile-time error if a function signature
/// is declared final.
-/// @compile-error
/// @author kaigorodov
class A {
final String a() {return null;}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/declarations_t29.dart b/Language/Classes/declarations_t29.dart
index 5eb225e..6fedf58 100644
--- a/Language/Classes/declarations_t29.dart
+++ b/Language/Classes/declarations_t29.dart
@@ -34,12 +34,14 @@
/// ;
/// @description Checks that it is a compile-time error when constructor is
/// declared abstract.
-/// @compile-error
/// @author rodionov
class C {
abstract C();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/declarations_t30.dart b/Language/Classes/declarations_t30.dart
index 9f788b0..d865d4e 100644
--- a/Language/Classes/declarations_t30.dart
+++ b/Language/Classes/declarations_t30.dart
@@ -34,12 +34,14 @@
/// ;
/// @description Checks that it is a compile-time error when a named
/// constructor is declared abstract.
-/// @compile-error
/// @author kaigorodov
class C {
abstract C.id();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/declarations_t31.dart b/Language/Classes/declarations_t31.dart
index b878cb4..b5352da 100644
--- a/Language/Classes/declarations_t31.dart
+++ b/Language/Classes/declarations_t31.dart
@@ -34,12 +34,14 @@
/// ;
/// @description Checks that it is a compile-time error when a constant
/// constructor is declared abstract.
-/// @compile-error
/// @author rodionov
class C {
abstract const C();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/declarations_t32.dart b/Language/Classes/declarations_t32.dart
index 50ef838..f5fc21f 100644
--- a/Language/Classes/declarations_t32.dart
+++ b/Language/Classes/declarations_t32.dart
@@ -34,12 +34,14 @@
/// ;
/// @description Checks that it is a compile-time error when a constant named
/// constructor is declared abstract.
-/// @compile-error
/// @author rodionov
class C {
const abstract C.id();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/declarations_t33.dart b/Language/Classes/declarations_t33.dart
index 8c20e66..8df3f55 100644
--- a/Language/Classes/declarations_t33.dart
+++ b/Language/Classes/declarations_t33.dart
@@ -34,12 +34,14 @@
/// ;
/// @description Checks that it is a compile-time error when constructor is
/// declared static.
-/// @compile-error
/// @author rodionov
class C {
static C() {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/definition_t02.dart b/Language/Classes/definition_t02.dart
index aeaed70..3908e02 100644
--- a/Language/Classes/definition_t02.dart
+++ b/Language/Classes/definition_t02.dart
@@ -9,14 +9,17 @@
/// ;
/// @description Checks that it is a compile-time error if a closing curly
/// bracket is missed in a class type definition. Class body is not empty.
-/// @compile-error
/// @author msyabro
class A {
+// ^
+// [cfe] unspecified
var someVariable;
void someMethod() {}
main() {
new A();
}
+// [error line 25, column 0]
+// [analyzer] unspecified
\ No newline at end of file
diff --git a/Language/Classes/definition_t03.dart b/Language/Classes/definition_t03.dart
index ac46de4..d347cb0 100644
--- a/Language/Classes/definition_t03.dart
+++ b/Language/Classes/definition_t03.dart
@@ -9,12 +9,15 @@
/// ;
/// @description Checks that it is a compile-time error if a closing curly
/// bracket is missed in a class type definition. Class body is empty.
-/// @compile-error
/// @author msyabro
class A {
+// ^
+// [cfe] unspecified
main() {
new A();
}
+// [error line 23, column 0]
+// [analyzer] unspecified
\ No newline at end of file
diff --git a/Language/Classes/definition_t04.dart b/Language/Classes/definition_t04.dart
index 42a8cad..b942bf9 100644
--- a/Language/Classes/definition_t04.dart
+++ b/Language/Classes/definition_t04.dart
@@ -9,14 +9,19 @@
/// ;
/// @description Checks that it is a compile-time error if a opening curly
/// bracket is missed in a class type definition. Class body is not empty.
-/// @compile-error
/// @author msyabro
class A
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
var someVariable;
void someMethod() {}
}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/definition_t05.dart b/Language/Classes/definition_t05.dart
index d08c878..0f4addc 100644
--- a/Language/Classes/definition_t05.dart
+++ b/Language/Classes/definition_t05.dart
@@ -9,11 +9,13 @@
/// ;
/// @description Checks that it is a compile-time error if a opening curly
/// bracket is missed in a class type definition. Class body is empty.
-/// @compile-error
/// @author msyabro
class A }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/definition_t06.dart b/Language/Classes/definition_t06.dart
index 49ee105..b30cb16 100644
--- a/Language/Classes/definition_t06.dart
+++ b/Language/Classes/definition_t06.dart
@@ -10,11 +10,13 @@
/// @description Checks that it is a compile-time error if both opening and
/// closing curly brackets are missed in a class type definition. Class body
/// is empty.
-/// @compile-error
/// @author msyabro
class A
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/definition_t07.dart b/Language/Classes/definition_t07.dart
index 81ca571..e180b27 100644
--- a/Language/Classes/definition_t07.dart
+++ b/Language/Classes/definition_t07.dart
@@ -10,11 +10,13 @@
/// @description Checks that it is a compile-time error if both opening and
/// closing curly brackets are missed in a class type definition with type
/// parameters. Class body is empty.
-/// @compile-error
/// @author msyabro
class A<T>
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/definition_t08.dart b/Language/Classes/definition_t08.dart
index 980b034..5eb47cb 100644
--- a/Language/Classes/definition_t08.dart
+++ b/Language/Classes/definition_t08.dart
@@ -10,12 +10,14 @@
/// @description Checks that it is a compile-time error if both opening and
/// closing curly brackets are missed in a class type definition with extends
/// clause. Class body is empty.
-/// @compile-error
/// @author msyabro
class S {}
class A extends S
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/definition_t09.dart b/Language/Classes/definition_t09.dart
index 28d86e3..2cb05e1 100644
--- a/Language/Classes/definition_t09.dart
+++ b/Language/Classes/definition_t09.dart
@@ -10,12 +10,14 @@
/// @description Checks that it is a compile-time error if both opening and
/// closing curly brackets are missed in a class type definition with an
/// implements clause. Class body is empty.
-/// @compile-error
/// @author msyabro
abstract class I {}
class A implements I
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/definition_t10.dart b/Language/Classes/definition_t10.dart
index 84a3b87..e89c887 100644
--- a/Language/Classes/definition_t10.dart
+++ b/Language/Classes/definition_t10.dart
@@ -9,11 +9,13 @@
/// ;
/// @description Checks that it is a compile-time error if a class type
/// definition does not have a class identifier. Class body is empty.
-/// @compile-error
/// @author msyabro
class {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
var someMember;
}
diff --git a/Language/Classes/definition_t11.dart b/Language/Classes/definition_t11.dart
index 703f42c..29719b4 100644
--- a/Language/Classes/definition_t11.dart
+++ b/Language/Classes/definition_t11.dart
@@ -10,11 +10,13 @@
/// @description Checks that it is a compile-time error if a class type
/// definition ends with a semicolon.
/// Class body is empty.
-/// @compile-error
/// @author msyabro
class A {};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/definition_t12.dart b/Language/Classes/definition_t12.dart
index 24c97bb..4fd5696 100644
--- a/Language/Classes/definition_t12.dart
+++ b/Language/Classes/definition_t12.dart
@@ -10,13 +10,18 @@
/// @description Checks that it is a compile-time error if square brackets are
/// used instead of the curly ones in a class type definition. Class body is
/// not empty.
-/// @compile-error
/// @author msyabro
class A [
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
var someMember;
]
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/definition_t13.dart b/Language/Classes/definition_t13.dart
index 2abf950..a74a1be 100644
--- a/Language/Classes/definition_t13.dart
+++ b/Language/Classes/definition_t13.dart
@@ -10,11 +10,13 @@
/// @description Checks that it is a compile-time error if a class type
/// definition uses square brackets instead of the curly ones. Class body is
/// empty.
-/// @compile-error
/// @author rodionov
class A []
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/definition_t14.dart b/Language/Classes/definition_t14.dart
index 331ae70..c6e2629 100644
--- a/Language/Classes/definition_t14.dart
+++ b/Language/Classes/definition_t14.dart
@@ -10,13 +10,18 @@
/// @description Checks that it is a compile-time error if a class type
/// definition uses round brackets instead of the curly ones. Class body is
/// not empty.
-/// @compile-error
/// @author msyabro
class A (
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
var someMember;
)
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/definition_t15.dart b/Language/Classes/definition_t15.dart
index 07be2fe..1dc3c2e 100644
--- a/Language/Classes/definition_t15.dart
+++ b/Language/Classes/definition_t15.dart
@@ -10,11 +10,13 @@
/// @description Checks that it is a compile-time error if a class type
/// definition uses round brackets instead of the curly ones. Class body is
/// empty.
-/// @compile-error
/// @author rodionov
class A ()
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/definition_t16.dart b/Language/Classes/definition_t16.dart
index b974938..0998547 100644
--- a/Language/Classes/definition_t16.dart
+++ b/Language/Classes/definition_t16.dart
@@ -10,14 +10,22 @@
/// @description Checks that it is a compile-time error if a class type
/// definition uses different styles of opening and closing brackets.
/// Class body is not empty.
-/// @compile-error
/// @author rodionov
class A (
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
var someMember;
}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
}
+// [error line 31, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
\ No newline at end of file
diff --git a/Language/Classes/definition_t17.dart b/Language/Classes/definition_t17.dart
index e0b880a..d1d6ba0 100644
--- a/Language/Classes/definition_t17.dart
+++ b/Language/Classes/definition_t17.dart
@@ -9,12 +9,17 @@
/// ;
/// @description Checks that it is a compile-time error if both opening and
/// closing curly brackets are missed in an abstract class declaration.
-/// @compile-error
/// @author msyabro
abstract class A
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Classes/definition_t18.dart b/Language/Classes/definition_t18.dart
index 6009477..13dd1b6 100644
--- a/Language/Classes/definition_t18.dart
+++ b/Language/Classes/definition_t18.dart
@@ -9,11 +9,13 @@
/// ;
/// @description Checks that it is a compile-time error if type parameters are
/// separated with semicolon in a a class definition.
-/// @compile-error
/// @author kaigorodov
class A<T1;T2> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/definition_t19.dart b/Language/Classes/definition_t19.dart
index 73a53c0..09cb375 100644
--- a/Language/Classes/definition_t19.dart
+++ b/Language/Classes/definition_t19.dart
@@ -9,11 +9,13 @@
/// ;
/// @description Checks that it is a compile-time error if type parameters list
/// ends with an extra angle bracket in a class definition.
-/// @compile-error
/// @author kaigorodov
class A<T1>> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/definition_t21.dart b/Language/Classes/definition_t21.dart
index 1cd1a6d..d03426e 100644
--- a/Language/Classes/definition_t21.dart
+++ b/Language/Classes/definition_t21.dart
@@ -9,13 +9,15 @@
/// ;
/// @description Checks that it is a compile-time error if mixin has incomplete
/// declaration in a class definition.
-/// @compile-error
/// @author hlodvig
class A {}
class C extends A with {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/definition_t22.dart b/Language/Classes/definition_t22.dart
index 571b7ba..ccdd504 100644
--- a/Language/Classes/definition_t22.dart
+++ b/Language/Classes/definition_t22.dart
@@ -9,7 +9,6 @@
/// ;
/// @description Checks that it is a compile-time error if mixin has incorrect
/// declaration in a class definition.
-/// @compile-error
/// @author hlodvig
@@ -18,6 +17,9 @@
class B2 {}
class C extends A with B1 B2 {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Classes/definition_t24.dart b/Language/Classes/definition_t24.dart
index 21b9347..3df1c47 100644
--- a/Language/Classes/definition_t24.dart
+++ b/Language/Classes/definition_t24.dart
@@ -13,12 +13,14 @@
/// ...
/// @description Checks that it is a compile-time error if the superclass of a
/// class C is specified as a superinterface of C.
-/// @compile-error
/// @author sgrekhov@unipro.ru
/// @issue dart-lang/co19#129
/// @issue 31624
class X = A with B implements A;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
abstract class A {}
class B {}
diff --git a/Language/Classes/member_definition_t01.dart b/Language/Classes/member_definition_t01.dart
index 121edf4..23417ee 100644
--- a/Language/Classes/member_definition_t01.dart
+++ b/Language/Classes/member_definition_t01.dart
@@ -35,12 +35,14 @@
/// ;
/// @description Checks that a class can't be defined inside another class as
/// it is not among the allowed class member definitions.
-/// @compile-error
/// @author msyabro
class A {
class B {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/member_definition_t02.dart b/Language/Classes/member_definition_t02.dart
index 689a1d6..a2112bf 100644
--- a/Language/Classes/member_definition_t02.dart
+++ b/Language/Classes/member_definition_t02.dart
@@ -35,12 +35,16 @@
/// ;
/// @description Checks that a function type alias can't be declared inside
/// another class as it is not among the allowed class member definitions.
-/// @compile-error
/// @author msyabro
class A {
+// ^
+// [cfe] unspecified
typedef int f();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/member_definition_t04.dart b/Language/Classes/member_definition_t04.dart
index 5a6ecaa..57f8c4a 100644
--- a/Language/Classes/member_definition_t04.dart
+++ b/Language/Classes/member_definition_t04.dart
@@ -35,12 +35,14 @@
/// ;
/// @description Checks that a block statement can't be used in place of a
/// class member definition.
-/// @compile-error
/// @author msyabro
class A {
{}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/member_definition_t05.dart b/Language/Classes/member_definition_t05.dart
index b0a84e5..cbefed7 100644
--- a/Language/Classes/member_definition_t05.dart
+++ b/Language/Classes/member_definition_t05.dart
@@ -35,12 +35,14 @@
/// ;
/// @description Checks that an expression statement can't be used in place of
/// a class member definition.
-/// @compile-error
/// @author msyabro
class A {
1 + 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/member_definition_t06.dart b/Language/Classes/member_definition_t06.dart
index 1aaee13..5372639 100644
--- a/Language/Classes/member_definition_t06.dart
+++ b/Language/Classes/member_definition_t06.dart
@@ -35,12 +35,14 @@
/// ;
/// @description Checks that an if statement can't be used in place of a class
/// member definition.
-/// @compile-error
/// @author msyabro
class A {
if (true) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/member_definition_t07.dart b/Language/Classes/member_definition_t07.dart
index 19e56ff..c90d1f2 100644
--- a/Language/Classes/member_definition_t07.dart
+++ b/Language/Classes/member_definition_t07.dart
@@ -35,12 +35,14 @@
/// ;
/// @description Checks that a for statement can't be used in place of a class
/// member definition.
-/// @compile-error
/// @author msyabro
class A {
for ( ; ; ) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/member_definition_t08.dart b/Language/Classes/member_definition_t08.dart
index 1743ebc..ce51cd4 100644
--- a/Language/Classes/member_definition_t08.dart
+++ b/Language/Classes/member_definition_t08.dart
@@ -35,12 +35,14 @@
/// ;
/// @description Checks that a foreach statement can't be used in place of a
/// class member definition.
-/// @compile-error
/// @author msyabro
class A {
for (int i in [1, 2]) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/member_definition_t09.dart b/Language/Classes/member_definition_t09.dart
index 7fbc0d8..3d7159c 100644
--- a/Language/Classes/member_definition_t09.dart
+++ b/Language/Classes/member_definition_t09.dart
@@ -35,12 +35,14 @@
/// ;
/// @description Checks that a while statement can't be used in place of a
/// class member definition.
-/// @compile-error
/// @author msyabro
class A {
while (true) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/member_definition_t10.dart b/Language/Classes/member_definition_t10.dart
index a7d5d0e..94ab50f 100644
--- a/Language/Classes/member_definition_t10.dart
+++ b/Language/Classes/member_definition_t10.dart
@@ -35,12 +35,16 @@
/// ;
/// @description Checks that a do statement can't be used in place of a class
/// member definition.
-/// @compile-error
/// @author msyabro
class A {
+// ^
+// [analyzer] unspecified
do {} while (true);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/member_definition_t11.dart b/Language/Classes/member_definition_t11.dart
index 360e1d1..ed06946 100644
--- a/Language/Classes/member_definition_t11.dart
+++ b/Language/Classes/member_definition_t11.dart
@@ -35,15 +35,23 @@
/// ;
/// @description Checks that a switch statement can't be used in place of a
/// class member definition.
-/// @compile-error
/// @author msyabro
class A {
switch (1 + 1) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
case 1: break;
+// ^
+// [analyzer] unspecified
case 2: break;
+// ^
+// [analyzer] unspecified
default: ;
+// ^
+// [analyzer] unspecified
}
}
diff --git a/Language/Classes/member_definition_t12.dart b/Language/Classes/member_definition_t12.dart
index 791fdb4..1e6fe89 100644
--- a/Language/Classes/member_definition_t12.dart
+++ b/Language/Classes/member_definition_t12.dart
@@ -35,14 +35,19 @@
/// ;
/// @description Checks that a try statement can't be used in place of a class
/// member definition.
-/// @compile-error
/// @author msyabro
class A {
try {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
throw "exception";
} catch (e) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/member_definition_t13.dart b/Language/Classes/member_definition_t13.dart
index c96f227..994ddad 100644
--- a/Language/Classes/member_definition_t13.dart
+++ b/Language/Classes/member_definition_t13.dart
@@ -35,12 +35,14 @@
/// ;
/// @description Checks that a return statement can't be used in place of a
/// class member definition.
-/// @compile-error
/// @author msyabro
class A {
return 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/member_definition_t14.dart b/Language/Classes/member_definition_t14.dart
index 4dd19cf..f0fedfa 100644
--- a/Language/Classes/member_definition_t14.dart
+++ b/Language/Classes/member_definition_t14.dart
@@ -35,12 +35,14 @@
/// ;
/// @description Checks that labels can't be used in place of a class member
/// definition.
-/// @compile-error
/// @author msyabro
class A {
label:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
var x;
}
diff --git a/Language/Classes/member_definition_t15.dart b/Language/Classes/member_definition_t15.dart
index d9d9c14..11f5b65 100644
--- a/Language/Classes/member_definition_t15.dart
+++ b/Language/Classes/member_definition_t15.dart
@@ -36,12 +36,14 @@
/// ;
/// @description Checks that a break statement can't be used in place of a
/// class member definition.
-/// @compile-error
/// @author msyabro
class A {
break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/member_definition_t16.dart b/Language/Classes/member_definition_t16.dart
index 2f34e17..c492987 100644
--- a/Language/Classes/member_definition_t16.dart
+++ b/Language/Classes/member_definition_t16.dart
@@ -35,12 +35,14 @@
/// ;
/// @description Checks that a continue statement can't be used in place of a
/// class member definition.
-/// @compile-error
/// @author msyabro
class A {
continue;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/member_definition_t17.dart b/Language/Classes/member_definition_t17.dart
index d567daa..6f29bc7 100644
--- a/Language/Classes/member_definition_t17.dart
+++ b/Language/Classes/member_definition_t17.dart
@@ -35,12 +35,14 @@
/// ;
/// @description Checks that a throw statement can't be used in place of a
/// class member definition.
-/// @compile-error
/// @author msyabro
class A {
throw "exception";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/member_definition_t19.dart b/Language/Classes/member_definition_t19.dart
index 605c497..20e9ef1 100644
--- a/Language/Classes/member_definition_t19.dart
+++ b/Language/Classes/member_definition_t19.dart
@@ -35,12 +35,16 @@
/// ;
/// @description Checks that an abstract static method can't be used in place
/// of a class member definition.
-/// @compile-error
/// @author msyabro
class A {
+// ^
+// [cfe] unspecified
static method();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/member_definition_t21.dart b/Language/Classes/member_definition_t21.dart
index 52588ae..fcc5b95 100644
--- a/Language/Classes/member_definition_t21.dart
+++ b/Language/Classes/member_definition_t21.dart
@@ -35,12 +35,14 @@
/// ;
/// @description Checks that a static operator can't be used in place of a
/// class member definition.
-/// @compile-error
/// @author msyabro
class A {
static operator +(other) {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/member_definition_t22.dart b/Language/Classes/member_definition_t22.dart
index c490a1a..f295579 100644
--- a/Language/Classes/member_definition_t22.dart
+++ b/Language/Classes/member_definition_t22.dart
@@ -35,12 +35,16 @@
/// ;
/// @description Checks that an abstract static operator can't be used in
/// place of a class member definition.
-/// @compile-error
/// @author msyabro
class A {
+// ^
+// [cfe] unspecified
static operator +(other);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/member_definition_t24.dart b/Language/Classes/member_definition_t24.dart
index aaaf901..f43a8e5 100644
--- a/Language/Classes/member_definition_t24.dart
+++ b/Language/Classes/member_definition_t24.dart
@@ -35,12 +35,16 @@
/// ;
/// @description Checks that a static abstract getter can't be used in place
/// of a class member definition.
-/// @compile-error
/// @author msyabro
class A {
+// ^
+// [cfe] unspecified
static abstract get x;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/member_definition_t25.dart b/Language/Classes/member_definition_t25.dart
index 854708e..15063dd 100644
--- a/Language/Classes/member_definition_t25.dart
+++ b/Language/Classes/member_definition_t25.dart
@@ -35,12 +35,16 @@
/// ;
/// @description Checks that a static abstract setter can't be used in place
/// of a class member definition.
-/// @compile-error
/// @author msyabro
class A {
+// ^
+// [cfe] unspecified
static abstract set x(v);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/method_definition_t02.dart b/Language/Classes/method_definition_t02.dart
index bed4adc..8802bb7 100644
--- a/Language/Classes/method_definition_t02.dart
+++ b/Language/Classes/method_definition_t02.dart
@@ -22,12 +22,14 @@
/// ;
/// @description Checks that it is a compile-time error if a factory constructor
/// method definition does not include a body.
-/// @compile-error
/// @author msyabro
class A {
factory A();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/method_definition_t03.dart b/Language/Classes/method_definition_t03.dart
index 97db9e1..89a7b4e 100644
--- a/Language/Classes/method_definition_t03.dart
+++ b/Language/Classes/method_definition_t03.dart
@@ -22,12 +22,15 @@
/// ;
/// @description Checks that there is a compile-time error if a concrete class
/// has a function without an implementation
-/// @compile-error
/// @author msyabro
class A {
+// ^
+// [cfe] unspecified
f();
+//^
+// [analyzer] unspecified
}
main() {
diff --git a/Language/Classes/method_definition_t04.dart b/Language/Classes/method_definition_t04.dart
index 7355469..469074e 100644
--- a/Language/Classes/method_definition_t04.dart
+++ b/Language/Classes/method_definition_t04.dart
@@ -23,12 +23,15 @@
/// ;
/// @description Checks that there is a compile-time error if a concrete class
/// has a getter without an implementation
-/// @compile-error
/// @author msyabro
class A {
+// ^
+// [cfe] unspecified
get val;
+//^
+// [analyzer] unspecified
var _val;
}
diff --git a/Language/Classes/method_definition_t05.dart b/Language/Classes/method_definition_t05.dart
index 7d50826..35b8030 100644
--- a/Language/Classes/method_definition_t05.dart
+++ b/Language/Classes/method_definition_t05.dart
@@ -22,12 +22,15 @@
/// ;
/// @description Checks that there is a compile-time error if a concrete class
/// has a setter without an implementation
-/// @compile-error
/// @author msyabro
class A {
+// ^
+// [cfe] unspecified
set val(var v);
+//^
+// [analyzer] unspecified
var _val;
}
diff --git a/Language/Classes/method_definition_t07.dart b/Language/Classes/method_definition_t07.dart
index e679bb4..a032ff0 100644
--- a/Language/Classes/method_definition_t07.dart
+++ b/Language/Classes/method_definition_t07.dart
@@ -22,12 +22,16 @@
/// ;
/// @description Checks that there is a compile-time error if a static getter
/// method definition does not include a body.
-/// @compile-error
/// @author msyabro
class A {
+// ^
+// [cfe] unspecified
static get val;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/method_definition_t08.dart b/Language/Classes/method_definition_t08.dart
index ef04e3d..18d62f0 100644
--- a/Language/Classes/method_definition_t08.dart
+++ b/Language/Classes/method_definition_t08.dart
@@ -22,12 +22,16 @@
/// ;
/// @description Checks that it is a compile-time error if a static setter
/// method definition does not include a body.
-/// @compile-error
/// @author msyabro
class A {
+// ^
+// [cfe] unspecified
static set val(var v);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
static var _val;
}
diff --git a/Language/Classes/method_definition_t09.dart b/Language/Classes/method_definition_t09.dart
index 6efe444..c0bae8b 100644
--- a/Language/Classes/method_definition_t09.dart
+++ b/Language/Classes/method_definition_t09.dart
@@ -22,12 +22,16 @@
/// ;
/// @description Checks that it is a compile-time error if a static function
/// method definition does not include a body.
-/// @compile-error
/// @author msyabro
class A {
+// ^
+// [cfe] unspecified
static f();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/same_name_instance_and_static_members_t01.dart b/Language/Classes/same_name_instance_and_static_members_t01.dart
index ddc4b37..141e606 100644
--- a/Language/Classes/same_name_instance_and_static_members_t01.dart
+++ b/Language/Classes/same_name_instance_and_static_members_t01.dart
@@ -6,7 +6,6 @@
/// a static member with the same name.
/// @description Checks that it is a compile-time error if a class inherits an
/// instance method and declares a static member method with the same name.
-/// @compile-error
/// @author kaigorodov
@@ -16,6 +15,9 @@
class A extends B {
static int func() => 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/same_name_instance_and_static_members_t02.dart b/Language/Classes/same_name_instance_and_static_members_t02.dart
index f915b87..c0b6c6d 100644
--- a/Language/Classes/same_name_instance_and_static_members_t02.dart
+++ b/Language/Classes/same_name_instance_and_static_members_t02.dart
@@ -7,7 +7,6 @@
/// @description Checks that it is a compile-time error if a class inherits an
/// abstract instance method and declares a static member method with the same
/// name.
-/// @compile-error
/// @author kaigorodov
@@ -17,6 +16,9 @@
class A extends B {
static int func() => 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/same_name_instance_and_static_members_t03.dart b/Language/Classes/same_name_instance_and_static_members_t03.dart
index bb5ef7c..418df10 100644
--- a/Language/Classes/same_name_instance_and_static_members_t03.dart
+++ b/Language/Classes/same_name_instance_and_static_members_t03.dart
@@ -6,7 +6,6 @@
/// a static member with the same name.
/// @description Checks that it is a compile-time error if a class inherits an
/// instance method and declares a static field with the same name.
-/// @compile-error
/// @author kaigorodov
@@ -16,6 +15,9 @@
class B extends A {
static int f = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/same_name_instance_and_static_members_t04.dart b/Language/Classes/same_name_instance_and_static_members_t04.dart
index 72c9dfb..28df26e 100644
--- a/Language/Classes/same_name_instance_and_static_members_t04.dart
+++ b/Language/Classes/same_name_instance_and_static_members_t04.dart
@@ -6,7 +6,6 @@
/// a static member with the same name.
/// @description Checks that it is a compile-time error if a class inherits an
/// abstract instance method and declares a static field with the same name.
-/// @compile-error
/// @author kaigorodov
@@ -16,6 +15,9 @@
class B extends A {
static int f = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/same_name_instance_and_static_members_t05.dart b/Language/Classes/same_name_instance_and_static_members_t05.dart
index e37e33c..9a7f389 100644
--- a/Language/Classes/same_name_instance_and_static_members_t05.dart
+++ b/Language/Classes/same_name_instance_and_static_members_t05.dart
@@ -6,13 +6,15 @@
/// a static member with the same name.
/// @description Checks that it is a compile-time error if a class declares a
/// non-abstract instance method and a static method with the same name.
-/// @compile-error
/// @author msyabro
class A {
int func() => 42;
static int func() => 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/same_name_member_and_class_t01.dart b/Language/Classes/same_name_member_and_class_t01.dart
index cfb0c46..cbb3c07 100644
--- a/Language/Classes/same_name_member_and_class_t01.dart
+++ b/Language/Classes/same_name_member_and_class_t01.dart
@@ -7,11 +7,13 @@
/// @description Checks that a class name cannot be used as a name of a member
/// variable.
/// @author hlodvig
-/// @compile-error
class A {
var A;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/same_name_member_and_class_t02.dart b/Language/Classes/same_name_member_and_class_t02.dart
index a1a729a..84e40e1 100644
--- a/Language/Classes/same_name_member_and_class_t02.dart
+++ b/Language/Classes/same_name_member_and_class_t02.dart
@@ -5,12 +5,14 @@
/// @assertion It is a compile time error if a class C declares a member with
/// the same name as C.
/// @description Checks that a class name cannot be used as a name of a getter.
-/// @compile-error
/// @author hlodvig
class A {
int get A => 0;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/same_name_member_and_class_t03.dart b/Language/Classes/same_name_member_and_class_t03.dart
index 0184d08..0f693f1 100644
--- a/Language/Classes/same_name_member_and_class_t03.dart
+++ b/Language/Classes/same_name_member_and_class_t03.dart
@@ -6,12 +6,14 @@
/// the same name as C.
/// @description Checks that a class name cannot be used as a name of a static
/// variable.
-/// @compile-error
/// @author hlodvig
class A {
static int A = 0;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/same_name_member_and_class_t04.dart b/Language/Classes/same_name_member_and_class_t04.dart
index d6348db..d8053f0 100644
--- a/Language/Classes/same_name_member_and_class_t04.dart
+++ b/Language/Classes/same_name_member_and_class_t04.dart
@@ -6,12 +6,14 @@
/// the same name as C.
/// @description Checks that a class name cannot be used as a name of a static
/// getter.
-/// @compile-error
/// @author hlodvig
class A {
static int get A => 0;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/same_name_members_t01.dart b/Language/Classes/same_name_members_t01.dart
index 6d83084..351c662 100644
--- a/Language/Classes/same_name_members_t01.dart
+++ b/Language/Classes/same_name_members_t01.dart
@@ -6,7 +6,6 @@
/// the same name.
/// @description Checks that it is a compile-time error if a class declares
/// two functions of the same name.
-/// @compile-error
/// @author vasya
@@ -15,6 +14,9 @@
void f() {}
int f() => 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/same_name_members_t02.dart b/Language/Classes/same_name_members_t02.dart
index 98ca608..3dbfcf8 100644
--- a/Language/Classes/same_name_members_t02.dart
+++ b/Language/Classes/same_name_members_t02.dart
@@ -6,13 +6,15 @@
/// the same name.
/// @description Checks that it is a compile-time error if a class declares
/// a function and a getter of the same name.
-/// @compile-error
/// @author rodionov
class C {
void f() {}
int get f {return 1;}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/same_name_members_t03.dart b/Language/Classes/same_name_members_t03.dart
index 15b09b1..183ce23 100644
--- a/Language/Classes/same_name_members_t03.dart
+++ b/Language/Classes/same_name_members_t03.dart
@@ -6,13 +6,15 @@
/// the same name.
/// @description Checks that it is a compile-time error if a class declares
/// a function and a static getter of the same name.
-/// @compile-error
/// @author rodionov
class C {
void f() {}
static void get f {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/same_name_members_t04.dart b/Language/Classes/same_name_members_t04.dart
index be262ee..02d74e3 100644
--- a/Language/Classes/same_name_members_t04.dart
+++ b/Language/Classes/same_name_members_t04.dart
@@ -6,13 +6,15 @@
/// the same name.
/// @description Checks that it is a compile-time error if a class declares
/// a function and an abstract function of the same name.
-/// @compile-error
/// @author rodionov
abstract class A {
void f() {}
String f(int f); // abstract
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
class C extends A {
diff --git a/Language/Classes/same_name_members_t05.dart b/Language/Classes/same_name_members_t05.dart
index d7d8d25..1915776 100644
--- a/Language/Classes/same_name_members_t05.dart
+++ b/Language/Classes/same_name_members_t05.dart
@@ -6,17 +6,21 @@
/// the same name.
/// @description Checks that it is a compile-time error if a class declares
/// an abstract function and getter of the same name.
-/// @compile-error
/// @author rodionov
abstract class A {
String f(int f); // abstract
int get f {return 0;}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
class C extends A {
String f(int f) => "Lily was here";
+// ^
+// [analyzer] unspecified
}
main() {
diff --git a/Language/Classes/same_name_members_t06.dart b/Language/Classes/same_name_members_t06.dart
index c70befe..2b9bb2d 100644
--- a/Language/Classes/same_name_members_t06.dart
+++ b/Language/Classes/same_name_members_t06.dart
@@ -6,13 +6,15 @@
/// the same name.
/// @description Checks that it is a compile-time error if a class declares
/// an instance method and an abstract getter of the same name.
-/// @compile-error
/// @author kaigorodov
abstract class A {
String f(int f) => "";
int get f;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
class C extends A {
diff --git a/Language/Classes/same_name_members_t07.dart b/Language/Classes/same_name_members_t07.dart
index 02a693c..dcd6ce0 100644
--- a/Language/Classes/same_name_members_t07.dart
+++ b/Language/Classes/same_name_members_t07.dart
@@ -6,13 +6,15 @@
/// the same name.
/// @description Checks that it is a compile-time error if a class declares
/// a variable and an instance method of the same name.
-/// @compile-error
/// @author rodionov
class C {
var f;
String f(int f) => "";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/same_name_members_t08.dart b/Language/Classes/same_name_members_t08.dart
index 64dd438..e0b2942 100644
--- a/Language/Classes/same_name_members_t08.dart
+++ b/Language/Classes/same_name_members_t08.dart
@@ -6,17 +6,21 @@
/// the same name.
/// @description Checks that it is a compile-time error if a class declares
/// a variable and an abstract function of the same name.
-/// @compile-error
/// @author rodionov
abstract class A {
var f;
String f(int f);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
class C extends A {
String f(int f) => "Lily was here";
+// ^
+// [analyzer] unspecified
}
main() {
diff --git a/Language/Classes/same_name_members_t09.dart b/Language/Classes/same_name_members_t09.dart
index 61017f3..46304b4 100644
--- a/Language/Classes/same_name_members_t09.dart
+++ b/Language/Classes/same_name_members_t09.dart
@@ -6,17 +6,21 @@
/// the same name.
/// @description Checks that it is a compile-time error if a class declares
/// a variable and an abstract getter of the same name.
-/// @compile-error
/// @author rodionov
abstract class A {
var f = 0;
String get f;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
class C extends A {
String get f => "Lily was here";
+// ^
+// [analyzer] unspecified
}
main() {
new C();
diff --git a/Language/Classes/same_name_members_t11.dart b/Language/Classes/same_name_members_t11.dart
index a1ea05e..9767782 100644
--- a/Language/Classes/same_name_members_t11.dart
+++ b/Language/Classes/same_name_members_t11.dart
@@ -6,19 +6,29 @@
/// the same name.
/// @description Checks that it is a compile-time error if a class declares
/// a variable, function, and an abstract getter of the same name.
-/// @compile-error
/// @author kaigorodov
abstract class A {
var f = 0;
String get f;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
String f(int f);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
class C extends A {
String get f => "Lily";
+// ^
+// [analyzer] unspecified
String f(int f) => "was here";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/same_name_type_variable_t01.dart b/Language/Classes/same_name_type_variable_t01.dart
index f3db3a2..a8ec4b2 100644
--- a/Language/Classes/same_name_type_variable_t01.dart
+++ b/Language/Classes/same_name_type_variable_t01.dart
@@ -7,12 +7,14 @@
/// constructors.
/// @description Checks that a type variable can not have the same name as
/// the name of generic class.
-/// @compile-error
/// @author ilya
/// @issue 14513
class A<A> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/same_name_type_variable_t02.dart b/Language/Classes/same_name_type_variable_t02.dart
index 66555bb..e7e0a26 100644
--- a/Language/Classes/same_name_type_variable_t02.dart
+++ b/Language/Classes/same_name_type_variable_t02.dart
@@ -7,12 +7,15 @@
/// constructors.
/// @description Checks that a type variable can not have the same name as
/// the name of generic class instance variable.
-/// @compile-error
/// @author ilya
class A<T> {
+// ^
+// [analyzer] unspecified
var T;
+// ^
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/same_name_type_variable_t03.dart b/Language/Classes/same_name_type_variable_t03.dart
index ba8fb52..10f5986 100644
--- a/Language/Classes/same_name_type_variable_t03.dart
+++ b/Language/Classes/same_name_type_variable_t03.dart
@@ -7,12 +7,15 @@
/// constructors.
/// @description Checks that a type variable can not have the same name as
/// the name of generic class instance getter.
-/// @compile-error
/// @author ilya
class A<T> {
+// ^
+// [analyzer] unspecified
get T => 0;
+// ^
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/same_name_type_variable_t04.dart b/Language/Classes/same_name_type_variable_t04.dart
index 072c3f2..c29e9b0 100644
--- a/Language/Classes/same_name_type_variable_t04.dart
+++ b/Language/Classes/same_name_type_variable_t04.dart
@@ -7,13 +7,16 @@
/// constructors.
/// @description Checks that a type variable can not have the same name as
/// the name of generic class instance setter.
-/// @compile-error
/// @author ilya
/// @issue 14513
class A<T> {
+// ^
+// [analyzer] unspecified
set T(x) {}
+// ^
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/same_name_type_variable_t05.dart b/Language/Classes/same_name_type_variable_t05.dart
index ba1c5ac..0a881ea 100644
--- a/Language/Classes/same_name_type_variable_t05.dart
+++ b/Language/Classes/same_name_type_variable_t05.dart
@@ -7,12 +7,15 @@
/// constructors.
/// @description Checks that a type variable can not have the same name as
/// the name of generic class static variable.
-/// @compile-error
/// @author ilya
class A<T> {
+// ^
+// [analyzer] unspecified
static var T;
+// ^
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/same_name_type_variable_t06.dart b/Language/Classes/same_name_type_variable_t06.dart
index 08040e3..5a4ed5a 100644
--- a/Language/Classes/same_name_type_variable_t06.dart
+++ b/Language/Classes/same_name_type_variable_t06.dart
@@ -7,12 +7,15 @@
/// constructors.
/// @description Checks that a type variable can not have the same name as
/// the name of generic class static getter.
-/// @compile-error
/// @author ilya
class A<T> {
+// ^
+// [analyzer] unspecified
static get T => 0;
+// ^
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/same_name_type_variable_t07.dart b/Language/Classes/same_name_type_variable_t07.dart
index 36ab6cb..3c211f5 100644
--- a/Language/Classes/same_name_type_variable_t07.dart
+++ b/Language/Classes/same_name_type_variable_t07.dart
@@ -7,13 +7,16 @@
/// constructors.
/// @description Checks that a type variable can not have the same name as
/// the name of generic class static setter.
-/// @compile-error
/// @author ilya
/// @issue 14513
class A<T> {
+// ^
+// [analyzer] unspecified
static set T(x) {}
+// ^
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/same_name_type_variable_t08.dart b/Language/Classes/same_name_type_variable_t08.dart
index 8d1b9c4..0e4ef93 100644
--- a/Language/Classes/same_name_type_variable_t08.dart
+++ b/Language/Classes/same_name_type_variable_t08.dart
@@ -7,12 +7,15 @@
/// constructors.
/// @description Checks that a type variable can not have the same name as
/// the name of generic class instance method.
-/// @compile-error
/// @author ilya
class A<T> {
+// ^
+// [analyzer] unspecified
T() {}
+//^
+// [cfe] unspecified
}
main() {
diff --git a/Language/Classes/same_name_type_variable_t09.dart b/Language/Classes/same_name_type_variable_t09.dart
index fd36387..3dea1b7 100644
--- a/Language/Classes/same_name_type_variable_t09.dart
+++ b/Language/Classes/same_name_type_variable_t09.dart
@@ -7,12 +7,15 @@
/// constructors.
/// @description Checks that a type variable can not have the same name as
/// the name of generic class static method.
-/// @compile-error
/// @author ilya
class A<T> {
+// ^
+// [analyzer] unspecified
static T() {}
+// ^
+// [cfe] unspecified
}
main() {
diff --git a/Language/Enums/declaration_equivalent_t03.dart b/Language/Enums/declaration_equivalent_t03.dart
index fbcdf08..35c6b8a 100644
--- a/Language/Enums/declaration_equivalent_t03.dart
+++ b/Language/Enums/declaration_equivalent_t03.dart
@@ -15,7 +15,6 @@
/// String toString() => { 0: ‘E.id 0 ’, . . ., n-1: ‘E.id n−1 ’}[index]
/// }
/// @description Checks that each member of an enum is a constant
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -23,6 +22,15 @@
main() {
E.a = E.b;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
E.b = E.c;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
E.c = E.a;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Enums/declaration_equivalent_t05.dart b/Language/Enums/declaration_equivalent_t05.dart
index 1e87ab0..f2eee6c 100644
--- a/Language/Enums/declaration_equivalent_t05.dart
+++ b/Language/Enums/declaration_equivalent_t05.dart
@@ -15,7 +15,6 @@
/// String toString() => { 0: ‘E.id 0 ’, . . ., n-1: ‘E.id n−1 ’}[index]
/// }
/// @description Checks enum values list is constant
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -23,4 +22,7 @@
main() {
E.values = new List<E>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Enums/declaration_equivalent_t08.dart b/Language/Enums/declaration_equivalent_t08.dart
index 8b19b04..7ed8cd4 100644
--- a/Language/Enums/declaration_equivalent_t08.dart
+++ b/Language/Enums/declaration_equivalent_t08.dart
@@ -15,7 +15,6 @@
/// String toString() => { 0: ‘E.id 0 ’, . . ., n-1: ‘E.id n−1 ’}[index]
/// }
/// @description Checks that enum index value is final
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -24,4 +23,7 @@
main() {
E e = E.a;
e.index = -1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Enums/restrictions_t01.dart b/Language/Enums/restrictions_t01.dart
index 4dc4671..4651030 100644
--- a/Language/Enums/restrictions_t01.dart
+++ b/Language/Enums/restrictions_t01.dart
@@ -5,13 +5,15 @@
/// @assertion It is also a compile-time error to subclass, mix-in or implement
/// an enum or to explicitly instantiate an enum.
/// @description Checks that it is compile-time error to subclass an enum
-/// @compile-error
/// @author sgrekhov@unipro.ru
enum E {a, b, c}
class C extends E {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Enums/restrictions_t02.dart b/Language/Enums/restrictions_t02.dart
index 288656e..2535b83 100644
--- a/Language/Enums/restrictions_t02.dart
+++ b/Language/Enums/restrictions_t02.dart
@@ -5,7 +5,6 @@
/// @assertion It is also a compile-time error to subclass, mix-in or implement
/// an enum or to explicitly instantiate an enum.
/// @description Checks that it is compile-time error to mix-in an enum
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -15,6 +14,9 @@
}
class C extends A with E {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Enums/restrictions_t03.dart b/Language/Enums/restrictions_t03.dart
index 1b2296d..0f2adc8 100644
--- a/Language/Enums/restrictions_t03.dart
+++ b/Language/Enums/restrictions_t03.dart
@@ -6,7 +6,6 @@
/// an enum or to explicitly instantiate an enum.
/// @description Checks that it is compile-time error to mix-in an enum using
/// form of the form S with M
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -16,6 +15,9 @@
}
class A = C with E;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Enums/restrictions_t04.dart b/Language/Enums/restrictions_t04.dart
index ecd480c..9243d38 100644
--- a/Language/Enums/restrictions_t04.dart
+++ b/Language/Enums/restrictions_t04.dart
@@ -6,7 +6,6 @@
/// an enum or to explicitly instantiate an enum.
/// @description Checks that it is compile-time error to mix-in an enum using
/// the form S with M1,..., Mn
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -22,6 +21,9 @@
}
class A = C with M1, E, M2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Enums/restrictions_t05.dart b/Language/Enums/restrictions_t05.dart
index 909f0de..ee2a4d1 100644
--- a/Language/Enums/restrictions_t05.dart
+++ b/Language/Enums/restrictions_t05.dart
@@ -6,7 +6,6 @@
/// an enum or to explicitly instantiate an enum.
/// @description Checks that it is compile-time error to mix-in an enum using
/// the form extends A with M1,..., Mn
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -22,6 +21,9 @@
}
class C extends A with M1, E, M2 {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Enums/restrictions_t06.dart b/Language/Enums/restrictions_t06.dart
index 24ddb90..d59f1eb 100644
--- a/Language/Enums/restrictions_t06.dart
+++ b/Language/Enums/restrictions_t06.dart
@@ -5,13 +5,15 @@
/// @assertion It is also a compile-time error to subclass, mix-in or implement
/// an enum or to explicitly instantiate an enum.
/// @description Checks that it is compile-time error to implement an enum
-/// @compile-error
/// @author sgrekhov@unipro.ru
enum E {a, b, c}
class C implements E {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Enums/restrictions_t07.dart b/Language/Enums/restrictions_t07.dart
index f340a1b..96ed9d6 100644
--- a/Language/Enums/restrictions_t07.dart
+++ b/Language/Enums/restrictions_t07.dart
@@ -6,7 +6,6 @@
/// an enum or to explicitly instantiate an enum.
/// @description Checks that it is compile-time error to implement an enum. Test
/// the case when class implements several interfaces
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -19,6 +18,9 @@
}
class C implements M1, E, M2 {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Enums/restrictions_t08.dart b/Language/Enums/restrictions_t08.dart
index 3a1d7b4..0c28d64 100644
--- a/Language/Enums/restrictions_t08.dart
+++ b/Language/Enums/restrictions_t08.dart
@@ -6,7 +6,6 @@
/// an enum or to explicitly instantiate an enum.
/// @description Checks that it is compile-time error to explicitly instantiate
/// an enum
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -14,4 +13,7 @@
main() {
E e = new E();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Enums/restrictions_t09.dart b/Language/Enums/restrictions_t09.dart
index 72b255d..21c5589 100644
--- a/Language/Enums/restrictions_t09.dart
+++ b/Language/Enums/restrictions_t09.dart
@@ -6,7 +6,6 @@
/// an enum or to explicitly instantiate an enum.
/// @description Checks that it is compile-time error to subclass an enum via
/// type alias
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -15,6 +14,9 @@
typedef EAlias = E;
class C extends EAlias {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Enums/restrictions_t10.dart b/Language/Enums/restrictions_t10.dart
index 9b7a594..d1a0129 100644
--- a/Language/Enums/restrictions_t10.dart
+++ b/Language/Enums/restrictions_t10.dart
@@ -6,7 +6,6 @@
/// an enum or to explicitly instantiate an enum.
/// @description Checks that it is compile-time error to mix-in an enum. Test
/// type alias
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -18,6 +17,9 @@
}
class C extends A with EAlias {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Enums/restrictions_t11.dart b/Language/Enums/restrictions_t11.dart
index a03be18..72e9de8 100644
--- a/Language/Enums/restrictions_t11.dart
+++ b/Language/Enums/restrictions_t11.dart
@@ -6,7 +6,6 @@
/// an enum or to explicitly instantiate an enum.
/// @description Checks that it is compile-time error to explicitly instantiate
/// an enum. Test type alias
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -17,4 +16,7 @@
main() {
E e = new EAlias();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Enums/restrictions_t12.dart b/Language/Enums/restrictions_t12.dart
index 42c2c53..7a5f21f 100644
--- a/Language/Enums/restrictions_t12.dart
+++ b/Language/Enums/restrictions_t12.dart
@@ -5,7 +5,6 @@
/// @assertion It is also a compile-time error to subclass, mix-in or implement
/// an enum or to explicitly instantiate an enum.
/// @description Checks that it is compile-time error to implement an enum
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -15,6 +14,9 @@
typedef EAlias = E;
class C implements EAlias {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Enums/syntax_t02.dart b/Language/Enums/syntax_t02.dart
index df3cbae..139ef45 100644
--- a/Language/Enums/syntax_t02.dart
+++ b/Language/Enums/syntax_t02.dart
@@ -9,11 +9,13 @@
/// ;
/// @description Checks that it is compile-time error if enum does not declare
/// any member
-/// @compile-error
/// @author sgrekhov@unipro.ru
enum E {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
E e;
diff --git a/Language/Enums/syntax_t04.dart b/Language/Enums/syntax_t04.dart
index 4f02150..650b741 100644
--- a/Language/Enums/syntax_t04.dart
+++ b/Language/Enums/syntax_t04.dart
@@ -8,11 +8,13 @@
/// metadata enum id ‘{’ id [‘, ’ id]* [‘, ’] ‘}’
/// ;
/// @description Checks that it is compile-time error if opening brace is missing
-/// @compile-error
/// @author sgrekhov@unipro.ru
enum E a, b, c}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
E e;
diff --git a/Language/Enums/syntax_t05.dart b/Language/Enums/syntax_t05.dart
index 9edb1b7..579b0c3 100644
--- a/Language/Enums/syntax_t05.dart
+++ b/Language/Enums/syntax_t05.dart
@@ -8,12 +8,15 @@
/// metadata enum id ‘{’ id [‘, ’ id]* [‘, ’] ‘}’
/// ;
/// @description Checks that it is compile-time error if closing brace is missing
-/// @compile-error
/// @author sgrekhov@unipro.ru
enum E {a, b, c
+// ^
+// [cfe] unspecified
main() {
+//^
+// [analyzer] unspecified
E e;
}
diff --git a/Language/Enums/syntax_t06.dart b/Language/Enums/syntax_t06.dart
index 68ae44e..288a184 100644
--- a/Language/Enums/syntax_t06.dart
+++ b/Language/Enums/syntax_t06.dart
@@ -8,11 +8,13 @@
/// metadata enum id ‘{’ id [‘, ’ id]* [‘, ’] ‘}’
/// ;
/// @description Checks that it is compile-time error if enum id is missing
-/// @compile-error
/// @author a.semenov@unipro.ru
enum {a, b, c}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Enums/syntax_t07.dart b/Language/Enums/syntax_t07.dart
index 315eea6..720c083 100644
--- a/Language/Enums/syntax_t07.dart
+++ b/Language/Enums/syntax_t07.dart
@@ -9,13 +9,15 @@
/// ;
/// @description Checks that it is compile-time error if declared constant values
/// are not separated with comma.
-/// @compile-error
/// @author ngl@unipro.ru
import "../../Utils/expect.dart";
enum E {a b}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
E e = E.b;
diff --git a/Language/Enums/syntax_t08.dart b/Language/Enums/syntax_t08.dart
index f0a07c4..fe25a56 100644
--- a/Language/Enums/syntax_t08.dart
+++ b/Language/Enums/syntax_t08.dart
@@ -9,13 +9,17 @@
/// ;
/// @description Checks that there is a compile error if declared constant values
/// are separated with two commas.
-/// @compile-error
/// @author ngl@unipro.ru
import "../../Utils/expect.dart";
enum E {a,, b}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
E e = E.b;
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Enums/syntax_t09.dart b/Language/Enums/syntax_t09.dart
index 7f03ffc..a4e4694 100644
--- a/Language/Enums/syntax_t09.dart
+++ b/Language/Enums/syntax_t09.dart
@@ -9,12 +9,16 @@
/// ;
/// @description Checks that it is a compile error if enum has more then one
/// comma in the end of member list.
-/// @compile-error
/// @author ngl@unipro.ru
enum E {a, b,, }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
E e = E.b;
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Errors_and_Warnings/compile_error_lib.dart b/Language/Errors_and_Warnings/compile_error_lib.dart
index daf1e2d..79815e2 100644
--- a/Language/Errors_and_Warnings/compile_error_lib.dart
+++ b/Language/Errors_and_Warnings/compile_error_lib.dart
@@ -9,3 +9,6 @@
return 1;
}
var a = ;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Errors_and_Warnings/compile_error_lib_p2.dart b/Language/Errors_and_Warnings/compile_error_lib_p2.dart
index 5d8d7bb..90ebea3 100644
--- a/Language/Errors_and_Warnings/compile_error_lib_p2.dart
+++ b/Language/Errors_and_Warnings/compile_error_lib_p2.dart
@@ -10,3 +10,6 @@
}
var a = ;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Errors_and_Warnings/compile_error_t01.dart b/Language/Errors_and_Warnings/compile_error_t01.dart
index 0463a2a..641c457 100644
--- a/Language/Errors_and_Warnings/compile_error_t01.dart
+++ b/Language/Errors_and_Warnings/compile_error_t01.dart
@@ -7,7 +7,6 @@
/// erroneous code is executed.
/// @description Checks that erroneous code is not executed if there is
/// a compile-time error
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -15,5 +14,8 @@
main() {
var a = ;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
Expect.fail("Erroneous code must not be executed");
}
diff --git a/Language/Errors_and_Warnings/compile_error_t02.dart b/Language/Errors_and_Warnings/compile_error_t02.dart
index cc09567..b26a17f 100644
--- a/Language/Errors_and_Warnings/compile_error_t02.dart
+++ b/Language/Errors_and_Warnings/compile_error_t02.dart
@@ -7,7 +7,6 @@
/// erroneous code is executed.
/// @description Checks that erroneous code is not executed if there is
/// a compile-time error. Test error in braced code block
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -16,6 +15,9 @@
main() {
if (true) {
var a = ;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
Expect.fail("Erroneous code must not be executed");
}
diff --git a/Language/Errors_and_Warnings/compile_error_t03.dart b/Language/Errors_and_Warnings/compile_error_t03.dart
index d1d3923..e241de2 100644
--- a/Language/Errors_and_Warnings/compile_error_t03.dart
+++ b/Language/Errors_and_Warnings/compile_error_t03.dart
@@ -7,7 +7,6 @@
/// erroneous code is executed.
/// @description Checks that erroneous code is not executed if there is
/// a compile-time error. Test error in function
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -15,6 +14,9 @@
void f() {
var a = ;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Errors_and_Warnings/compile_error_t05.dart b/Language/Errors_and_Warnings/compile_error_t05.dart
index 0544188..bbcee60 100644
--- a/Language/Errors_and_Warnings/compile_error_t05.dart
+++ b/Language/Errors_and_Warnings/compile_error_t05.dart
@@ -7,7 +7,6 @@
/// erroneous code is executed.
/// @description Checks that erroneous code is not executed if there is
/// a compile-time error. Test error in class constructor
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -16,6 +15,9 @@
class C {
C() {
var a = ;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Errors_and_Warnings/compile_error_t06.dart b/Language/Errors_and_Warnings/compile_error_t06.dart
index ebc3bc1..27f2534 100644
--- a/Language/Errors_and_Warnings/compile_error_t06.dart
+++ b/Language/Errors_and_Warnings/compile_error_t06.dart
@@ -7,9 +7,8 @@
/// erroneous code is executed.
/// @description Checks that erroneous code is not executed if there is
/// a compile-time error. Test error in imported library
-/// @compile-error
/// @author sgrekhov@unipro.ru
-
+/// @issue 44990
import '../../Utils/expect.dart';
import 'compile_error_lib.dart' as lib;
diff --git a/Language/Errors_and_Warnings/compile_error_t07.dart b/Language/Errors_and_Warnings/compile_error_t07.dart
index 51a8115..0f1a8cf 100644
--- a/Language/Errors_and_Warnings/compile_error_t07.dart
+++ b/Language/Errors_and_Warnings/compile_error_t07.dart
@@ -7,9 +7,8 @@
/// erroneous code is executed.
/// @description Checks that erroneous code is not executed if there is
/// a compile-time error. Test error in part of imported library
-/// @compile-error
/// @author sgrekhov@unipro.ru
-
+/// @issue 44990
import '../../Utils/expect.dart';
import 'compile_error_lib_p1.dart' as lib;
diff --git a/Language/Expressions/Additive_Expressions/static_type_t01.dart b/Language/Expressions/Additive_Expressions/static_type_t01.dart
index 0be756c..b38998f 100644
--- a/Language/Expressions/Additive_Expressions/static_type_t01.dart
+++ b/Language/Expressions/Additive_Expressions/static_type_t01.dart
@@ -13,7 +13,6 @@
/// int if the static type of e2 is int, and double if the static type of e2 is
/// double.
/// @description Checks special cases for static types of x+y, x-y when x is int.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Additive_Expressions/static_type_t02.dart b/Language/Expressions/Additive_Expressions/static_type_t02.dart
index 462b89a..31df484 100644
--- a/Language/Expressions/Additive_Expressions/static_type_t02.dart
+++ b/Language/Expressions/Additive_Expressions/static_type_t02.dart
@@ -14,7 +14,6 @@
/// double.
/// @description Checks different cases for static types of x + y, x - y when
/// arguments are int or double.
-/// @static-clean
/// @author ngl@unipro.ru
diff --git a/Language/Expressions/Additive_Expressions/syntax_t02.dart b/Language/Expressions/Additive_Expressions/syntax_t02.dart
index 8b683ba..d19e16a 100644
--- a/Language/Expressions/Additive_Expressions/syntax_t02.dart
+++ b/Language/Expressions/Additive_Expressions/syntax_t02.dart
@@ -17,12 +17,14 @@
/// @description Checks that an additive expression of the form
/// multiplicativeExpression ('+' multiplicativeExpression)*
/// must have at least two operands.
-/// @compile-error
/// @author msyabro
main() {
try {
1 +;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Additive_Expressions/syntax_t03.dart b/Language/Expressions/Additive_Expressions/syntax_t03.dart
index 5339e88..f0d9590 100644
--- a/Language/Expressions/Additive_Expressions/syntax_t03.dart
+++ b/Language/Expressions/Additive_Expressions/syntax_t03.dart
@@ -17,12 +17,14 @@
/// @description Checks that an additive expression of the form
/// multiplicativeExpression ('-' multiplicativeExpression)*
/// must have at least two operands.
-/// @compile-error
/// @author msyabro
main() {
try {
[] -;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Additive_Expressions/syntax_t04.dart b/Language/Expressions/Additive_Expressions/syntax_t04.dart
index e43db78..f3a96cf 100644
--- a/Language/Expressions/Additive_Expressions/syntax_t04.dart
+++ b/Language/Expressions/Additive_Expressions/syntax_t04.dart
@@ -18,7 +18,6 @@
/// multiplicativeExpression ('+' multiplicativeExpression)*
/// must have at least two operands.
/// Note that there is no unary plus operator in dart.
-/// @compile-error
/// @author msyabro
@@ -26,5 +25,8 @@
var x=1;
try {
+ x;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Additive_Expressions/syntax_t05.dart b/Language/Expressions/Additive_Expressions/syntax_t05.dart
index c65cf92..b4f692b 100644
--- a/Language/Expressions/Additive_Expressions/syntax_t05.dart
+++ b/Language/Expressions/Additive_Expressions/syntax_t05.dart
@@ -17,18 +17,23 @@
/// @description Checks that an additive expression of the form
/// super ('+' multiplicativeExpression)+
/// must have at least two operands.
-/// @compile-error
/// @author msyabro
class S {
operator +() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
class A {
test() {
try {
super +;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
}
diff --git a/Language/Expressions/Additive_Expressions/syntax_t06.dart b/Language/Expressions/Additive_Expressions/syntax_t06.dart
index 840860f..94fb74d 100644
--- a/Language/Expressions/Additive_Expressions/syntax_t06.dart
+++ b/Language/Expressions/Additive_Expressions/syntax_t06.dart
@@ -17,7 +17,6 @@
/// @description Checks that an additive expression of the form
/// super ('-' multiplicativeExpression)+
/// must have at least two operands.
-/// @compile-error
/// @author msyabro
@@ -29,6 +28,9 @@
test() {
try {
super -;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
}
diff --git a/Language/Expressions/Additive_Expressions/syntax_t07.dart b/Language/Expressions/Additive_Expressions/syntax_t07.dart
index 77353af..1023d8d 100644
--- a/Language/Expressions/Additive_Expressions/syntax_t07.dart
+++ b/Language/Expressions/Additive_Expressions/syntax_t07.dart
@@ -16,7 +16,6 @@
/// argument e2.
/// @description Checks that a reference to a class declaration can not be used
/// as left operand in an additive expression. It is a compile error.
-/// @compile-error
/// @author msyabro
@@ -25,5 +24,8 @@
main() {
try {
A + 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Additive_Expressions/syntax_t08.dart b/Language/Expressions/Additive_Expressions/syntax_t08.dart
index 82208be..adc22d2 100644
--- a/Language/Expressions/Additive_Expressions/syntax_t08.dart
+++ b/Language/Expressions/Additive_Expressions/syntax_t08.dart
@@ -16,7 +16,6 @@
/// argument e2.
/// @description Checks that a reference to a class declaration can not be used
/// as right operand in an additive expression. It is a compile error.
-/// @compile-error
/// @author msyabro
@@ -25,5 +24,8 @@
main() {
try {
1 - A;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Additive_Expressions/syntax_t11.dart b/Language/Expressions/Additive_Expressions/syntax_t11.dart
index 1adf0c7..704f746 100644
--- a/Language/Expressions/Additive_Expressions/syntax_t11.dart
+++ b/Language/Expressions/Additive_Expressions/syntax_t11.dart
@@ -16,7 +16,6 @@
/// argument e2.
/// @description Checks that a function type alias name can not be used
/// as left operand in an additive expression. It is a compile error.
-/// @compile-error
typedef f();
@@ -24,5 +23,8 @@
main() {
try {
f + 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Additive_Expressions/syntax_t12.dart b/Language/Expressions/Additive_Expressions/syntax_t12.dart
index 7f32c21..eda20ee 100644
--- a/Language/Expressions/Additive_Expressions/syntax_t12.dart
+++ b/Language/Expressions/Additive_Expressions/syntax_t12.dart
@@ -16,7 +16,6 @@
/// argument e2.
/// @description Checks that a function type alias name cannot be used
/// as right operand in an additive expression. It is a compile error.
-/// @compile-error
/// @author msyabro
@@ -25,5 +24,8 @@
main() {
try {
0.25 - f;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Additive_Expressions/syntax_t13.dart b/Language/Expressions/Additive_Expressions/syntax_t13.dart
index 924c6b7..350790b 100644
--- a/Language/Expressions/Additive_Expressions/syntax_t13.dart
+++ b/Language/Expressions/Additive_Expressions/syntax_t13.dart
@@ -16,7 +16,6 @@
/// argument e2.
/// @description Checks that a type parameter can not be used
/// as left operand in an additive expression. It is a compile error.
-/// @compile-error
/// @author msyabro
@@ -24,6 +23,9 @@
test() {
try {
T - 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
}
diff --git a/Language/Expressions/Additive_Expressions/syntax_t14.dart b/Language/Expressions/Additive_Expressions/syntax_t14.dart
index ef8a6d5..b149aa7 100644
--- a/Language/Expressions/Additive_Expressions/syntax_t14.dart
+++ b/Language/Expressions/Additive_Expressions/syntax_t14.dart
@@ -16,7 +16,6 @@
/// argument e2.
/// @description Checks that a type parameter can not be used
/// as right operand in an additive expression. It is a compile error.
-/// @compile-error
/// @author msyabro
@@ -24,6 +23,9 @@
test() {
try {
2 + T;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
}
diff --git a/Language/Expressions/Additive_Expressions/syntax_t15.dart b/Language/Expressions/Additive_Expressions/syntax_t15.dart
index f41d3d8..f435b1f 100644
--- a/Language/Expressions/Additive_Expressions/syntax_t15.dart
+++ b/Language/Expressions/Additive_Expressions/syntax_t15.dart
@@ -16,7 +16,6 @@
/// argument e2.
/// @description Checks that super can be used only as
/// the first operand in a additive expression.
-/// @compile-error
/// @author msyabro
@@ -26,6 +25,9 @@
test() {
try {
1 + super;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
}
diff --git a/Language/Expressions/Additive_Expressions/syntax_t16.dart b/Language/Expressions/Additive_Expressions/syntax_t16.dart
index e646a4c..bd54342 100644
--- a/Language/Expressions/Additive_Expressions/syntax_t16.dart
+++ b/Language/Expressions/Additive_Expressions/syntax_t16.dart
@@ -16,7 +16,6 @@
/// argument e2.
/// @description Checks that assignment expression cannot be used as the second
/// operand of an additive expression.
-/// @compile-error
/// @author rodionov
/// @reviewer iefremov
@@ -24,4 +23,7 @@
main() {
var foo;
try {1 + foo = 2;} catch (ok) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Assignable_Expressions/getter_invocation_t02.dart b/Language/Expressions/Assignable_Expressions/getter_invocation_t02.dart
index 6754b5a..ea01f5f 100644
--- a/Language/Expressions/Assignable_Expressions/getter_invocation_t02.dart
+++ b/Language/Expressions/Assignable_Expressions/getter_invocation_t02.dart
@@ -6,7 +6,6 @@
/// as a property extraction.
/// @description Checks that expression of the form e?.id is evaluated as
/// ((x) => x == null ? null : x.id)(e).
-/// @static-warning
/// @author ngl@unipro.ru
@@ -27,8 +26,16 @@
main() {
A a = new A();
A? b = null;
- Expect.equals(1, a?.x); /// static type warning
- Expect.equals(20, a?.y); /// static type warning
+ Expect.equals(1, a?.x);
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'A' which excludes null.
+ Expect.equals(20, a?.y);
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'A' which excludes null.
Expect.isNull(b?.x);
Expect.isNull(b?.y);
}
diff --git a/Language/Expressions/Assignable_Expressions/syntax_t04.dart b/Language/Expressions/Assignable_Expressions/syntax_t04.dart
index 505c10d..e7ae7c9 100644
--- a/Language/Expressions/Assignable_Expressions/syntax_t04.dart
+++ b/Language/Expressions/Assignable_Expressions/syntax_t04.dart
@@ -24,7 +24,6 @@
/// • An invocation of a getter or list access operator on super.
/// @description Checks that super without unconditionalAssignableSelector can't
/// be used in the left hand side of an assignment.
-/// @compile-error
/// @author msyabro
@@ -33,6 +32,9 @@
test() {
try {
super = null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
}
diff --git a/Language/Expressions/Assignable_Expressions/syntax_t05.dart b/Language/Expressions/Assignable_Expressions/syntax_t05.dart
index e8234cd..873782c 100644
--- a/Language/Expressions/Assignable_Expressions/syntax_t05.dart
+++ b/Language/Expressions/Assignable_Expressions/syntax_t05.dart
@@ -24,7 +24,6 @@
/// • An invocation of a getter or list access operator on super.
/// @description Checks that an expression not enclosed in parentheses can't
/// be used with assignableSelector in the left hand side of an assignment.
-/// @compile-error
/// @author msyabro
@@ -32,5 +31,8 @@
var id = 1;
try {
id++ = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Assignable_Expressions/syntax_t06.dart b/Language/Expressions/Assignable_Expressions/syntax_t06.dart
index b0728ec..cdb3062 100644
--- a/Language/Expressions/Assignable_Expressions/syntax_t06.dart
+++ b/Language/Expressions/Assignable_Expressions/syntax_t06.dart
@@ -25,7 +25,6 @@
/// @description Checks that a reference to a class declaration
/// can not be used in the left hand side of an assignment without a compile
/// error.
-/// @compile-error
/// @author msyabro
@@ -34,5 +33,8 @@
main() {
try {
A = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Assignable_Expressions/syntax_t08.dart b/Language/Expressions/Assignable_Expressions/syntax_t08.dart
index e0d88e4..74249c5 100644
--- a/Language/Expressions/Assignable_Expressions/syntax_t08.dart
+++ b/Language/Expressions/Assignable_Expressions/syntax_t08.dart
@@ -24,7 +24,6 @@
/// • An invocation of a getter or list access operator on super.
/// @description Checks that a type parameter can not be used in the left hand
/// side of an assignment without a compile error.
-/// @compile-error
/// @author msyabro
@@ -32,6 +31,9 @@
test() {
try {
T = null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {
}
}
diff --git a/Language/Expressions/Assignable_Expressions/syntax_t09.dart b/Language/Expressions/Assignable_Expressions/syntax_t09.dart
index d7c77fa..3753729 100644
--- a/Language/Expressions/Assignable_Expressions/syntax_t09.dart
+++ b/Language/Expressions/Assignable_Expressions/syntax_t09.dart
@@ -25,7 +25,6 @@
/// @description Checks that a reference to a type defined with typedef
/// can not be used in the left hand side of an assignment without a compile
/// error.
-/// @compile-error
/// @author msyabro
@@ -34,5 +33,8 @@
main() {
try {
f = null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Assignable_Expressions/syntax_t10.dart b/Language/Expressions/Assignable_Expressions/syntax_t10.dart
index 68f6ae1..de45bf7 100644
--- a/Language/Expressions/Assignable_Expressions/syntax_t10.dart
+++ b/Language/Expressions/Assignable_Expressions/syntax_t10.dart
@@ -24,12 +24,14 @@
/// • An invocation of a getter or list access operator on super.
/// @description Checks that a block statement
/// can't be used in the left hand side of an assignment.
-/// @compile-error
/// @author msyabro
main() {
try {
{int x; x = 1;} = null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Assignable_Expressions/syntax_t11.dart b/Language/Expressions/Assignable_Expressions/syntax_t11.dart
index 36abe67..9fbf3e2 100644
--- a/Language/Expressions/Assignable_Expressions/syntax_t11.dart
+++ b/Language/Expressions/Assignable_Expressions/syntax_t11.dart
@@ -24,12 +24,14 @@
/// • An invocation of a getter or list access operator on super.
/// @description Checks that an if statement
/// can't be used in the left hand side of an assignment.
-/// @compile-error
/// @author msyabro
main() {
try {
if (true) {} = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Assignable_Expressions/syntax_t12.dart b/Language/Expressions/Assignable_Expressions/syntax_t12.dart
index 3ffcf9a..7f3eac4 100644
--- a/Language/Expressions/Assignable_Expressions/syntax_t12.dart
+++ b/Language/Expressions/Assignable_Expressions/syntax_t12.dart
@@ -24,12 +24,14 @@
/// • An invocation of a getter or list access operator on super.
/// @description Checks that a for statement
/// can't be used in the left hand side of an assignment.
-/// @compile-error
/// @author msyabro
main() {
try {
for (;;) {} = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Assignable_Expressions/syntax_t13.dart b/Language/Expressions/Assignable_Expressions/syntax_t13.dart
index 7e309d5..f963fb2 100644
--- a/Language/Expressions/Assignable_Expressions/syntax_t13.dart
+++ b/Language/Expressions/Assignable_Expressions/syntax_t13.dart
@@ -24,12 +24,14 @@
/// • An invocation of a getter or list access operator on super.
/// @description Checks that a while statement
/// can't be used in the left hand side of an assignment.
-/// @compile-error
/// @author msyabro
main() {
try {
while (true) {} = null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Assignable_Expressions/syntax_t14.dart b/Language/Expressions/Assignable_Expressions/syntax_t14.dart
index 4baf0fc..393bd27 100644
--- a/Language/Expressions/Assignable_Expressions/syntax_t14.dart
+++ b/Language/Expressions/Assignable_Expressions/syntax_t14.dart
@@ -24,12 +24,14 @@
/// • An invocation of a getter or list access operator on super.
/// @description Checks that a do statement
/// can't be used in the left hand side of an assignment.
-/// @compile-error
/// @author msyabro
main() {
try {
do {} while (true) = null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Assignable_Expressions/syntax_t15.dart b/Language/Expressions/Assignable_Expressions/syntax_t15.dart
index 0cf5247..e1a8c2d 100644
--- a/Language/Expressions/Assignable_Expressions/syntax_t15.dart
+++ b/Language/Expressions/Assignable_Expressions/syntax_t15.dart
@@ -24,12 +24,14 @@
/// • An invocation of a getter or list access operator on super.
/// @description Checks that a switch statement
/// can't be used in the left hand side of an assignment.
-/// @compile-error
/// @author msyabro
main() {
try {
switch (1) {case 1: true; default: false;} = null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Assignable_Expressions/syntax_t16.dart b/Language/Expressions/Assignable_Expressions/syntax_t16.dart
index 0964637..12d49eb 100644
--- a/Language/Expressions/Assignable_Expressions/syntax_t16.dart
+++ b/Language/Expressions/Assignable_Expressions/syntax_t16.dart
@@ -24,12 +24,14 @@
/// • An invocation of a getter or list access operator on super.
/// @description Checks that a try statement
/// can't be used in the left hand side of an assignment.
-/// @compile-error
/// @author msyabro
main() {
try {
try {} catch (e) {} = null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Assignable_Expressions/syntax_t17.dart b/Language/Expressions/Assignable_Expressions/syntax_t17.dart
index 0a0a384..24e2431 100644
--- a/Language/Expressions/Assignable_Expressions/syntax_t17.dart
+++ b/Language/Expressions/Assignable_Expressions/syntax_t17.dart
@@ -24,12 +24,14 @@
/// • An invocation of a getter or list access operator on super.
/// @description Checks that a throw statement
/// can't be used in the left hand side of an assignment.
-/// @compile-error
/// @author msyabro
main() {
try {
throw "something" = null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Assignable_Expressions/syntax_t18.dart b/Language/Expressions/Assignable_Expressions/syntax_t18.dart
index 360fa51..69eb99e 100644
--- a/Language/Expressions/Assignable_Expressions/syntax_t18.dart
+++ b/Language/Expressions/Assignable_Expressions/syntax_t18.dart
@@ -24,12 +24,14 @@
/// • An invocation of a getter or list access operator on super.
/// @description Checks that an assert statement
/// can't be used in the left hand side of an assignment.
-/// @compile-error
/// @author msyabro
main() {
try {
assert (false) = null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Assignable_Expressions/syntax_t19.dart b/Language/Expressions/Assignable_Expressions/syntax_t19.dart
index f64d76a..4255387 100644
--- a/Language/Expressions/Assignable_Expressions/syntax_t19.dart
+++ b/Language/Expressions/Assignable_Expressions/syntax_t19.dart
@@ -24,7 +24,6 @@
/// • An invocation of a getter or list access operator on super.
/// @description Checks that a break statement
/// can't be used in the left hand side of an assignment.
-/// @compile-error
/// @author msyabro
@@ -32,6 +31,9 @@
try {
for (;;) {
break = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
} catch (e) {}
}
diff --git a/Language/Expressions/Assignable_Expressions/syntax_t20.dart b/Language/Expressions/Assignable_Expressions/syntax_t20.dart
index c7bae5f..655cc64 100644
--- a/Language/Expressions/Assignable_Expressions/syntax_t20.dart
+++ b/Language/Expressions/Assignable_Expressions/syntax_t20.dart
@@ -24,7 +24,6 @@
/// • An invocation of a getter or list access operator on super.
/// @description Checks that a continue statement
/// can't be used in the left hand side of an assignment.
-/// @compile-error
/// @author msyabro
@@ -32,6 +31,9 @@
try {
for (;;) {
continue = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
} catch (e) {}
}
diff --git a/Language/Expressions/Assignable_Expressions/syntax_t21.dart b/Language/Expressions/Assignable_Expressions/syntax_t21.dart
index d14b407..b470cb8 100644
--- a/Language/Expressions/Assignable_Expressions/syntax_t21.dart
+++ b/Language/Expressions/Assignable_Expressions/syntax_t21.dart
@@ -24,7 +24,6 @@
/// • An invocation of a getter or list access operator on super.
/// @description Checks that a new expression without assignableSelector
/// can't be used in the left hand side of an assignment.
-/// @compile-error
/// @author msyabro
@@ -33,5 +32,8 @@
main() {
try {
new A() = null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Assignable_Expressions/syntax_t22.dart b/Language/Expressions/Assignable_Expressions/syntax_t22.dart
index 0d86d8e..dbc068c 100644
--- a/Language/Expressions/Assignable_Expressions/syntax_t22.dart
+++ b/Language/Expressions/Assignable_Expressions/syntax_t22.dart
@@ -24,12 +24,14 @@
/// • An invocation of a getter or list access operator on super.
/// @description Checks that a literal without assignableSelector
/// can't be used in the left hand side of an assignment.
-/// @compile-error
/// @author msyabro
main() {
try {
1 = 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Assignable_Expressions/syntax_t23.dart b/Language/Expressions/Assignable_Expressions/syntax_t23.dart
index 9bfd516..d7ae1b1 100644
--- a/Language/Expressions/Assignable_Expressions/syntax_t23.dart
+++ b/Language/Expressions/Assignable_Expressions/syntax_t23.dart
@@ -24,7 +24,6 @@
/// • An invocation of a getter or list access operator on super.
/// @description Checks that thisExpression without assignableSelector
/// can't be used in the left hand side of an assignment.
-/// @compile-error
/// @author msyabro
@@ -32,6 +31,9 @@
test() {
try {
this = new A();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
}
diff --git a/Language/Expressions/Assignable_Expressions/syntax_t24.dart b/Language/Expressions/Assignable_Expressions/syntax_t24.dart
index 123295e..1a08774 100644
--- a/Language/Expressions/Assignable_Expressions/syntax_t24.dart
+++ b/Language/Expressions/Assignable_Expressions/syntax_t24.dart
@@ -24,7 +24,6 @@
/// • An invocation of a getter or list access operator on super.
/// @description Checks that a method invocation without assignableSelector
/// can't be used in the left hand side of an assignment.
-/// @compile-error
/// @author msyabro
@@ -37,5 +36,8 @@
A a = new A();
try {
a.test() = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Assignable_Expressions/syntax_t25.dart b/Language/Expressions/Assignable_Expressions/syntax_t25.dart
index 30ba537..f2a132f 100644
--- a/Language/Expressions/Assignable_Expressions/syntax_t25.dart
+++ b/Language/Expressions/Assignable_Expressions/syntax_t25.dart
@@ -24,12 +24,14 @@
/// • An invocation of a getter or list access operator on super.
/// @description Checks that a binary expression without assignableSelector
/// can't be used in the left hand side of an assignment.
-/// @compile-error
/// @author msyabro
main() {
try {
(2 + 2) = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t01.dart b/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t01.dart
index e2449db..c65fe3b 100644
--- a/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t01.dart
+++ b/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t01.dart
@@ -7,7 +7,6 @@
/// used in e2.
/// @description Checks that an expression of the form e1?.v *= e2 is equivalent
/// to ((x) => x?.v = x.v * e2)(e1) where x is a variable that is not used in e2.
-/// @static-warning
/// @author sgrekhov@unipro.ru
@@ -40,10 +39,18 @@
Expect.isNull(c1);
C c2 = new C(null);
- Expect.throws(() {c2?.v *= 2;}); /// static type warning
+ Expect.throws(() {c2?.v *= 2;});
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
C c3 = new C(3);
- var res3 = (c3?.v *= 3); /// static type warning
+ var res3 = (c3?.v *= 3);
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
Expect.equals(1, c3.getterInvocation);
Expect.equals(1, c3.setterInvocation);
Expect.equals(9, res3);
diff --git a/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t02.dart b/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t02.dart
index 764caf2..0439d7b 100644
--- a/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t02.dart
+++ b/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t02.dart
@@ -7,7 +7,6 @@
/// used in e2.
/// @description Checks that an expression of the form e1?.v /= e2 is equivalent
/// to ((x) => x?.v = x.v / e2)(e1) where x is a variable that is not used in e2.
-/// @static-warning
/// @author sgrekhov@unipro.ru
@@ -40,10 +39,18 @@
Expect.isNull(c1);
C c2 = new C(null);
- Expect.throws(() {c2?.v /= 2;}); /// static type warning
+ Expect.throws(() {c2?.v /= 2;});
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
C c3 = new C(4);
- var res3 = (c3?.v /= 2); /// static type warning
+ var res3 = (c3?.v /= 2);
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
Expect.equals(1, c3.getterInvocation);
Expect.equals(1, c3.setterInvocation);
Expect.equals(2, res3);
diff --git a/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t03.dart b/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t03.dart
index d8c8648..0aa3d02 100644
--- a/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t03.dart
+++ b/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t03.dart
@@ -7,7 +7,6 @@
/// used in e2.
/// @description Checks that an expression of the form e1?.v ~/= e2 is equivalent
/// to ((x) => x?.v = x.v ~/ e2)(e1) where x is a variable that is not used in e2
-/// @static-warning
/// @author sgrekhov@unipro.ru
@@ -40,10 +39,18 @@
Expect.isNull(c1);
C c2 = new C(null);
- Expect.throws(() {c2?.v ~/= 2;}); /// static type warning
+ Expect.throws(() {c2?.v ~/= 2;});
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
C c3 = new C(5);
- var res3 = (c3?.v ~/= 2); /// static type warning
+ var res3 = (c3?.v ~/= 2);
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
Expect.equals(1, c3.getterInvocation);
Expect.equals(1, c3.setterInvocation);
Expect.equals(2, res3);
diff --git a/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t04.dart b/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t04.dart
index cfc1fdf..c67095a 100644
--- a/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t04.dart
+++ b/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t04.dart
@@ -7,7 +7,6 @@
/// used in e2.
/// @description Checks that an expression of the form e1?.v %= e2 is equivalent
/// to ((x) => x?.v = x.v % e2)(e1) where x is a variable that is not used in e2.
-/// @static-warning
/// @author sgrekhov@unipro.ru
@@ -40,10 +39,18 @@
Expect.isNull(c1);
C c2 = new C(null);
- Expect.throws(() {c2?.v %= 2;}); /// static type warning
+ Expect.throws(() {c2?.v %= 2;});
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
C c3 = new C(4);
- var res3 = (c3?.v %= 3); /// static type warning
+ var res3 = (c3?.v %= 3);
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
Expect.equals(1, c3.getterInvocation);
Expect.equals(1, c3.setterInvocation);
Expect.equals(1, res3);
diff --git a/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t05.dart b/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t05.dart
index 7635211..8e26092 100644
--- a/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t05.dart
+++ b/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t05.dart
@@ -7,7 +7,6 @@
/// used in e2.
/// @description Checks that an expression of the form e1?.v += e2 is equivalent
/// to ((x) => x?.v = x.v + e2)(e1) where x is a variable that is not used in e2.
-/// @static-warning
/// @author sgrekhov@unipro.ru
@@ -40,10 +39,18 @@
Expect.isNull(c1);
C c2 = new C(null);
- Expect.throws(() {c2?.v += 2;}); /// static type warning
+ Expect.throws(() {c2?.v += 2;});
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
C c3 = new C(4);
- var res3 = (c3?.v += 3); /// static type warning
+ var res3 = (c3?.v += 3);
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
Expect.equals(1, c3.getterInvocation);
Expect.equals(1, c3.setterInvocation);
Expect.equals(7, res3);
diff --git a/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t06.dart b/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t06.dart
index 6ced2c9..1559f0e 100644
--- a/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t06.dart
+++ b/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t06.dart
@@ -7,7 +7,6 @@
/// used in e2.
/// @description Checks that an expression of the form e1?.v -= e2 is equivalent
/// to ((x) => x?.v = x.v - e2)(e1) where x is a variable that is not used in e2.
-/// @static-warning
/// @author sgrekhov@unipro.ru
@@ -40,10 +39,18 @@
Expect.isNull(c1);
C c2 = new C(null);
- Expect.throws(() {c2?.v -= 2;}); /// static type warning
+ Expect.throws(() {c2?.v -= 2;});
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
C c3 = new C(5);
- var res3 = (c3?.v -= 3); /// static type warning
+ var res3 = (c3?.v -= 3);
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
Expect.equals(1, c3.getterInvocation);
Expect.equals(1, c3.setterInvocation);
Expect.equals(2, res3);
diff --git a/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t07.dart b/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t07.dart
index d5e94ce..393879d 100644
--- a/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t07.dart
+++ b/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t07.dart
@@ -7,10 +7,8 @@
/// used in e2.
/// @description Checks that an expression of the form e1?.v <<= e2 is equivalent
/// to ((x) => x?.v = x.v << e2)(e1) where x is a variable that is not used in e2.
-/// @static-warning
/// @author sgrekhov@unipro.ru
-
import '../../../../Utils/expect.dart';
class C {
@@ -40,10 +38,18 @@
Expect.isNull(c1);
C c2 = new C(null);
- Expect.throws(() {c2?.v <<= 2;}); /// static type warning
+ Expect.throws(() {c2?.v <<= 2;});
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
C c3 = new C(4);
- var res3 = (c3?.v <<= 2); /// static type warning
+ var res3 = (c3?.v <<= 2);
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
Expect.equals(1, c3.getterInvocation);
Expect.equals(1, c3.setterInvocation);
Expect.equals(16, res3);
diff --git a/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t08.dart b/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t08.dart
index d0219ed..7b42a41 100644
--- a/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t08.dart
+++ b/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t08.dart
@@ -7,7 +7,6 @@
/// used in e2.
/// @description Checks that an expression of the form e1?.v >>= e2 is equivalent
/// to ((x) => x?.v = x.v >> e2)(e1) where x is a variable that is not used in e2
-/// @static-warning
/// @author sgrekhov@unipro.ru
@@ -40,10 +39,18 @@
Expect.isNull(c1);
C c2 = new C(null);
- Expect.throws(() {c2?.v >>= 2;}); /// static type warning
+ Expect.throws(() {c2?.v >>= 2;});
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
C c3 = new C(20);
- var res3 = (c3?.v >>= 2); /// static type warning
+ var res3 = (c3?.v >>= 2);
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
Expect.equals(1, c3.getterInvocation);
Expect.equals(1, c3.setterInvocation);
Expect.equals(5, res3);
diff --git a/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t09.dart b/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t09.dart
index ebe8f26..dc63965 100644
--- a/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t09.dart
+++ b/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t09.dart
@@ -7,7 +7,6 @@
/// used in e2.
/// @description Checks that an expression of the form e1?.v &= e2 is equivalent
/// to ((x) => x?.v = x.v & e2)(e1) where x is a variable that is not used in e2.
-/// @static-warning
/// @author sgrekhov@unipro.ru
@@ -40,10 +39,18 @@
Expect.isNull(c1);
C c2 = new C(null);
- Expect.throws(() {c2?.v &= 2;}); /// static type warning
+ Expect.throws(() {c2?.v &= 2;});
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
C c3 = new C(6);
- var res3 = (c3?.v &= 4); /// static type warning
+ var res3 = (c3?.v &= 4);
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
Expect.equals(1, c3.getterInvocation);
Expect.equals(1, c3.setterInvocation);
Expect.equals(4, res3);
diff --git a/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t10.dart b/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t10.dart
index d9b293c..c981979 100644
--- a/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t10.dart
+++ b/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t10.dart
@@ -7,7 +7,6 @@
/// used in e2.
/// @description Checks that an expression of the form e1?.v ^= e2 is equivalent
/// to ((x) => x?.v = x.v ^ e2)(e1) where x is a variable that is not used in e2.
-/// @static-warning
/// @author sgrekhov@unipro.ru
@@ -40,10 +39,18 @@
Expect.isNull(c1);
C c2 = new C(null);
- Expect.throws(() {c2?.v ^= 2;}); /// static type warning
+ Expect.throws(() {c2?.v ^= 2;});
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
C c3 = new C(14);
- var res3 = (c3?.v ^= 7); /// static type warning
+ var res3 = (c3?.v ^= 7);
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
Expect.equals(1, c3.getterInvocation);
Expect.equals(1, c3.setterInvocation);
Expect.equals(9, res3);
diff --git a/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t11.dart b/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t11.dart
index 02d4c4f..e40bd85 100644
--- a/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t11.dart
+++ b/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t11.dart
@@ -7,7 +7,6 @@
/// used in e2.
/// @description Checks that an expression of the form e1?.v |= e2 is equivalent
/// to ((x) => x?.v = x.v | e2)(e1) where x is a variable that is not used in e2.
-/// @static-warning
/// @author sgrekhov@unipro.ru
@@ -40,10 +39,18 @@
Expect.isNull(c1);
C c2 = new C(null);
- Expect.throws(() {c2?.v |= 2;}); /// static type warning
+ Expect.throws(() {c2?.v |= 2;});
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
C c3 = new C(14);
- var res3 = (c3?.v |= 7); /// static type warning
+ var res3 = (c3?.v |= 7);
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
Expect.equals(1, c3.getterInvocation);
Expect.equals(1, c3.setterInvocation);
Expect.equals(15, res3);
diff --git a/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t12.dart b/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t12.dart
index 801eff8..8a272d8 100644
--- a/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t12.dart
+++ b/Language/Expressions/Assignment/Compound_Assignment/null_aware_compound_assignment_t12.dart
@@ -8,7 +8,6 @@
/// @description Checks that an expression of the form e1?.v >>>= e2 is
/// equivalent to ((x) => x?.v = x.v >>> e2)(e1) where x is a variable that is
/// not used in e2
-/// @static-warning
/// @author iarkh@unipro.ru
// SharedOptions=--enable-experiment=triple-shift
@@ -42,10 +41,18 @@
Expect.isNull(c1);
C c2 = new C(null);
- Expect.throws(() {c2?.v >>>= 2;}); /// static type warning
+ Expect.throws(() {c2?.v >>>= 2;});
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
C c3 = new C(20);
- var res3 = (c3?.v >>>= 2); /// static type warning
+ var res3 = (c3?.v >>>= 2);
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
var expected = 20 >>> 2;
Expect.equals(1, c3.getterInvocation);
Expect.equals(1, c3.setterInvocation);
diff --git a/Language/Expressions/Assignment/Compound_Assignment/null_aware_conditional_expression_assignment_t01.dart b/Language/Expressions/Assignment/Compound_Assignment/null_aware_conditional_expression_assignment_t01.dart
index b20e8a6..82e5db0 100644
--- a/Language/Expressions/Assignment/Compound_Assignment/null_aware_conditional_expression_assignment_t01.dart
+++ b/Language/Expressions/Assignment/Compound_Assignment/null_aware_conditional_expression_assignment_t01.dart
@@ -9,7 +9,6 @@
/// @description Checks that in expression of the form e1?.v ??= e value is set
/// only if e1.v == null and returns null if e1 == null
/// @author sgrekhov@unipro.ru
-/// @static-warning
import '../../../../Utils/expect.dart';
@@ -25,11 +24,19 @@
Expect.isNull(c);
c = new C();
- res = (c?.v ??= 2); /// static type warning
+ res = (c?.v ??= 2);
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
Expect.equals(2, res);
Expect.equals(2, c.v);
- res = (c?.v ??= 3); /// static type warning
+ res = (c?.v ??= 3);
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
Expect.equals(2, res);
Expect.equals(2, c.v);
}
diff --git a/Language/Expressions/Assignment/Compound_Assignment/null_aware_conditional_expression_assignment_t02.dart b/Language/Expressions/Assignment/Compound_Assignment/null_aware_conditional_expression_assignment_t02.dart
index cd578ed..47f77c2 100644
--- a/Language/Expressions/Assignment/Compound_Assignment/null_aware_conditional_expression_assignment_t02.dart
+++ b/Language/Expressions/Assignment/Compound_Assignment/null_aware_conditional_expression_assignment_t02.dart
@@ -9,7 +9,6 @@
/// @description Checks that in expression of the form e1?.v ??= e value is set
/// only if e1.v == null and returns null if e1 == null
/// @author sgrekhov@unipro.ru
-/// @static-warning
import '../../../../Utils/expect.dart';
@@ -41,14 +40,22 @@
Expect.isNull(c1);
C c2 = new C(null);
- var res2 = (c2?.v ??= 2); /// static type warning
+ var res2 = (c2?.v ??= 2);
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
Expect.equals(1, c2.getterInvocation);
Expect.equals(1, c2.setterInvocation);
Expect.equals(2, res2);
Expect.equals(2, c2.v);
C c3 = new C(-1);
- var res3 = (c3?.v ??= 3); /// static type warning
+ var res3 = (c3?.v ??= 3);
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
Expect.equals(1, c3.getterInvocation);
Expect.equals(0, c3.setterInvocation);
Expect.equals(-1, res3);
diff --git a/Language/Expressions/Assignment/expression_assignment_failed_t03.dart b/Language/Expressions/Assignment/expression_assignment_failed_t03.dart
index cb19a6a..fc16dd3 100644
--- a/Language/Expressions/Assignment/expression_assignment_failed_t03.dart
+++ b/Language/Expressions/Assignment/expression_assignment_failed_t03.dart
@@ -18,7 +18,6 @@
/// Object is invoked on o1
/// @description Checks that it is a compile error if e1 does not declare
/// a setter v. Test the case when e1 is a static type literal
-/// @compile-error
/// @author msyabro
@@ -28,4 +27,7 @@
main() {
Expect.throws(() {C.v = 2;}, (e) => e is NoSuchMethodError);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Assignment/expression_assignment_static_type_t01.dart b/Language/Expressions/Assignment/expression_assignment_static_type_t01.dart
index b67fca7..2c26f4d 100644
--- a/Language/Expressions/Assignment/expression_assignment_static_type_t01.dart
+++ b/Language/Expressions/Assignment/expression_assignment_static_type_t01.dart
@@ -6,7 +6,6 @@
/// of e2
/// @description Checks that static type of the expression e1.v = e2 is the
/// static type of e2. Test the case when e1 is a constant type literal
-/// @compile-error
/// @author ilya
@@ -18,4 +17,7 @@
main() {
C y = (C.v = new D());
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Assignment/expression_assignment_static_type_t02.dart b/Language/Expressions/Assignment/expression_assignment_static_type_t02.dart
index 3e878db..e988cb3 100644
--- a/Language/Expressions/Assignment/expression_assignment_static_type_t02.dart
+++ b/Language/Expressions/Assignment/expression_assignment_static_type_t02.dart
@@ -6,7 +6,6 @@
/// of e2
/// @description Checks that static type of the expression e1.v = e2 is the
/// static type of e2
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Expressions/Assignment/expression_assignment_static_type_t03.dart b/Language/Expressions/Assignment/expression_assignment_static_type_t03.dart
index cdf9e91..d502107 100644
--- a/Language/Expressions/Assignment/expression_assignment_static_type_t03.dart
+++ b/Language/Expressions/Assignment/expression_assignment_static_type_t03.dart
@@ -6,7 +6,6 @@
/// of e2
/// @description Checks that static type of the expression e1.v = e2 is the
/// static type of e2. Test the case when e1 an instance of some class
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -18,4 +17,7 @@
main() {
C y = (C.v = new A());
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Assignment/expression_assignment_static_type_t04.dart b/Language/Expressions/Assignment/expression_assignment_static_type_t04.dart
index 88e79b2..a90784b 100644
--- a/Language/Expressions/Assignment/expression_assignment_static_type_t04.dart
+++ b/Language/Expressions/Assignment/expression_assignment_static_type_t04.dart
@@ -5,7 +5,6 @@
/// @assertion The static type of the expression e1.v = e2 is the static type
/// of e2
/// @description Checks that static type of e1.v = e2 is static type of e2
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Assignment/expression_assignment_static_warning_t01.dart b/Language/Expressions/Assignment/expression_assignment_static_warning_t01.dart
index 7087249..0cf7339 100644
--- a/Language/Expressions/Assignment/expression_assignment_static_warning_t01.dart
+++ b/Language/Expressions/Assignment/expression_assignment_static_warning_t01.dart
@@ -11,7 +11,6 @@
/// the static type of the formal parameter of the setter v =.
/// @description Checks that it is a compile error if the static type of e
/// may not be assigned to the static type of C.v.
-/// @compile-error
/// @author msyabro
@@ -21,4 +20,7 @@
main() {
C.v = true;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Assignment/expression_assignment_static_warning_t02.dart b/Language/Expressions/Assignment/expression_assignment_static_warning_t02.dart
index b2528c5..6523e84 100644
--- a/Language/Expressions/Assignment/expression_assignment_static_warning_t02.dart
+++ b/Language/Expressions/Assignment/expression_assignment_static_warning_t02.dart
@@ -11,7 +11,6 @@
/// the static type of the formal parameter of the setter v =.
/// @description Checks that it is a compile error if the static type of e
/// may not be assigned to the static type of e1.v.
-/// @compile-error
/// @author srekhov@unipro.ru
@@ -22,4 +21,7 @@
main() {
C c = new C();
c.v = true;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Assignment/expression_assignment_static_warning_t03.dart b/Language/Expressions/Assignment/expression_assignment_static_warning_t03.dart
index 0007884..92022a5 100644
--- a/Language/Expressions/Assignment/expression_assignment_static_warning_t03.dart
+++ b/Language/Expressions/Assignment/expression_assignment_static_warning_t03.dart
@@ -12,7 +12,6 @@
/// @description Checks that it is a compile error if the static type of e
/// may not be assigned to the static type of e1.v. Test that this statement is
/// transitive
-/// @compile-error
/// @author srekhov@unipro.ru
@@ -24,4 +23,7 @@
C c = new C();
var y;
c.v = y = true;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Assignment/expression_assignment_t07.dart b/Language/Expressions/Assignment/expression_assignment_t07.dart
index a419231..8ada8c2 100644
--- a/Language/Expressions/Assignment/expression_assignment_t07.dart
+++ b/Language/Expressions/Assignment/expression_assignment_t07.dart
@@ -12,7 +12,6 @@
/// formal parameter bound to o2 and this bound to o1.
/// @description Checks that it is a compile error if setter lookup failed. Test
/// the case when e1 is a constant type literal
-/// @compile-error
/// @author ilya
@@ -26,5 +25,8 @@
main() {
Expect.throws(() {C.noSetter = incCount();}, (e) => e is NoSuchMethodError);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
Expect.equals(1, count);
}
diff --git a/Language/Expressions/Assignment/indexed_expression_static_type_t01.dart b/Language/Expressions/Assignment/indexed_expression_static_type_t01.dart
index 6951e5a..2c7d365 100644
--- a/Language/Expressions/Assignment/indexed_expression_static_type_t01.dart
+++ b/Language/Expressions/Assignment/indexed_expression_static_type_t01.dart
@@ -5,7 +5,6 @@
/// @assertion The static type of the expression e1[e2] = e3 is the static
/// type of e3.
/// @description Checks that static type of e1[e2] = e3 is static type of e3.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Assignment/indexed_expression_super_static_type_t01.dart b/Language/Expressions/Assignment/indexed_expression_super_static_type_t01.dart
index 2b0f797..d05cb2d 100644
--- a/Language/Expressions/Assignment/indexed_expression_super_static_type_t01.dart
+++ b/Language/Expressions/Assignment/indexed_expression_super_static_type_t01.dart
@@ -5,7 +5,6 @@
/// @assertion The static type of the expression super[e1] = e2 is the static
/// type of e2.
/// @description Checks that static type of super[e1] = e2 is static type of e2
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Expressions/Assignment/indexed_expression_super_t03.dart b/Language/Expressions/Assignment/indexed_expression_super_t03.dart
index d85dee8..ac636d9 100644
--- a/Language/Expressions/Assignment/indexed_expression_super_t03.dart
+++ b/Language/Expressions/Assignment/indexed_expression_super_t03.dart
@@ -6,7 +6,6 @@
/// expression super.[e1] = e2
/// @description Checks that it is a compile error if superclass doesn't define
/// an []= operator.
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -19,6 +18,9 @@
class C extends A {
test() {
Expect.throws(() {super[0] = 1;}, (e) => e is NoSuchMethodError);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Assignment/indexed_expression_super_t04.dart b/Language/Expressions/Assignment/indexed_expression_super_t04.dart
index ad9b1ee..66fe7ae 100644
--- a/Language/Expressions/Assignment/indexed_expression_super_t04.dart
+++ b/Language/Expressions/Assignment/indexed_expression_super_t04.dart
@@ -7,7 +7,6 @@
/// @description Checks that it is a compile error if no []= operator was found
/// in the superclass
/// @author sgrekhov@unipro.ru
-/// @compile-error
import '../../../Utils/expect.dart';
@@ -24,9 +23,21 @@
class C extends A {
test() {
Expect.equals(1, super[1] = 1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
Expect.equals(2, super[false] = 2);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
Expect.equals("12", super["foo"] = "1" "2");
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
Expect.equals(true, super[-1.11] = 1 < 2);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Assignment/null_aware_assignment_static_type_t01.dart b/Language/Expressions/Assignment/null_aware_assignment_static_type_t01.dart
index 1596f38..649b053 100644
--- a/Language/Expressions/Assignment/null_aware_assignment_static_type_t01.dart
+++ b/Language/Expressions/Assignment/null_aware_assignment_static_type_t01.dart
@@ -6,7 +6,6 @@
/// The static type of a is the static type of e2
/// @description Checks that the static type of e1?.v = e2 is the static type
/// of e2
-/// @static-warning
/// @author sgrekhov@unipro.ru
@@ -18,4 +17,8 @@
double e = 3.14;
C c = new C();
double? x = c?.v = e;
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
}
diff --git a/Language/Expressions/Assignment/prefix_object_t01.dart b/Language/Expressions/Assignment/prefix_object_t01.dart
index 18c4348..22438fd 100644
--- a/Language/Expressions/Assignment/prefix_object_t01.dart
+++ b/Language/Expressions/Assignment/prefix_object_t01.dart
@@ -8,7 +8,6 @@
/// is a compile-time error if d denotes a prefix object.
/// @description Checks the it is a compile-time error if d denotes a prefix
/// object
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -17,4 +16,7 @@
main() {
v = 1;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Assignment/prefix_object_t02.dart b/Language/Expressions/Assignment/prefix_object_t02.dart
index 9157b51..0fe0d45 100644
--- a/Language/Expressions/Assignment/prefix_object_t02.dart
+++ b/Language/Expressions/Assignment/prefix_object_t02.dart
@@ -8,7 +8,6 @@
/// is a compile-time error if d denotes a prefix object.
/// @description Checks the it is a compile-time error if d denotes a deferred
/// prefix object
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -17,4 +16,7 @@
main() {
v = 1;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Assignment/static_assignment_t03.dart b/Language/Expressions/Assignment/static_assignment_t03.dart
index 5a1d8f6..371e4bd 100644
--- a/Language/Expressions/Assignment/static_assignment_t03.dart
+++ b/Language/Expressions/Assignment/static_assignment_t03.dart
@@ -11,7 +11,6 @@
/// C.v = e.
/// @description Checks that an assignment of the form v = e, where v is a name
/// of a static getter in class C, is equivalent to the assignment C.v = e.
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -21,6 +20,9 @@
test() {
v = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Assignment/static_type_t01.dart b/Language/Expressions/Assignment/static_type_t01.dart
index ef8fd71..9b0b5df 100644
--- a/Language/Expressions/Assignment/static_type_t01.dart
+++ b/Language/Expressions/Assignment/static_type_t01.dart
@@ -13,7 +13,6 @@
/// has a static setter named v =.
/// @description Checks that it is a compile error if e1 does not have a
/// setter named v.
-/// @compile-error
/// @author kaigorodov
/// @author sgrekhov@unipro.ru
@@ -23,4 +22,7 @@
main() {
new C().v = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Assignment/static_type_t04.dart b/Language/Expressions/Assignment/static_type_t04.dart
index 3f6472d..83fadf9 100644
--- a/Language/Expressions/Assignment/static_type_t04.dart
+++ b/Language/Expressions/Assignment/static_type_t04.dart
@@ -14,7 +14,6 @@
/// @description Checks that there is no static warning if e1 is a constant type
/// literal and the class corresponding to e1 has an implicit static setter
/// named v=.
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Expressions/Assignment/static_type_t05.dart b/Language/Expressions/Assignment/static_type_t05.dart
index 19b5897..156fed6 100644
--- a/Language/Expressions/Assignment/static_type_t05.dart
+++ b/Language/Expressions/Assignment/static_type_t05.dart
@@ -14,7 +14,6 @@
/// @description Checks that there is no static warning if e1 is a constant type
/// literal and the class corresponding to e1 has a static setter
/// named v=.
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Expressions/Assignment/static_type_t06.dart b/Language/Expressions/Assignment/static_type_t06.dart
index b704d22..f76868f 100644
--- a/Language/Expressions/Assignment/static_type_t06.dart
+++ b/Language/Expressions/Assignment/static_type_t06.dart
@@ -13,7 +13,6 @@
/// has a static setter named v =.
/// @description Checks that it is a compile error if e1 is a constant type
/// literal but does not have a setter named v
-/// @compile-error
/// @author kaigorodov
/// @note issue #16233
@@ -23,4 +22,7 @@
main() {
C.v = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Assignment/static_warning_t01.dart b/Language/Expressions/Assignment/static_warning_t01.dart
index 823b624..0a4b8b6 100644
--- a/Language/Expressions/Assignment/static_warning_t01.dart
+++ b/Language/Expressions/Assignment/static_warning_t01.dart
@@ -11,12 +11,14 @@
/// v = e occurs inside a top level function and and there is neither a local
/// variable declaration with name v nor setter declaration with name v = in the
/// lexical scope enclosing the assignment.
-/// @compile-error
/// @author sgrekhov@unipro.ru
test() {
v = 1;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Assignment/static_warning_t02.dart b/Language/Expressions/Assignment/static_warning_t02.dart
index 7760a9b..73aca5c 100644
--- a/Language/Expressions/Assignment/static_warning_t02.dart
+++ b/Language/Expressions/Assignment/static_warning_t02.dart
@@ -11,13 +11,15 @@
/// v = e occurs inside a static function and and there is neither a local
/// variable declaration with name v nor setter declaration with name v = in the
/// lexical scope enclosing the assignment.
-/// @compile-error
/// @author sgrekhov@unipro.ru
class C {
static test() {
v = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Assignment/static_warning_t03.dart b/Language/Expressions/Assignment/static_warning_t03.dart
index afa4cc2..7badb17 100644
--- a/Language/Expressions/Assignment/static_warning_t03.dart
+++ b/Language/Expressions/Assignment/static_warning_t03.dart
@@ -11,13 +11,15 @@
/// v = e occurs inside a static setter and and there is neither a local
/// variable declaration with name v nor setter declaration with name v = in the
/// lexical scope enclosing the assignment.
-/// @compile-error
/// @author sgrekhov@unipro.ru
class C {
static set test(val) {
v = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Assignment/static_warning_t04.dart b/Language/Expressions/Assignment/static_warning_t04.dart
index a5fdb73..c0fc73c 100644
--- a/Language/Expressions/Assignment/static_warning_t04.dart
+++ b/Language/Expressions/Assignment/static_warning_t04.dart
@@ -11,13 +11,15 @@
/// v = e occurs inside a static getter and and there is neither a local
/// variable declaration with name v nor setter declaration with name v = in the
/// lexical scope enclosing the assignment.
-/// @compile-error
/// @author sgrekhov@unipro.ru
class C {
static get test {
v = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
return null;
}
}
diff --git a/Language/Expressions/Assignment/super_assignment_failed_t01.dart b/Language/Expressions/Assignment/super_assignment_failed_t01.dart
index 59d68cd..57bdf55 100644
--- a/Language/Expressions/Assignment/super_assignment_failed_t01.dart
+++ b/Language/Expressions/Assignment/super_assignment_failed_t01.dart
@@ -21,7 +21,6 @@
/// @description Checks that it is a compile error if there is no setter for v in
/// Sdynamic.
/// @author sgrekhov@unipro.ru
-/// @compile-error
class TestException {}
@@ -33,6 +32,9 @@
class C extends A {
test() {
super.v = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Assignment/super_assignment_failed_t02.dart b/Language/Expressions/Assignment/super_assignment_failed_t02.dart
index 46f6050..bd05a50 100644
--- a/Language/Expressions/Assignment/super_assignment_failed_t02.dart
+++ b/Language/Expressions/Assignment/super_assignment_failed_t02.dart
@@ -21,7 +21,6 @@
/// @description Checks that it is a compile error if there is setter v= in class
/// C but no setter for v= in Sdynamic.
/// @author sgrekhov@unipro.ru
-/// @compile-error
import '../../../Utils/expect.dart';
@@ -42,6 +41,9 @@
var v = 0;
test() {
Expect.throws(() {super.v = 1;}, (e) => e is TestException);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Assignment/super_assignment_failed_t03.dart b/Language/Expressions/Assignment/super_assignment_failed_t03.dart
index 5d03504..9736444 100644
--- a/Language/Expressions/Assignment/super_assignment_failed_t03.dart
+++ b/Language/Expressions/Assignment/super_assignment_failed_t03.dart
@@ -21,7 +21,6 @@
/// @description Checks that it is a compile error if there is no setter v= in
/// class Sdynamic
/// @author sgrekhov@unipro.ru
-/// @compile-error
import '../../../Utils/expect.dart';
@@ -34,6 +33,9 @@
test() {
Expect.throws(() {super.v = 1;}, (e) => e is NoSuchMethodError);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Assignment/super_assignment_static_warning_t01.dart b/Language/Expressions/Assignment/super_assignment_static_warning_t01.dart
index 9def2be..7bc329f 100644
--- a/Language/Expressions/Assignment/super_assignment_static_warning_t01.dart
+++ b/Language/Expressions/Assignment/super_assignment_static_warning_t01.dart
@@ -14,7 +14,6 @@
/// the static type of the formal parameter of the setter v =.
/// @description Checks that it is a compile error if Sstatic does not have an
/// accessible instance setter named v =
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -23,6 +22,9 @@
class C extends A {
test() {
super.v = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Assignment/super_assignment_static_warning_t04.dart b/Language/Expressions/Assignment/super_assignment_static_warning_t04.dart
index 83fa8f8..7d0851f 100644
--- a/Language/Expressions/Assignment/super_assignment_static_warning_t04.dart
+++ b/Language/Expressions/Assignment/super_assignment_static_warning_t04.dart
@@ -15,7 +15,6 @@
/// @description Checks that it is a compile error if the static type of e
/// may not be assigned to the static type of the formal parameter of the
/// setter v=
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -26,6 +25,9 @@
class C extends A {
test() {
super.v = "";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Assignment/this_assignment_t02.dart b/Language/Expressions/Assignment/this_assignment_t02.dart
index 9741fe0..c58982a 100644
--- a/Language/Expressions/Assignment/this_assignment_t02.dart
+++ b/Language/Expressions/Assignment/this_assignment_t02.dart
@@ -9,7 +9,6 @@
/// @description Checks that an assignment of the form v = e, where v is not
/// declared in the lexical scope is equivalent to the assignment this.v = e and
/// causes compile error
-/// @compile-error
/// @author msyabro
/// @author sgrekhov@unipro.ru
@@ -19,6 +18,9 @@
class C {
test() {
Expect.throws(() { v = 1; }, (e) => e is NoSuchMethodError);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Assignment/top_level_assignment_t05.dart b/Language/Expressions/Assignment/top_level_assignment_t05.dart
index 58089ff..0bdd57f 100644
--- a/Language/Expressions/Assignment/top_level_assignment_t05.dart
+++ b/Language/Expressions/Assignment/top_level_assignment_t05.dart
@@ -12,7 +12,6 @@
/// expression is o.
/// @description Checks that if d is top level getter, then the setter v= is
/// invoked with and this causes compile error
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -20,4 +19,7 @@
main() {
v = 1;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Assignment/variable_assignment_static_type_t01.dart b/Language/Expressions/Assignment/variable_assignment_static_type_t01.dart
index 3176a6c..39811d8 100644
--- a/Language/Expressions/Assignment/variable_assignment_static_type_t01.dart
+++ b/Language/Expressions/Assignment/variable_assignment_static_type_t01.dart
@@ -10,7 +10,6 @@
/// type of e.
/// @description Check that it is a compile error if the static type of e
/// may not be assigned to the static type of v
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -18,4 +17,7 @@
int v;
double e = 3.14;
v = e;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Assignment/variable_assignment_static_type_t02.dart b/Language/Expressions/Assignment/variable_assignment_static_type_t02.dart
index 70f3117..7e0d3c6 100644
--- a/Language/Expressions/Assignment/variable_assignment_static_type_t02.dart
+++ b/Language/Expressions/Assignment/variable_assignment_static_type_t02.dart
@@ -10,7 +10,6 @@
/// type of e.
/// @description Check that The static type of the expression v = e is the static
/// type of e
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -18,4 +17,7 @@
dynamic v;
double e = 3.14;
int x = v = e;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Assignment/variable_assignment_static_type_t03.dart b/Language/Expressions/Assignment/variable_assignment_static_type_t03.dart
index f3e2712..a680cd9 100644
--- a/Language/Expressions/Assignment/variable_assignment_static_type_t03.dart
+++ b/Language/Expressions/Assignment/variable_assignment_static_type_t03.dart
@@ -10,10 +10,12 @@
/// type of e.
/// @description Checks that it is a compile error if the static type of e
/// may not be assigned to the static type of v.
-/// @compile-error
/// @author msyabro
main() {
int v = true;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Assignment/variable_assignment_static_type_t04.dart b/Language/Expressions/Assignment/variable_assignment_static_type_t04.dart
index 7d703c8..7662b82 100644
--- a/Language/Expressions/Assignment/variable_assignment_static_type_t04.dart
+++ b/Language/Expressions/Assignment/variable_assignment_static_type_t04.dart
@@ -9,7 +9,6 @@
/// the static type of v. The static type of the expression v = e is the static
/// type of e.
/// @description Checks that static type of v = e is static type of e.
-/// @compile-error
/// @author ilya
@@ -19,4 +18,7 @@
main() {
var x;
D y = (x = new C());
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Assignment/variable_assignment_t03.dart b/Language/Expressions/Assignment/variable_assignment_t03.dart
index 352f860..ca9dc04 100644
--- a/Language/Expressions/Assignment/variable_assignment_t03.dart
+++ b/Language/Expressions/Assignment/variable_assignment_t03.dart
@@ -11,11 +11,13 @@
/// in which case a dynamic error occurs. If no error occurs, the value of the
/// assignment expression is o.
/// @description Checks that if v is const then compile error occurs
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() {
const v = 0;
v = 1;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Assignment/variable_assignment_t04.dart b/Language/Expressions/Assignment/variable_assignment_t04.dart
index 11dd180..5cad3b7 100644
--- a/Language/Expressions/Assignment/variable_assignment_t04.dart
+++ b/Language/Expressions/Assignment/variable_assignment_t04.dart
@@ -11,11 +11,13 @@
/// in which case a dynamic error occurs. If no error occurs, the value of the
/// assignment expression is o.
/// @description Checks that if v is final then compile error occurs
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() {
final int v = 0;
v = 1;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Await_Expressions/evaluation_throws_t05.dart b/Language/Expressions/Await_Expressions/evaluation_throws_t05.dart
index 60682b1..40b53eb 100644
--- a/Language/Expressions/Await_Expressions/evaluation_throws_t05.dart
+++ b/Language/Expressions/Await_Expressions/evaluation_throws_t05.dart
@@ -10,7 +10,6 @@
///
/// @description Check that if e is a call to non existing function, then
/// it is a compile error
-/// @compile-error
/// @author a.semenov@unipro.ru
@@ -18,6 +17,9 @@
test() async {
await f();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Await_Expressions/no_static_warning_t01.dart b/Language/Expressions/Await_Expressions/no_static_warning_t01.dart
index 32e39b2..f17808f 100644
--- a/Language/Expressions/Await_Expressions/no_static_warning_t01.dart
+++ b/Language/Expressions/Await_Expressions/no_static_warning_t01.dart
@@ -8,7 +8,6 @@
/// @description Check that no static warning is issued if type of e is not
/// subtype of Future.
///
-/// @static-clean
/// @author a.semenov@unipro.ru
diff --git a/Language/Expressions/Await_Expressions/static_type_t01.dart b/Language/Expressions/Await_Expressions/static_type_t01.dart
index f26c64d..fa10426 100644
--- a/Language/Expressions/Await_Expressions/static_type_t01.dart
+++ b/Language/Expressions/Await_Expressions/static_type_t01.dart
@@ -17,7 +17,6 @@
/// @description Check static type of await expression match with expected
/// type, so static type warnings are not issued.
///
-/// @static-clean
/// @author a.semenov@unipro.ru
diff --git a/Language/Expressions/Await_Expressions/static_type_t02.dart b/Language/Expressions/Await_Expressions/static_type_t02.dart
index aa4af9a..9f90251 100644
--- a/Language/Expressions/Await_Expressions/static_type_t02.dart
+++ b/Language/Expressions/Await_Expressions/static_type_t02.dart
@@ -16,7 +16,6 @@
///
/// @description Check that it is a compile error if static type of
/// await expression does no match with expected type.
-/// @compile-error
/// @author a.semenov@unipro.ru
@@ -24,4 +23,7 @@
main() {
var f = () async => static_int(await true);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Await_Expressions/static_type_t03.dart b/Language/Expressions/Await_Expressions/static_type_t03.dart
index 71eb1cf..ec7a7fc 100644
--- a/Language/Expressions/Await_Expressions/static_type_t03.dart
+++ b/Language/Expressions/Await_Expressions/static_type_t03.dart
@@ -17,7 +17,6 @@
/// @description Check static type of await expression match with expected
/// type, so static type warnings are not issued. Expression e is Future<T>.
///
-/// @static-clean
/// @author a.semenov@unipro.ru
diff --git a/Language/Expressions/Await_Expressions/static_type_t04.dart b/Language/Expressions/Await_Expressions/static_type_t04.dart
index c6252c7..0f7af29 100644
--- a/Language/Expressions/Await_Expressions/static_type_t04.dart
+++ b/Language/Expressions/Await_Expressions/static_type_t04.dart
@@ -17,7 +17,6 @@
/// @description Check that it is a compile error, if static type of
/// await expression does no match with expected type. Expression e is Future<T>.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
@@ -28,4 +27,7 @@
main() {
var f = () async => static_int(await boolean(true));
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Await_Expressions/static_type_t05.dart b/Language/Expressions/Await_Expressions/static_type_t05.dart
index 4a6687d..e50c285 100644
--- a/Language/Expressions/Await_Expressions/static_type_t05.dart
+++ b/Language/Expressions/Await_Expressions/static_type_t05.dart
@@ -16,7 +16,6 @@
///
/// @description Check that it is a compile error if static type of
/// await expression does no match with expected type.
-/// @compile-error
/// @author a.semenov@unipro.ru
@@ -24,4 +23,7 @@
main() {
var f = () async => static_bool(await 1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Await_Expressions/syntax_t03.dart b/Language/Expressions/Await_Expressions/syntax_t03.dart
index 87fe56f..4ef3b4e 100644
--- a/Language/Expressions/Await_Expressions/syntax_t03.dart
+++ b/Language/Expressions/Await_Expressions/syntax_t03.dart
@@ -7,7 +7,6 @@
/// await unaryExpression
///
/// @description Check that it is a compile error if unaryExpression is missing
-/// @compile-error
/// @author a.semenov@unipro.ru
@@ -20,6 +19,9 @@
Future test() async {
await;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Await_Expressions/syntax_t04.dart b/Language/Expressions/Await_Expressions/syntax_t04.dart
index 09c817f..3415a69 100644
--- a/Language/Expressions/Await_Expressions/syntax_t04.dart
+++ b/Language/Expressions/Await_Expressions/syntax_t04.dart
@@ -7,7 +7,6 @@
/// await unaryExpression
///
/// @description Check that it is a compile error if unaryExpression is missing
-/// @compile-error
/// @author a.semenov@unipro.ru
@@ -20,6 +19,9 @@
Stream test() async* {
await (await);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Await_Expressions/syntax_t05.dart b/Language/Expressions/Await_Expressions/syntax_t05.dart
index 533411c..43f02b9 100644
--- a/Language/Expressions/Await_Expressions/syntax_t05.dart
+++ b/Language/Expressions/Await_Expressions/syntax_t05.dart
@@ -9,7 +9,6 @@
///
/// @description Check that it is a compile error if the function immediately
/// enclosing await expression is not marked with async, async* or sync*
-/// @compile-error
/// @author a.semenov@unipro.ru
@@ -22,4 +21,7 @@
main() {
await f();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Await_Expressions/syntax_t06.dart b/Language/Expressions/Await_Expressions/syntax_t06.dart
index 630d473..3de9e59 100644
--- a/Language/Expressions/Await_Expressions/syntax_t06.dart
+++ b/Language/Expressions/Await_Expressions/syntax_t06.dart
@@ -9,7 +9,6 @@
///
/// @description Check that it is a compile error if the function immediately
/// enclosing await expression is marked with sync*
-/// @compile-error
/// @author a.semenov@unipro.ru
@@ -22,6 +21,9 @@
Iterable test() sync* {
await f();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Bitwise_Expressions/syntax_t02.dart b/Language/Expressions/Bitwise_Expressions/syntax_t02.dart
index 7e81265..1d2e875 100644
--- a/Language/Expressions/Bitwise_Expressions/syntax_t02.dart
+++ b/Language/Expressions/Bitwise_Expressions/syntax_t02.dart
@@ -24,7 +24,6 @@
/// bitwise operator on either super or an expression e1, with argument e2.
/// @description Checks that super can be used only as the first operand in a
/// bitwise expression.
-/// @compile-error
/// @author msyabro
@@ -36,6 +35,9 @@
test() {
try {
1 | super;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
}
diff --git a/Language/Expressions/Bitwise_Expressions/syntax_t03.dart b/Language/Expressions/Bitwise_Expressions/syntax_t03.dart
index 2fcd484..7cf7eb2 100644
--- a/Language/Expressions/Bitwise_Expressions/syntax_t03.dart
+++ b/Language/Expressions/Bitwise_Expressions/syntax_t03.dart
@@ -23,7 +23,6 @@
/// A bitwise expression is either an shift expression, or an invocation of a
/// bitwise operator on either super or an expression e1, with argument e2.
/// @description Checks that an expression can't start with operator &
-/// @compile-error
/// @author msyabro
/// @reviewer kaigorodov
@@ -31,6 +30,9 @@
main() {
try {
& 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Bitwise_Expressions/syntax_t04.dart b/Language/Expressions/Bitwise_Expressions/syntax_t04.dart
index 42a061e..81bbbdd 100644
--- a/Language/Expressions/Bitwise_Expressions/syntax_t04.dart
+++ b/Language/Expressions/Bitwise_Expressions/syntax_t04.dart
@@ -23,7 +23,6 @@
/// A bitwise expression is either an shift expression, or an invocation of a
/// bitwise operator on either super or an expression e1, with argument e2.
/// @description Checks that an expression can't start with operator ^
-/// @compile-error
/// @author msyabro
/// @reviewer kaigorodov
@@ -31,6 +30,9 @@
main() {
try {
^ true;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Bitwise_Expressions/syntax_t05.dart b/Language/Expressions/Bitwise_Expressions/syntax_t05.dart
index 621dc68..f22dbb1 100644
--- a/Language/Expressions/Bitwise_Expressions/syntax_t05.dart
+++ b/Language/Expressions/Bitwise_Expressions/syntax_t05.dart
@@ -23,13 +23,15 @@
/// A bitwise expression is either an shift expression, or an invocation of a
/// bitwise operator on either super or an expression e1, with argument e2.
/// @description Checks that an expression can't start with operator |
-/// @compile-error
/// @author msyabro
main() {
try {
| "";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Bitwise_Expressions/syntax_t06.dart b/Language/Expressions/Bitwise_Expressions/syntax_t06.dart
index 13303dc..b80eba7 100644
--- a/Language/Expressions/Bitwise_Expressions/syntax_t06.dart
+++ b/Language/Expressions/Bitwise_Expressions/syntax_t06.dart
@@ -23,13 +23,15 @@
/// A bitwise expression is either an shift expression, or an invocation of a
/// bitwise operator on either super or an expression e1, with argument e2.
/// @description Checks that an expression can't terminate with operator &
-/// @compile-error
/// @author msyabro
main() {
try {
2 &;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Bitwise_Expressions/syntax_t07.dart b/Language/Expressions/Bitwise_Expressions/syntax_t07.dart
index 38c56a3..b0cffe1 100644
--- a/Language/Expressions/Bitwise_Expressions/syntax_t07.dart
+++ b/Language/Expressions/Bitwise_Expressions/syntax_t07.dart
@@ -23,13 +23,15 @@
/// A bitwise expression is either an shift expression, or an invocation of a
/// bitwise operator on either super or an expression e1, with argument e2.
/// @description Checks that an expression can't terminate with operator ^
-/// @compile-error
/// @author msyabro
main() {
try {
[] ^;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Bitwise_Expressions/syntax_t08.dart b/Language/Expressions/Bitwise_Expressions/syntax_t08.dart
index 1439c2b..c4cfe6d 100644
--- a/Language/Expressions/Bitwise_Expressions/syntax_t08.dart
+++ b/Language/Expressions/Bitwise_Expressions/syntax_t08.dart
@@ -23,13 +23,15 @@
/// A bitwise expression is either an shift expression, or an invocation of a
/// bitwise operator on either super or an expression e1, with argument e2.
/// @description Checks that an expression can't terminate with operator |
-/// @compile-error
/// @author msyabro
main() {
try {
{} |;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Bitwise_Expressions/syntax_t09.dart b/Language/Expressions/Bitwise_Expressions/syntax_t09.dart
index 9cfe667..f678a54e 100644
--- a/Language/Expressions/Bitwise_Expressions/syntax_t09.dart
+++ b/Language/Expressions/Bitwise_Expressions/syntax_t09.dart
@@ -23,13 +23,15 @@
/// A bitwise expression is either an shift expression, or an invocation of a
/// bitwise operator on either super or an expression e1, with argument e2.
/// @description Checks that two operators & can't placed one after another.
-/// @compile-error
/// @author msyabro
main() {
try {
1 & & 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Bitwise_Expressions/syntax_t10.dart b/Language/Expressions/Bitwise_Expressions/syntax_t10.dart
index 30fd28d..187ee55 100644
--- a/Language/Expressions/Bitwise_Expressions/syntax_t10.dart
+++ b/Language/Expressions/Bitwise_Expressions/syntax_t10.dart
@@ -23,13 +23,15 @@
/// A bitwise expression is either an shift expression, or an invocation of a
/// bitwise operator on either super or an expression e1, with argument e2.
/// @description Checks that two operators ^ can't placed one after another.
-/// @compile-error
/// @author msyabro
main() {
try {
1 ^ ^ 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Bitwise_Expressions/syntax_t11.dart b/Language/Expressions/Bitwise_Expressions/syntax_t11.dart
index f1f3505..0a291fc 100644
--- a/Language/Expressions/Bitwise_Expressions/syntax_t11.dart
+++ b/Language/Expressions/Bitwise_Expressions/syntax_t11.dart
@@ -23,13 +23,15 @@
/// A bitwise expression is either an shift expression, or an invocation of a
/// bitwise operator on either super or an expression e1, with argument e2.
/// @description Checks that two operators | can't placed one after another.
-/// @compile-error
/// @author msyabro
main() {
try {
1 | | 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Bitwise_Expressions/syntax_t12.dart b/Language/Expressions/Bitwise_Expressions/syntax_t12.dart
index e3562a9..90183ba 100644
--- a/Language/Expressions/Bitwise_Expressions/syntax_t12.dart
+++ b/Language/Expressions/Bitwise_Expressions/syntax_t12.dart
@@ -24,7 +24,6 @@
/// bitwise operator on either super or an expression e1, with argument e2.
/// @description Checks that a reference to a class declaration cannot be used
/// as the first operand of a bitwise expression without a compile error.
-/// @compile-error
/// @author msyabro
@@ -32,5 +31,8 @@
main() {
A & 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Bitwise_Expressions/syntax_t13.dart b/Language/Expressions/Bitwise_Expressions/syntax_t13.dart
index b8a176e..af9dab2 100644
--- a/Language/Expressions/Bitwise_Expressions/syntax_t13.dart
+++ b/Language/Expressions/Bitwise_Expressions/syntax_t13.dart
@@ -24,7 +24,6 @@
/// bitwise operator on either super or an expression e1, with argument e2.
/// @description Checks that a reference to a class declaration cannot be used
/// as the second operand of a bitwise expression without a compile error.
-/// @compile-error
/// @author msyabro
@@ -32,5 +31,8 @@
main() {
2 ^ A;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Bitwise_Expressions/syntax_t14.dart b/Language/Expressions/Bitwise_Expressions/syntax_t14.dart
index f43220e..5688086 100644
--- a/Language/Expressions/Bitwise_Expressions/syntax_t14.dart
+++ b/Language/Expressions/Bitwise_Expressions/syntax_t14.dart
@@ -24,7 +24,6 @@
/// bitwise operator on either super or an expression e1, with argument e2.
/// @description Checks that a reference to a type alias declaration cannot be
/// used as the first operand of a bitwise expression without a compile error.
-/// @compile-error
/// @author kaigorodov
@@ -32,4 +31,7 @@
main() {
fun | 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Bitwise_Expressions/syntax_t15.dart b/Language/Expressions/Bitwise_Expressions/syntax_t15.dart
index acf4e0b..5306f54 100644
--- a/Language/Expressions/Bitwise_Expressions/syntax_t15.dart
+++ b/Language/Expressions/Bitwise_Expressions/syntax_t15.dart
@@ -24,7 +24,6 @@
/// bitwise operator on either super or an expression e1, with argument e2.
/// @description Checks that a reference to a type alias declaration cannot be
/// used as the second operand of a bitwise expression without a compile error.
-/// @compile-error
/// @author kaigorodov
@@ -32,4 +31,7 @@
main() {
1 ^ 2 ^ fun;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Bitwise_Expressions/syntax_t16.dart b/Language/Expressions/Bitwise_Expressions/syntax_t16.dart
index 8d22e1d..13e58b0 100644
--- a/Language/Expressions/Bitwise_Expressions/syntax_t16.dart
+++ b/Language/Expressions/Bitwise_Expressions/syntax_t16.dart
@@ -24,13 +24,15 @@
/// bitwise operator on either super or an expression e1, with argument e2.
/// @description Checks that a type variable cannot be used as the first operand
/// of a bitwise expression without a compile error.
-/// @compile-error
/// @author msyabro
class A<T> {
test() {
T & 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Bitwise_Expressions/syntax_t17.dart b/Language/Expressions/Bitwise_Expressions/syntax_t17.dart
index 07a33d8..9ec1261 100644
--- a/Language/Expressions/Bitwise_Expressions/syntax_t17.dart
+++ b/Language/Expressions/Bitwise_Expressions/syntax_t17.dart
@@ -24,13 +24,15 @@
/// bitwise operator on either super or an expression e1, with argument e2.
/// @description Checks that a type variable cannot be used as the second operand
/// of a bitwise expression without a compile error.
-/// @compile-error
/// @author msyabro
class A<T> {
test() {
1 | T;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Booleans/Boolean_Conversion/conversion_t01.dart b/Language/Expressions/Booleans/Boolean_Conversion/conversion_t01.dart
index 128c13b..2364cff 100644
--- a/Language/Expressions/Booleans/Boolean_Conversion/conversion_t01.dart
+++ b/Language/Expressions/Booleans/Boolean_Conversion/conversion_t01.dart
@@ -6,7 +6,6 @@
/// boolean, any construct that makes use of boolean conversion will cause a
/// compile type error if the value to be converted is not a boolean.
/// @description Checks that it is a compile error to convert int to bool.
-/// @compile-error
/// @author msyabro
@@ -14,4 +13,7 @@
main() {
i ? '' : ' ';
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Booleans/Boolean_Conversion/definition_t02.dart b/Language/Expressions/Booleans/Boolean_Conversion/definition_t02.dart
index 8082e3c..f496d33 100644
--- a/Language/Expressions/Booleans/Boolean_Conversion/definition_t02.dart
+++ b/Language/Expressions/Booleans/Boolean_Conversion/definition_t02.dart
@@ -9,7 +9,6 @@
/// }(o)
/// @description Checks that objects that are not bool and not null are
/// not converted to boolean. It's a compile time error
-/// @compile-error
/// @author msyabro
/// @Issue 27277
@@ -20,11 +19,35 @@
main() {
Expect.isFalse(new Object() && true);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
Expect.isFalse(0 && true);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
Expect.isFalse(1 && true);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
Expect.isFalse("" && true);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
Expect.isFalse([1, 2, 3] && true);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
Expect.isFalse({"k1": 1} && true);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
Expect.isFalse(new A() && true);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
Expect.isFalse((() => 1) && true);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Booleans/boolean_literals_t01.dart b/Language/Expressions/Booleans/boolean_literals_t01.dart
index 99482fe..ac79893 100644
--- a/Language/Expressions/Booleans/boolean_literals_t01.dart
+++ b/Language/Expressions/Booleans/boolean_literals_t01.dart
@@ -11,12 +11,14 @@
/// ;
/// @description Checks that "true" is a reserved word (so it can't be used to
/// name a variable).
-/// @compile-error
/// @author msyabro
main() {
try {
var true;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Booleans/boolean_literals_t02.dart b/Language/Expressions/Booleans/boolean_literals_t02.dart
index 88e2648..c636ced 100644
--- a/Language/Expressions/Booleans/boolean_literals_t02.dart
+++ b/Language/Expressions/Booleans/boolean_literals_t02.dart
@@ -10,12 +10,14 @@
/// false
/// ;
/// @description Checks that "false" is a reserved word.
-/// @compile-error
/// @author msyabro
main() {
try {
var false;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Booleans/boolean_literals_t03.dart b/Language/Expressions/Booleans/boolean_literals_t03.dart
index 376f543..20e63b2 100644
--- a/Language/Expressions/Booleans/boolean_literals_t03.dart
+++ b/Language/Expressions/Booleans/boolean_literals_t03.dart
@@ -10,12 +10,14 @@
/// false
/// ;
/// @description Checks that boolean literal can't be preceded by unary plus.
-/// @compile-error
/// @author hlodvig
main() {
try {
+false;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Booleans/extend_or_implement_t01.dart b/Language/Expressions/Booleans/extend_or_implement_t01.dart
index 54f36eb..8a2eba0 100644
--- a/Language/Expressions/Booleans/extend_or_implement_t01.dart
+++ b/Language/Expressions/Booleans/extend_or_implement_t01.dart
@@ -6,12 +6,17 @@
/// mix in or implement bool.
/// @description Checks that it is a compile-time error when a user-defined
/// interface attempts to extend bool.
-/// @compile-error
/// @author msyabro
abstract class I extends bool {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class C implements I {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Booleans/extend_or_implement_t02.dart b/Language/Expressions/Booleans/extend_or_implement_t02.dart
index a4bbfeb..1741363 100644
--- a/Language/Expressions/Booleans/extend_or_implement_t02.dart
+++ b/Language/Expressions/Booleans/extend_or_implement_t02.dart
@@ -6,11 +6,13 @@
/// mix in or implement bool.
/// @description Checks that it is a compile-time error when a user-defined
/// class attempts to implement bool.
-/// @compile-error
/// @author msyabro
class C implements bool {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Booleans/extend_or_implement_t03.dart b/Language/Expressions/Booleans/extend_or_implement_t03.dart
index 002f630..f14480b 100644
--- a/Language/Expressions/Booleans/extend_or_implement_t03.dart
+++ b/Language/Expressions/Booleans/extend_or_implement_t03.dart
@@ -6,11 +6,13 @@
/// mix in or implement bool.
/// @description Checks that it is a compile-time error when a user-defined
/// class attempts to extend bool.
-/// @compile-error
/// @author msyabro
class C extends bool {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Booleans/extend_or_implement_t04.dart b/Language/Expressions/Booleans/extend_or_implement_t04.dart
index 5c40ce4..5832a14 100644
--- a/Language/Expressions/Booleans/extend_or_implement_t04.dart
+++ b/Language/Expressions/Booleans/extend_or_implement_t04.dart
@@ -5,13 +5,15 @@
/// @assertion It is a compile-time error for a class to attempt to extend,
/// mix in or implement bool.
/// @description Checks that bool cannot be mixed in
-/// @compile-error
/// @author sgrekhov@unipro.ru
class A {}
class C extends A with bool {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Booleans/extend_or_implement_t05.dart b/Language/Expressions/Booleans/extend_or_implement_t05.dart
index 6fd2bf1..ccce60c 100644
--- a/Language/Expressions/Booleans/extend_or_implement_t05.dart
+++ b/Language/Expressions/Booleans/extend_or_implement_t05.dart
@@ -5,14 +5,19 @@
/// @assertion It is a compile-time error for a class to attempt to extend,
/// mix in or implement bool.
/// @description Checks that bool cannot be mixed in abstract class
-/// @compile-error
/// @author sgrekhov@unipro.ru
class A {}
abstract class C extends A with bool {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
C c = null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Booleans/extend_or_implement_t06.dart b/Language/Expressions/Booleans/extend_or_implement_t06.dart
index 1d2a2f7..ec9f3b0 100644
--- a/Language/Expressions/Booleans/extend_or_implement_t06.dart
+++ b/Language/Expressions/Booleans/extend_or_implement_t06.dart
@@ -5,13 +5,15 @@
/// @assertion It is a compile-time error for a class to attempt to extend,
/// mix in or implement bool.
/// @description Checks that bool cannot be mixed in. Test class C = M form
-/// @compile-error
/// @author sgrekhov@unipro.ru
class A {}
class C = A with bool;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Booleans/static_type_t01.dart b/Language/Expressions/Booleans/static_type_t01.dart
index 27cf365..775492e 100644
--- a/Language/Expressions/Booleans/static_type_t01.dart
+++ b/Language/Expressions/Booleans/static_type_t01.dart
@@ -5,7 +5,6 @@
/// @assertion The static type of a boolean literal is bool.
/// @description Checks that no static warnings are produced when assigning a
/// boolean literal to a typed bool variable.
-/// @static-clean
/// @author msyabro
diff --git a/Language/Expressions/Booleans/static_type_t02.dart b/Language/Expressions/Booleans/static_type_t02.dart
index a815df1..5dffee3 100644
--- a/Language/Expressions/Booleans/static_type_t02.dart
+++ b/Language/Expressions/Booleans/static_type_t02.dart
@@ -5,10 +5,12 @@
/// @assertion The static type of a boolean literal is bool.
/// @description Checks that a compile error is produced when assigning a
/// boolean literal to a typed int variable.
-/// @compile-error
/// @author msyabro
main() {
int i = true;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Conditional/evaluation_t03.dart b/Language/Expressions/Conditional/evaluation_t03.dart
index 392b704..8a0ced9 100644
--- a/Language/Expressions/Conditional/evaluation_t03.dart
+++ b/Language/Expressions/Conditional/evaluation_t03.dart
@@ -10,11 +10,13 @@
/// result of evaluating the expression e3.
/// @description Checks that it is a compile error if e1 is not evaluated to
/// a bool object.
-/// @compile-error
/// @author msyabro
main() {
var e1 = "";
return e1 ? true : 1.0;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Conditional/static_type_t01.dart b/Language/Expressions/Conditional/static_type_t01.dart
index 9abe7cd..4740640 100644
--- a/Language/Expressions/Conditional/static_type_t01.dart
+++ b/Language/Expressions/Conditional/static_type_t01.dart
@@ -6,7 +6,6 @@
/// of the static type of e2 and the static type of e3.
/// @description Checks that the static type of a conditional expression is
/// an upper bound of the static type of e2 and the static type of e3.
-/// @static-clean
/// @author msyabro
diff --git a/Language/Expressions/Conditional/static_type_t02.dart b/Language/Expressions/Conditional/static_type_t02.dart
index 4655e9f..510e706 100644
--- a/Language/Expressions/Conditional/static_type_t02.dart
+++ b/Language/Expressions/Conditional/static_type_t02.dart
@@ -6,7 +6,6 @@
/// of the static type of e2 and the static type of e3.
/// @description Checks that the static type of a conditional expression is
/// neither Object nor Dynamic.
-/// @compile-error
/// @author msyabro
@@ -14,4 +13,7 @@
main() {
A a = (true ? 1 : 0.5);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Conditional/static_type_t03.dart b/Language/Expressions/Conditional/static_type_t03.dart
index 5af9906..d9f4d14 100644
--- a/Language/Expressions/Conditional/static_type_t03.dart
+++ b/Language/Expressions/Conditional/static_type_t03.dart
@@ -6,7 +6,6 @@
/// of the static type of e2 and the static type of e3.
/// @description Checks that the static type of a conditional expression is
/// an upper bound of the static type of e2 and the static type of e3.
-/// @static-clean
/// @author msyabro
diff --git a/Language/Expressions/Conditional/syntax_t02.dart b/Language/Expressions/Conditional/syntax_t02.dart
index 3460274..50451b5 100644
--- a/Language/Expressions/Conditional/syntax_t02.dart
+++ b/Language/Expressions/Conditional/syntax_t02.dart
@@ -10,7 +10,6 @@
/// ;
/// @description Checks that super can't be used in a conditional expression
/// as the condition.
-/// @compile-error
/// @author msyabro
@@ -20,6 +19,9 @@
test() {
try {
super ? 1 : 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
}
diff --git a/Language/Expressions/Conditional/syntax_t03.dart b/Language/Expressions/Conditional/syntax_t03.dart
index d08c543..5572a10 100644
--- a/Language/Expressions/Conditional/syntax_t03.dart
+++ b/Language/Expressions/Conditional/syntax_t03.dart
@@ -10,7 +10,6 @@
/// ;
/// @description Checks that super can't be used in a conditional expression
/// as the first expression.
-/// @compile-error
/// @author msyabro
@@ -20,6 +19,9 @@
test() {
try {
true ? super : 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
}
diff --git a/Language/Expressions/Conditional/syntax_t04.dart b/Language/Expressions/Conditional/syntax_t04.dart
index 3738d6b..a9b5544 100644
--- a/Language/Expressions/Conditional/syntax_t04.dart
+++ b/Language/Expressions/Conditional/syntax_t04.dart
@@ -10,7 +10,6 @@
/// ;
/// @description Checks that super can't be used in a conditional expression
/// as the second expression.
-/// @compile-error
/// @author msyabro
@@ -20,6 +19,9 @@
test() {
try {
true ? 1 : super;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
}
diff --git a/Language/Expressions/Conditional/syntax_t05.dart b/Language/Expressions/Conditional/syntax_t05.dart
index 2a0ea2e..f1c1ab9 100644
--- a/Language/Expressions/Conditional/syntax_t05.dart
+++ b/Language/Expressions/Conditional/syntax_t05.dart
@@ -9,12 +9,14 @@
/// expressionWithoutCascade)?
/// ;
/// @description Checks that the second expression is necessary.
-/// @compile-error
/// @author msyabro
main() {
try {
true ? 1 : ;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Conditional/syntax_t06.dart b/Language/Expressions/Conditional/syntax_t06.dart
index e39ad40..3d77f87 100644
--- a/Language/Expressions/Conditional/syntax_t06.dart
+++ b/Language/Expressions/Conditional/syntax_t06.dart
@@ -9,12 +9,14 @@
/// expressionWithoutCascade)?
/// ;
/// @description Checks that the first expression is necessary.
-/// @compile-error
/// @author msyabro
main() {
try {
true ? : 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Conditional/syntax_t07.dart b/Language/Expressions/Conditional/syntax_t07.dart
index 6211fd7..bf27339 100644
--- a/Language/Expressions/Conditional/syntax_t07.dart
+++ b/Language/Expressions/Conditional/syntax_t07.dart
@@ -9,12 +9,14 @@
/// expressionWithoutCascade)?
/// ;
/// @description Checks that the condition is necessary.
-/// @compile-error
/// @author msyabro
main() {
try {
? 1 : 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Conditional/syntax_t08.dart b/Language/Expressions/Conditional/syntax_t08.dart
index 46448c5..7d287ac 100644
--- a/Language/Expressions/Conditional/syntax_t08.dart
+++ b/Language/Expressions/Conditional/syntax_t08.dart
@@ -9,12 +9,14 @@
/// expressionWithoutCascade)?
/// ;
/// @description Checks that ':' expression is necessary.
-/// @compile-error
/// @author msyabro
main() {
try {
true ? 1 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Conditional/syntax_t09.dart b/Language/Expressions/Conditional/syntax_t09.dart
index 649ae3c..8de0fb0 100644
--- a/Language/Expressions/Conditional/syntax_t09.dart
+++ b/Language/Expressions/Conditional/syntax_t09.dart
@@ -9,12 +9,14 @@
/// expressionWithoutCascade)?
/// ;
/// @description Checks that '?' expression is necessary.
-/// @compile-error
/// @author msyabro
main() {
try {
true 1 : 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Conditional/syntax_t10.dart b/Language/Expressions/Conditional/syntax_t10.dart
index 2ba5929..651e851 100644
--- a/Language/Expressions/Conditional/syntax_t10.dart
+++ b/Language/Expressions/Conditional/syntax_t10.dart
@@ -10,7 +10,6 @@
/// ;
/// @description Checks that a reference to a class declaration can be used
/// as the condition in a conditional expression without a compile error.
-/// @compile-error
/// @author msyabro
@@ -18,4 +17,7 @@
main() {
A ? 1 : 2;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Conditional/syntax_t12.dart b/Language/Expressions/Conditional/syntax_t12.dart
index 96ecf1c..7d7d1db 100644
--- a/Language/Expressions/Conditional/syntax_t12.dart
+++ b/Language/Expressions/Conditional/syntax_t12.dart
@@ -10,7 +10,6 @@
/// ;
/// @description Checks that a reference to a type alias declaration can not be
/// used as the condition in a conditional expression without a compile error.
-/// @compile-error
/// @author msyabro
@@ -18,4 +17,7 @@
main() {
fun ? 1 : 2;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Conditional/syntax_t14.dart b/Language/Expressions/Conditional/syntax_t14.dart
index e176eec..318209c 100644
--- a/Language/Expressions/Conditional/syntax_t14.dart
+++ b/Language/Expressions/Conditional/syntax_t14.dart
@@ -10,13 +10,15 @@
/// ;
/// @description Checks that a type parameter can not be used as the condition
/// in a conditional expression without a compile error.
-/// @compile-error
/// @author msyabro
class A<T> {
test() {
T ? "" : '';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Conditional/type_not_bool_t01.dart b/Language/Expressions/Conditional/type_not_bool_t01.dart
index ffe7d2b..63fa159 100644
--- a/Language/Expressions/Conditional/type_not_bool_t01.dart
+++ b/Language/Expressions/Conditional/type_not_bool_t01.dart
@@ -6,10 +6,12 @@
/// to bool.
/// @description Checks that it is a compile error if the type of e1 may
/// not be assigned to bool.
-/// @compile-error
/// @author msyabro
main() {
"" ? true : false;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Conditional/type_t01.dart b/Language/Expressions/Conditional/type_t01.dart
index e621938..9f83f1f 100644
--- a/Language/Expressions/Conditional/type_t01.dart
+++ b/Language/Expressions/Conditional/type_t01.dart
@@ -13,7 +13,6 @@
/// potentially mutated anywhere in the scope of v, then the type of v is
/// known to be T in e2, regardless of whether there are closures capturing v.
/// No closures case.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Conditional/type_t02.dart b/Language/Expressions/Conditional/type_t02.dart
index b9b9661..94ca621 100644
--- a/Language/Expressions/Conditional/type_t02.dart
+++ b/Language/Expressions/Conditional/type_t02.dart
@@ -13,7 +13,6 @@
/// potentially mutated anywhere in the scope of v, then the type of v is
/// known to be T in e2, regardless of whether there are closures capturing v.
/// No closures, nested case.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Conditional/type_t03.dart b/Language/Expressions/Conditional/type_t03.dart
index b082473..9ca5865 100644
--- a/Language/Expressions/Conditional/type_t03.dart
+++ b/Language/Expressions/Conditional/type_t03.dart
@@ -13,7 +13,6 @@
/// potentially mutated anywhere in the scope of v, then the type of v is
/// known to be T in e2, regardless of whether there are closures capturing v.
/// Case with closures.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Conditional/type_t04.dart b/Language/Expressions/Conditional/type_t04.dart
index d391ef2..eda5c8d 100644
--- a/Language/Expressions/Conditional/type_t04.dart
+++ b/Language/Expressions/Conditional/type_t04.dart
@@ -12,7 +12,6 @@
/// @description Checks that if e1 shows that v has type T, v is not potentially
/// mutated in e2 and not captured by any closure then the type of v is known to
/// be T in e2, even if v is potentially mutated elsewhere in its scope.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Conditional/type_t05.dart b/Language/Expressions/Conditional/type_t05.dart
index 4a63966..10cb8b8 100644
--- a/Language/Expressions/Conditional/type_t05.dart
+++ b/Language/Expressions/Conditional/type_t05.dart
@@ -13,7 +13,6 @@
/// mutated in e2 or within a closure, and there is no closure capturing v in e2,
/// then the type of v is known to be T in e2, even if v is potentially mutated
/// elsewhere in its scope.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Constants/bitwise_operators_t02.dart b/Language/Expressions/Constants/bitwise_operators_t02.dart
index 7ce820e..7f76400 100644
--- a/Language/Expressions/Constants/bitwise_operators_t02.dart
+++ b/Language/Expressions/Constants/bitwise_operators_t02.dart
@@ -11,11 +11,13 @@
/// integer value or to null.
/// @description Checks that an expression of the form ~e cannot be used to
/// initialize a constant variable if e is boolean.
-/// @compile-error
/// @author iefremov
const m = ~true;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/bitwise_operators_t03.dart b/Language/Expressions/Constants/bitwise_operators_t03.dart
index 4647312..1f89c81 100644
--- a/Language/Expressions/Constants/bitwise_operators_t03.dart
+++ b/Language/Expressions/Constants/bitwise_operators_t03.dart
@@ -12,12 +12,14 @@
/// @description Checks that it is a compile-time error when an expression of
/// the form e1 & e2 where e1 or e2 does not evaluate to an integer value, is
/// used to initialize a constant variable.
-/// @compile-error
/// @author kaigorodov
final constList = const [
true & 1,
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
];
main() {
diff --git a/Language/Expressions/Constants/bitwise_operators_t04.dart b/Language/Expressions/Constants/bitwise_operators_t04.dart
index 753266e..2460b7f 100644
--- a/Language/Expressions/Constants/bitwise_operators_t04.dart
+++ b/Language/Expressions/Constants/bitwise_operators_t04.dart
@@ -12,12 +12,14 @@
/// @description Checks that it is a compile-time error when an expression of
/// the form ~e where e does not evaluate to an integer value, is used to
/// initialize a constant variable.
-/// @compile-error
/// @author kaigorodov
final constList = const [
~"oneoneeleven"
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
];
main() {
diff --git a/Language/Expressions/Constants/bitwise_operators_t05.dart b/Language/Expressions/Constants/bitwise_operators_t05.dart
index a8aa6a4..ea9e49b 100644
--- a/Language/Expressions/Constants/bitwise_operators_t05.dart
+++ b/Language/Expressions/Constants/bitwise_operators_t05.dart
@@ -12,12 +12,14 @@
/// @description Checks that it is a compile-time error when an expression of
/// the form e1 << e2 where e1 or e2 does not evaluate to an integer value, is
/// used to initialize a constant variable.
-/// @compile-error
/// @author kaigorodov
final constList = const [
1 << "one and a half"
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
];
main() {
diff --git a/Language/Expressions/Constants/bitwise_operators_t06.dart b/Language/Expressions/Constants/bitwise_operators_t06.dart
index eea3122..ee9303d 100644
--- a/Language/Expressions/Constants/bitwise_operators_t06.dart
+++ b/Language/Expressions/Constants/bitwise_operators_t06.dart
@@ -12,12 +12,14 @@
/// @description Checks that it is a compile-time error when an expression of
/// the form e1 >> e2 where e1 or e2 does not evaluate to an integer value, is
/// used to initialize a constant variable.
-/// @compile-error
/// @author kaigorodov
final constList = const [
true >> 25
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
];
main() {
diff --git a/Language/Expressions/Constants/bitwise_operators_t07.dart b/Language/Expressions/Constants/bitwise_operators_t07.dart
index b9c0a2e..ce95aa2 100644
--- a/Language/Expressions/Constants/bitwise_operators_t07.dart
+++ b/Language/Expressions/Constants/bitwise_operators_t07.dart
@@ -14,13 +14,15 @@
/// @description Checks that it is a compile-time error when an expression of
/// the form [e1 >>> e2] where [e1] or [e2] does not evaluate to an integer
/// value, is used to initialize a constant variable.
-/// @compile-error
/// @author iarkh@unipro.ru
// SharedOptions=--enable-experiment=triple-shift
final constList = const [
1 >>> "one and a half"
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
];
main() {
diff --git a/Language/Expressions/Constants/bitwise_operators_t08.dart b/Language/Expressions/Constants/bitwise_operators_t08.dart
index b23b2e8..4f84346 100644
--- a/Language/Expressions/Constants/bitwise_operators_t08.dart
+++ b/Language/Expressions/Constants/bitwise_operators_t08.dart
@@ -14,13 +14,15 @@
/// @description Checks that it is a compile-time error when an expression of
/// the form e1 >>> e2 where e1 or e2 does not evaluate to an integer value, is
/// used to initialize a constant variable.
-/// @compile-error
/// @author iarkh@unipro.ru
// SharedOptions=--enable-experiment=triple-shift
final constList = const [
true >>> 25
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
];
main() {
diff --git a/Language/Expressions/Constants/constant_constructor_t03.dart b/Language/Expressions/Constants/constant_constructor_t03.dart
index aea517e..74e3925 100644
--- a/Language/Expressions/Constants/constant_constructor_t03.dart
+++ b/Language/Expressions/Constants/constant_constructor_t03.dart
@@ -10,7 +10,6 @@
/// prefix.
/// @description Checks that a value created using constant constructor with
/// a deferred prefix is not a constant expression.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -23,8 +22,13 @@
}
final constList = const [
+// ^
+// [cfe] unspecified
const A(),
const clib.A()
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
];
main() {
diff --git a/Language/Expressions/Constants/constant_list_t02.dart b/Language/Expressions/Constants/constant_list_t02.dart
index b8bb17c..87d1eab 100644
--- a/Language/Expressions/Constants/constant_list_t02.dart
+++ b/Language/Expressions/Constants/constant_list_t02.dart
@@ -9,13 +9,15 @@
/// • A constant list literal.
/// @description Checks that a non-constant list literal cannot be assigned to
/// a constant variable.
-/// @compile-error
/// @author iefremov
/// @reviewer rodionov
var nonconstant = [1, 2, 3];
const a = nonconstant;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/constant_map_t02.dart b/Language/Expressions/Constants/constant_map_t02.dart
index 64211d3..f9482fe 100644
--- a/Language/Expressions/Constants/constant_map_t02.dart
+++ b/Language/Expressions/Constants/constant_map_t02.dart
@@ -10,11 +10,13 @@
/// @description Checks that a non-constant map literal cannot be assigned to
/// a constant variable.
/// @author iefremov
-/// @compile-error
var b = {"a" : "b"};
const a = b;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/depending_on_itself_t01.dart b/Language/Expressions/Constants/depending_on_itself_t01.dart
index 6ee6ab5..9d4bed7 100644
--- a/Language/Expressions/Constants/depending_on_itself_t01.dart
+++ b/Language/Expressions/Constants/depending_on_itself_t01.dart
@@ -6,10 +6,12 @@
/// constant expression depends on itself.
/// @description Checks that it is a compile-time error if a constant variable
/// is initialized with itself.
-/// @compile-error
const m = m;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/depending_on_itself_t03.dart b/Language/Expressions/Constants/depending_on_itself_t03.dart
index 88a6d7b..814497d 100644
--- a/Language/Expressions/Constants/depending_on_itself_t03.dart
+++ b/Language/Expressions/Constants/depending_on_itself_t03.dart
@@ -6,13 +6,15 @@
/// constant expression depends on itself.
/// @description Checks that it is a compile-time error if a final instance
/// field depends on a const constructor and vice versa.
-/// @compile-error
/// @author iefremov
class A {
const A();
final m = const A();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Constants/equals_expression_t02.dart b/Language/Expressions/Constants/equals_expression_t02.dart
index 888aaad..31c8967 100644
--- a/Language/Expressions/Constants/equals_expression_t02.dart
+++ b/Language/Expressions/Constants/equals_expression_t02.dart
@@ -12,7 +12,6 @@
/// @description Checks that an expression of the form e1 == e2 cannot be used
/// to initialize a constant variable if e1 does not evaluate to a numeric,
/// string or boolean value.
-/// @compile-error
/// @author iefremov
@@ -22,6 +21,9 @@
final a = const A();
const m = (a == 1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/equals_expression_t03.dart b/Language/Expressions/Constants/equals_expression_t03.dart
index 7f1ff6b..58e845d 100644
--- a/Language/Expressions/Constants/equals_expression_t03.dart
+++ b/Language/Expressions/Constants/equals_expression_t03.dart
@@ -12,7 +12,6 @@
/// @description Checks that it is a compile-time error when an expression of
/// the form e1 == e2 where e1 does not evaluate to a numeric, string or boolean
/// value, is used to initialize a constant variable.
-/// @compile-error
/// @author kaigorodov
@@ -22,7 +21,11 @@
}
final constList = const [
+// ^
+// [cfe] unspecified
const A() == "hello",
+// ^
+// [analyzer] unspecified
];
main() {
diff --git a/Language/Expressions/Constants/exception_t01.dart b/Language/Expressions/Constants/exception_t01.dart
index fc8617a..25595f5 100644
--- a/Language/Expressions/Constants/exception_t01.dart
+++ b/Language/Expressions/Constants/exception_t01.dart
@@ -6,11 +6,13 @@
/// constant expression but its evaluation would raise an exception.
/// @description Checks that an IntegerDivisionByZeroException raised during
/// evaluation of a compile-time constant causes a compile-time error.
-/// @compile-error
/// @author iefremov
const m = 1 % 0;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/exception_t02.dart b/Language/Expressions/Constants/exception_t02.dart
index ac04ab9..20d53e5 100644
--- a/Language/Expressions/Constants/exception_t02.dart
+++ b/Language/Expressions/Constants/exception_t02.dart
@@ -7,10 +7,12 @@
/// @description Checks that an Exception raised during evaluation of
/// a compile-time constant causes a compile-time error.
/// @author iefremov
-/// @compile-error
const m = 1 ~/ 0;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
print(m);
diff --git a/Language/Expressions/Constants/exception_t03.dart b/Language/Expressions/Constants/exception_t03.dart
index e6699a3..400af18 100644
--- a/Language/Expressions/Constants/exception_t03.dart
+++ b/Language/Expressions/Constants/exception_t03.dart
@@ -6,7 +6,6 @@
/// constant expression but its evaluation would raise an exception.
/// @description Checks that a NoSuchMethodError raised during evaluation of a
/// compile-time constant causes a compile-time error.
-/// @compile-error
/// @author iefremov
@@ -16,6 +15,9 @@
}
const m = const A(const []);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
print(m);
diff --git a/Language/Expressions/Constants/exception_t04.dart b/Language/Expressions/Constants/exception_t04.dart
index 0ab8fa2..ff9f811 100644
--- a/Language/Expressions/Constants/exception_t04.dart
+++ b/Language/Expressions/Constants/exception_t04.dart
@@ -6,7 +6,6 @@
/// constant expression but its evaluation would raise an exception.
/// @description Checks that using null in a boolean constant expression is a
/// compile-time error.
-/// @compile-error
/// @author kaigorodov
@@ -14,10 +13,15 @@
final g;
const C() :
g = true && null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
try {
const C();
+// ^
+// [analyzer] unspecified
} catch (ok) {} // NPEs and whatnot
}
diff --git a/Language/Expressions/Constants/exception_t05.dart b/Language/Expressions/Constants/exception_t05.dart
index 703deea..c5ce2a0 100644
--- a/Language/Expressions/Constants/exception_t05.dart
+++ b/Language/Expressions/Constants/exception_t05.dart
@@ -6,7 +6,6 @@
/// constant expression but its evaluation would raise an exception.
/// @description Checks that using null in a shift constant expression is a
/// Scompile-time error.
-/// @compile-error
/// @author kaigorodov
@@ -15,10 +14,15 @@
const C() :
m = null >> 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
try {
const C();
+// ^
+// [analyzer] unspecified
} catch (ok) {} // NPEs and whatnot
}
diff --git a/Language/Expressions/Constants/identical_t02.dart b/Language/Expressions/Constants/identical_t02.dart
index 09b4fae..95fdc9f 100644
--- a/Language/Expressions/Constants/identical_t02.dart
+++ b/Language/Expressions/Constants/identical_t02.dart
@@ -11,7 +11,6 @@
/// function identical() discussed above.
/// @description Checks that if identical() is redefined, its invocation is not
/// a constant expressions.
-/// @compile-error
/// @author kaigorodov
@@ -23,6 +22,9 @@
final constList = const [
identical("a", "b"),
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
];
main() {
diff --git a/Language/Expressions/Constants/identical_t03.dart b/Language/Expressions/Constants/identical_t03.dart
index fbe327f..86a1ba3 100644
--- a/Language/Expressions/Constants/identical_t03.dart
+++ b/Language/Expressions/Constants/identical_t03.dart
@@ -11,12 +11,14 @@
/// function identical() discussed above.
/// @description Checks that identical() with non constant expressions is not a
/// constant expression.
-/// @compile-error
/// @author ilya
var x;
const y = identical(x, x);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
print(y);
diff --git a/Language/Expressions/Constants/identifier_denotes_a_constant_t03.dart b/Language/Expressions/Constants/identifier_denotes_a_constant_t03.dart
index 84eb757..a655e22 100644
--- a/Language/Expressions/Constants/identifier_denotes_a_constant_t03.dart
+++ b/Language/Expressions/Constants/identifier_denotes_a_constant_t03.dart
@@ -11,13 +11,15 @@
/// not qualified by a deferred prefix.
/// @description Checks that an identifier expression that denotes a type
/// parameter cannot be used as const initializer.
-/// @compile-error
/// @Issue 27477
/// @author rodionov
class C<T> {
static const List lst = const [T];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Constants/identifier_denotes_a_constant_t06.dart b/Language/Expressions/Constants/identifier_denotes_a_constant_t06.dart
index 1738690..a817fae 100644
--- a/Language/Expressions/Constants/identifier_denotes_a_constant_t06.dart
+++ b/Language/Expressions/Constants/identifier_denotes_a_constant_t06.dart
@@ -11,13 +11,15 @@
/// not qualified by a deferred prefix.
/// @description Checks that a qualified identifier that denotes a class
/// accessed via a deferred prefix is not a constant expression.
-/// @compile-error
/// @author ngl@unipo.ru
import '../lib.dart' deferred as prefix;
const a = prefix.A; // class
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
a;
diff --git a/Language/Expressions/Constants/identifier_denotes_a_constant_t07.dart b/Language/Expressions/Constants/identifier_denotes_a_constant_t07.dart
index 2aea616..f4b77bb 100644
--- a/Language/Expressions/Constants/identifier_denotes_a_constant_t07.dart
+++ b/Language/Expressions/Constants/identifier_denotes_a_constant_t07.dart
@@ -11,13 +11,15 @@
/// not qualified by a deferred prefix.
/// @description Checks that a qualified identifier that denotes a type alias
/// accessed via a deferred prefix is not a constant expression.
-/// @compile-error
/// @author ngl@unipo.ru
import '../lib.dart' deferred as prefix;
const b = prefix.B; // type alias
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
b;
diff --git a/Language/Expressions/Constants/integer_size_t01.dart b/Language/Expressions/Constants/integer_size_t01.dart
index 6057646..f3277b6 100644
--- a/Language/Expressions/Constants/integer_size_t01.dart
+++ b/Language/Expressions/Constants/integer_size_t01.dart
@@ -6,10 +6,12 @@
/// compile-time error unless -2^63 <= i <= 2^64
/// @description Checks that it is a compile error if a hexadecimal integer
/// literal with numeric value more than 2^64
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() {
var i = 0x7FFFFFFFFFFFFFFF0;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Constants/integer_size_t02.dart b/Language/Expressions/Constants/integer_size_t02.dart
index 46716db..440917e 100644
--- a/Language/Expressions/Constants/integer_size_t02.dart
+++ b/Language/Expressions/Constants/integer_size_t02.dart
@@ -6,10 +6,12 @@
/// compile-time error unless -2^63 <= i <= 2^64
/// @description Checks that it is a compile error if a hexadecimal integer
/// literal with numeric value less than -2^63
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() {
var i = 0x80000000000000000;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Constants/literal_string_t02.dart b/Language/Expressions/Constants/literal_string_t02.dart
index 178279c..fe66fb5 100644
--- a/Language/Expressions/Constants/literal_string_t02.dart
+++ b/Language/Expressions/Constants/literal_string_t02.dart
@@ -12,10 +12,12 @@
/// that is a constant expression not evaluated to numeric, string or boolean
/// value, cannot be assigned to a constant variable.
/// @author iefremov
-/// @compile-error
const l = "${const {'k1': 1, 'k2': 2}}";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/literal_string_t03.dart b/Language/Expressions/Constants/literal_string_t03.dart
index 3e1feaa..2e4b646 100644
--- a/Language/Expressions/Constants/literal_string_t03.dart
+++ b/Language/Expressions/Constants/literal_string_t03.dart
@@ -11,13 +11,15 @@
/// @description Checks that a string literal that involves string interpolation,
/// that evaluates to a numeric value, but not a constant expression,
/// cannot be assigned to a constant variable.
-/// @compile-error
/// @author msyabro
foo() => 1;
const i1 = "${foo()}";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/literal_string_t05.dart b/Language/Expressions/Constants/literal_string_t05.dart
index bbe3202..6a71cee 100644
--- a/Language/Expressions/Constants/literal_string_t05.dart
+++ b/Language/Expressions/Constants/literal_string_t05.dart
@@ -11,11 +11,13 @@
/// @description Checks that a string literal that involves string interpolation,
/// that evaluates to a string value, but not a constant expression, cannot be
/// assigned to a constant variable.
-/// @compile-error
/// @author msyabro
const i1 = "${1.toString()}";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/logical_expression_t02.dart b/Language/Expressions/Constants/logical_expression_t02.dart
index 08c71ea..56d66c9 100644
--- a/Language/Expressions/Constants/logical_expression_t02.dart
+++ b/Language/Expressions/Constants/logical_expression_t02.dart
@@ -10,11 +10,13 @@
/// and e2 are constant expressions that evaluate to a boolean value.
/// @description Checks that an expression of the form !e cannot be used to
/// initialize a constant variable if e does not evaluate to a boolean value.
-/// @compile-error
/// @author iefremov
const m = !1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/logical_expression_t03.dart b/Language/Expressions/Constants/logical_expression_t03.dart
index 1ce2f16..6e4cdb9 100644
--- a/Language/Expressions/Constants/logical_expression_t03.dart
+++ b/Language/Expressions/Constants/logical_expression_t03.dart
@@ -10,11 +10,13 @@
/// and e2 are constant expressions that evaluate to a boolean value.
/// @description Checks that an expression of the form e1 || e2 cannot be used
/// to initialize a constant variable if e2 is integer.
-/// @compile-error
/// @author iefremov
const m = (true || 0);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/logical_expression_t04.dart b/Language/Expressions/Constants/logical_expression_t04.dart
index 9b5c9f7..54c9759 100644
--- a/Language/Expressions/Constants/logical_expression_t04.dart
+++ b/Language/Expressions/Constants/logical_expression_t04.dart
@@ -11,12 +11,14 @@
/// @description Checks that it is a compile-time error when an expression of
/// the form e1 && e2 where e1 or e2 does not evaluate to a boolean value, is
/// used to initialize a constant variable.
-/// @compile-error
/// @author kaigorodov
final constList = const [
true && 1,
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
];
main() {
diff --git a/Language/Expressions/Constants/math_operators_t02.dart b/Language/Expressions/Constants/math_operators_t02.dart
index 616aa36..837668a 100644
--- a/Language/Expressions/Constants/math_operators_t02.dart
+++ b/Language/Expressions/Constants/math_operators_t02.dart
@@ -13,11 +13,13 @@
/// constant expressions that evaluate to a numeric value or to null.
/// @description Checks that an expression of the form e1 + e2 cannot be used to
/// initialize a constant variable if e1 is integer and e2 is a string.
-/// @compile-error
/// @author iefremov
const m = 1 + "";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/math_operators_t03.dart b/Language/Expressions/Constants/math_operators_t03.dart
index fe0f7e1..6f110f7 100644
--- a/Language/Expressions/Constants/math_operators_t03.dart
+++ b/Language/Expressions/Constants/math_operators_t03.dart
@@ -13,11 +13,13 @@
/// constant expressions that evaluate to a numeric value or to null.
/// @description Checks that an expression of the form e1 - e2 cannot be used to
/// initialize a constant variable if e2 is string.
-/// @compile-error
/// @author iefremov
const m = 1 - "1";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/math_operators_t04.dart b/Language/Expressions/Constants/math_operators_t04.dart
index 37674e9..dfaaac3 100644
--- a/Language/Expressions/Constants/math_operators_t04.dart
+++ b/Language/Expressions/Constants/math_operators_t04.dart
@@ -13,11 +13,13 @@
/// constant expressions that evaluate to a numeric value or to null.
/// @description Checks that an expression of the form e1 <= e2 cannot be used
/// to initialize a constant variable if e1 is a string.
-/// @compile-error
/// @author iefremov
const m = "1" <= 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/math_operators_t05.dart b/Language/Expressions/Constants/math_operators_t05.dart
index 59c541c..cc15677 100644
--- a/Language/Expressions/Constants/math_operators_t05.dart
+++ b/Language/Expressions/Constants/math_operators_t05.dart
@@ -14,11 +14,13 @@
/// @description Checks that it is a compile-time error when an expression of
/// the form e1 + e2 where e1 or e2 does not evaluate to a numeric value, is
/// used to initialize a constant variable.
-/// @compile-error
final constList = const [
true + 1,
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
];
main() {
diff --git a/Language/Expressions/Constants/no_other_constant_expressions_t06.dart b/Language/Expressions/Constants/no_other_constant_expressions_t06.dart
index efb3c83..5bb879e 100644
--- a/Language/Expressions/Constants/no_other_constant_expressions_t06.dart
+++ b/Language/Expressions/Constants/no_other_constant_expressions_t06.dart
@@ -5,12 +5,14 @@
/// @assertion There are no other constant expressions.
/// @description Checks that a new expression cannot be used to initialize
/// a constant variable.
-/// @compile-error
/// @author iefremov
class A {}
const a = new A();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/no_other_constant_expressions_t07.dart b/Language/Expressions/Constants/no_other_constant_expressions_t07.dart
index 2feef60..c34d14f 100644
--- a/Language/Expressions/Constants/no_other_constant_expressions_t07.dart
+++ b/Language/Expressions/Constants/no_other_constant_expressions_t07.dart
@@ -5,7 +5,6 @@
/// @assertion There are no other constant expressions.
/// @description Checks that a new expression invoking a const constructor
/// cannot be used to initialize a constant variable.
-/// @compile-error
/// @author iefremov
@@ -13,6 +12,9 @@
const A();
}
const a = new A();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/no_other_constant_expressions_t08.dart b/Language/Expressions/Constants/no_other_constant_expressions_t08.dart
index dbb12c7..f02a4db 100644
--- a/Language/Expressions/Constants/no_other_constant_expressions_t08.dart
+++ b/Language/Expressions/Constants/no_other_constant_expressions_t08.dart
@@ -5,7 +5,6 @@
/// @assertion There are no other constant expressions.
/// @description Checks that a property extraction expression cannot be used to
/// initialize a constant variable.
-/// @compile-error
/// @author iefremov
@@ -16,6 +15,9 @@
final a = const A();
const m = a.m;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/no_other_constant_expressions_t09.dart b/Language/Expressions/Constants/no_other_constant_expressions_t09.dart
index 0648b3a..eaf41c5 100644
--- a/Language/Expressions/Constants/no_other_constant_expressions_t09.dart
+++ b/Language/Expressions/Constants/no_other_constant_expressions_t09.dart
@@ -5,7 +5,6 @@
/// @assertion There are no other constant expressions.
/// @description Checks that a method invocation expression cannot be used to
/// initialize a constant variable.
-/// @compile-error
/// @author iefremov
@@ -16,6 +15,9 @@
final a = const A();
const m = a.m();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/no_other_constant_expressions_t10.dart b/Language/Expressions/Constants/no_other_constant_expressions_t10.dart
index e50426c..ba3e361 100644
--- a/Language/Expressions/Constants/no_other_constant_expressions_t10.dart
+++ b/Language/Expressions/Constants/no_other_constant_expressions_t10.dart
@@ -5,7 +5,6 @@
/// @assertion There are no other constant expressions.
/// @description Checks that a method invocation expression cannot be used to
/// initialize a constant variable.
-/// @compile-error
/// @author iefremov
@@ -14,6 +13,9 @@
}
const m = A.m();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/no_other_constant_expressions_t11.dart b/Language/Expressions/Constants/no_other_constant_expressions_t11.dart
index 504cbfe..5ceb2e5 100644
--- a/Language/Expressions/Constants/no_other_constant_expressions_t11.dart
+++ b/Language/Expressions/Constants/no_other_constant_expressions_t11.dart
@@ -5,7 +5,6 @@
/// @assertion There are no other constant expressions.
/// @description Checks that a getter invocation expression cannot be used to
/// initialize a constant variable.
-/// @compile-error
/// @author iefremov
@@ -14,6 +13,9 @@
}
const m = A.m;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/no_other_constant_expressions_t12.dart b/Language/Expressions/Constants/no_other_constant_expressions_t12.dart
index bb32a16..bdfce10 100644
--- a/Language/Expressions/Constants/no_other_constant_expressions_t12.dart
+++ b/Language/Expressions/Constants/no_other_constant_expressions_t12.dart
@@ -5,7 +5,6 @@
/// @assertion There are no other constant expressions.
/// @description Checks that a getter invocation expression cannot be used to
/// initialize a constant variable.
-/// @compile-error
/// @author iefremov
@@ -16,6 +15,9 @@
final a = const A();
const m = a.m;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/no_other_constant_expressions_t13.dart b/Language/Expressions/Constants/no_other_constant_expressions_t13.dart
index f8374ba..8a2ef9a 100644
--- a/Language/Expressions/Constants/no_other_constant_expressions_t13.dart
+++ b/Language/Expressions/Constants/no_other_constant_expressions_t13.dart
@@ -5,12 +5,14 @@
/// @assertion There are no other constant expressions.
/// @description Checks that an assignment expression cannot be used to
/// initialize a constant variable.
-/// @compile-error
/// @author iefremov
var a;
const m = (a = 1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/no_other_constant_expressions_t14.dart b/Language/Expressions/Constants/no_other_constant_expressions_t14.dart
index 075dfc0..656cbef 100644
--- a/Language/Expressions/Constants/no_other_constant_expressions_t14.dart
+++ b/Language/Expressions/Constants/no_other_constant_expressions_t14.dart
@@ -5,7 +5,6 @@
/// @assertion There are no other constant expressions.
/// @description Checks that an assignment expression cannot be used to
/// initialize a constant variable.
-/// @compile-error
/// @author iefremov
@@ -15,6 +14,9 @@
}
const m = ((const A()).z = 1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/no_other_constant_expressions_t15.dart b/Language/Expressions/Constants/no_other_constant_expressions_t15.dart
index 615a1e5..09e3a18 100644
--- a/Language/Expressions/Constants/no_other_constant_expressions_t15.dart
+++ b/Language/Expressions/Constants/no_other_constant_expressions_t15.dart
@@ -5,7 +5,6 @@
/// @assertion There are no other constant expressions.
/// @description Checks that a compound assignment expression cannot be used to
/// initialize a constant variable.
-/// @compile-error
/// @author iefremov
@@ -15,6 +14,9 @@
}
const m = ((const A()).z *= 1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/no_other_constant_expressions_t18.dart b/Language/Expressions/Constants/no_other_constant_expressions_t18.dart
index 2e9547e..84aba40 100644
--- a/Language/Expressions/Constants/no_other_constant_expressions_t18.dart
+++ b/Language/Expressions/Constants/no_other_constant_expressions_t18.dart
@@ -5,12 +5,14 @@
/// @assertion There are no other constant expressions.
/// @description Checks that a postfix increment expression cannot be used to
/// initialize a constant variable.
-/// @compile-error
/// @author iefremov
var a = 1;
const m = a++;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/no_other_constant_expressions_t20.dart b/Language/Expressions/Constants/no_other_constant_expressions_t20.dart
index 490de17..bc6682a 100644
--- a/Language/Expressions/Constants/no_other_constant_expressions_t20.dart
+++ b/Language/Expressions/Constants/no_other_constant_expressions_t20.dart
@@ -5,12 +5,14 @@
/// @assertion There are no other constant expressions.
/// @description Checks that a prefix decrement expression cannot be used to
/// initialize a constant variable.
-/// @compile-error
/// @author iefremov
var a = 1;
const m = --a;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/no_other_constant_expressions_t21.dart b/Language/Expressions/Constants/no_other_constant_expressions_t21.dart
index 001296b..f1dfe96 100644
--- a/Language/Expressions/Constants/no_other_constant_expressions_t21.dart
+++ b/Language/Expressions/Constants/no_other_constant_expressions_t21.dart
@@ -5,12 +5,14 @@
/// @assertion There are no other constant expressions.
/// @description Checks that a prefix increment expression cannot be used to
/// initialize a constant variable.
-/// @compile-error
/// @author iefremov
var a = 1;
const m = ++a;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/no_other_constant_expressions_t31.dart b/Language/Expressions/Constants/no_other_constant_expressions_t31.dart
index a24ffdf..c82f50e 100644
--- a/Language/Expressions/Constants/no_other_constant_expressions_t31.dart
+++ b/Language/Expressions/Constants/no_other_constant_expressions_t31.dart
@@ -5,12 +5,14 @@
/// @assertion There are no other constant expressions.
/// @description Checks that a postfix decrement expression cannot be used to
/// initialize a constant variable.
-/// @compile-error
/// @author iefremov
var a = 1;
const m = a--;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/static_constant_t02.dart b/Language/Expressions/Constants/static_constant_t02.dart
index cf00f16..b969556 100644
--- a/Language/Expressions/Constants/static_constant_t02.dart
+++ b/Language/Expressions/Constants/static_constant_t02.dart
@@ -10,13 +10,15 @@
/// by a deferred prefix.
/// @description Checks that a reference to a final variable cannot be assigned
/// to a constant variable.
-/// @compile-error
/// @author msyabro
final x = 1;
const i1 = x;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/static_constant_t03.dart b/Language/Expressions/Constants/static_constant_t03.dart
index 4045637..b29b43e 100644
--- a/Language/Expressions/Constants/static_constant_t03.dart
+++ b/Language/Expressions/Constants/static_constant_t03.dart
@@ -10,7 +10,6 @@
/// by a deferred prefix.
/// @description Checks that a reference to a static final variable cannot be
/// assigned to a constant variable.
-/// @compile-error
/// @author msyabro
@@ -19,6 +18,9 @@
}
const i1 = x;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/static_constant_t04.dart b/Language/Expressions/Constants/static_constant_t04.dart
index dc947c7..f5c5216 100644
--- a/Language/Expressions/Constants/static_constant_t04.dart
+++ b/Language/Expressions/Constants/static_constant_t04.dart
@@ -10,12 +10,14 @@
/// by a deferred prefix.
/// @description Checks that a reference to a non-constant top-level variable
/// cannot be used to initialize a constant variable.
-/// @compile-error
/// @author iefremov
var a = 1;
const m = a;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/static_constant_t06.dart b/Language/Expressions/Constants/static_constant_t06.dart
index 78d465f..3f727ea 100644
--- a/Language/Expressions/Constants/static_constant_t06.dart
+++ b/Language/Expressions/Constants/static_constant_t06.dart
@@ -10,7 +10,6 @@
/// by a deferred prefix.
/// @description Checks that a qualified reference with a deferred prefix to a
/// static constant variable cannot be used as a constant expression.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -20,8 +19,14 @@
const x = '';
const constList = const [
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
x,
clib.yy
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
];
main() {
diff --git a/Language/Expressions/Constants/static_constant_t07.dart b/Language/Expressions/Constants/static_constant_t07.dart
index fff4624..7be0f37 100644
--- a/Language/Expressions/Constants/static_constant_t07.dart
+++ b/Language/Expressions/Constants/static_constant_t07.dart
@@ -10,7 +10,6 @@
/// by a deferred prefix.
/// @description Checks that a qualified reference with a deferred prefix to a
/// static constant class variable cannot be used as a constant expression.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -24,8 +23,14 @@
}
const constList = const [
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
x,
clib.C.y,
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
C.y
];
diff --git a/Language/Expressions/Constants/static_method_t02.dart b/Language/Expressions/Constants/static_method_t02.dart
index 0ec0410..ec33080 100644
--- a/Language/Expressions/Constants/static_method_t02.dart
+++ b/Language/Expressions/Constants/static_method_t02.dart
@@ -10,7 +10,6 @@
/// method that is not qualified by a deferred prefix.
/// @description Checks that an identifier denoting an instance method is not
/// a constant expression.
-/// @compile-error
/// @author kaigorodov
@@ -19,6 +18,9 @@
test() {
var list = const [m]; //a constant list can contain only constant expressions
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Constants/static_method_t03.dart b/Language/Expressions/Constants/static_method_t03.dart
index 9f7e345..c39f400 100644
--- a/Language/Expressions/Constants/static_method_t03.dart
+++ b/Language/Expressions/Constants/static_method_t03.dart
@@ -10,12 +10,14 @@
/// method that is not qualified by a deferred prefix.
/// @description Checks that an identifier denoting a local function is not a
/// constant expression.
-/// @compile-error
/// @author ilya
main() {
f() {
const v = f;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Constants/string_length_t02.dart b/Language/Expressions/Constants/string_length_t02.dart
index 207896e..4461d01 100644
--- a/Language/Expressions/Constants/string_length_t02.dart
+++ b/Language/Expressions/Constants/string_length_t02.dart
@@ -10,7 +10,6 @@
/// evaluates to a string value.
/// @description Checks that an expression of the form e.length cannot be used
/// to initialize a constant variable if e isn't constant expression.
-/// @compile-error
/// @issue #24940
/// @author ngl@unipro.ru
@@ -19,6 +18,9 @@
String m = "abc";
const l = m.length;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
Expect.isTrue(l is int);
diff --git a/Language/Expressions/Constants/string_length_t03.dart b/Language/Expressions/Constants/string_length_t03.dart
index 650d900..5992f43 100644
--- a/Language/Expressions/Constants/string_length_t03.dart
+++ b/Language/Expressions/Constants/string_length_t03.dart
@@ -10,7 +10,6 @@
/// evaluates to a string value.
/// @description Checks that an expression of the form e.length cannot be used
/// to initialize a constant variable if e isn't constant expression.
-/// @compile-error
/// @Issue #24940
/// @author ngl@unipro.ru
@@ -19,6 +18,9 @@
const Object o = "ab" + "cd";
const l = o.toString().length;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
Expect.isTrue(l is int);
diff --git a/Language/Expressions/Constants/ternary_operator_t02.dart b/Language/Expressions/Constants/ternary_operator_t02.dart
index a9271fb..e78166f 100644
--- a/Language/Expressions/Constants/ternary_operator_t02.dart
+++ b/Language/Expressions/Constants/ternary_operator_t02.dart
@@ -10,12 +10,14 @@
/// expressions and e1 evaluates to a boolean value.
/// @description Checks that if e1 does not evaluate to boolean then conditional
/// expression is not a constant expression.
-/// @compile-error
/// @author ilya
const x = true;
const y = null ? true : 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
y;
diff --git a/Language/Expressions/Constants/top_level_function_t01.dart b/Language/Expressions/Constants/top_level_function_t01.dart
index 00903f1..6fd7573 100644
--- a/Language/Expressions/Constants/top_level_function_t01.dart
+++ b/Language/Expressions/Constants/top_level_function_t01.dart
@@ -10,11 +10,13 @@
/// method that is not qualified by a deferred prefix.
/// @description Checks that a function literal cannot be assigned to a constant
/// variable.
-/// @compile-error
/// @author iefremov
const a = () {};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/top_level_function_t02.dart b/Language/Expressions/Constants/top_level_function_t02.dart
index ed58c84..33bcf27 100644
--- a/Language/Expressions/Constants/top_level_function_t02.dart
+++ b/Language/Expressions/Constants/top_level_function_t02.dart
@@ -10,11 +10,13 @@
/// method that is not qualified by a deferred prefix.
/// @description Checks that a function literal cannot be assigned to a constant
/// variable.
-/// @compile-error
/// @author iefremov
const a = () => null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Constants/top_level_function_t04.dart b/Language/Expressions/Constants/top_level_function_t04.dart
index 774a88f..fc97b0a 100644
--- a/Language/Expressions/Constants/top_level_function_t04.dart
+++ b/Language/Expressions/Constants/top_level_function_t04.dart
@@ -11,13 +11,15 @@
/// @description Checks that a qualified identifier denoting a top-level
/// function accessed via a deferred prefix cannot be assigned to a constant
/// variable.
-/// @compile-error
/// @author ngl@unipro.ru
import 'constants_lib.dart' deferred as clib;
const c = clib.F;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
c;
diff --git a/Language/Expressions/Constants/top_level_function_t05.dart b/Language/Expressions/Constants/top_level_function_t05.dart
index 5c26ff5..8936ec5 100644
--- a/Language/Expressions/Constants/top_level_function_t05.dart
+++ b/Language/Expressions/Constants/top_level_function_t05.dart
@@ -10,13 +10,15 @@
/// method that is not qualified by a deferred prefix.
/// @description Checks that a qualified identifier denoting a a static method
/// accessed via a deferred prefix cannot be assigned to a constant variable.
-/// @compile-error
/// @author ngl@unipro.ru
import 'constants_lib.dart' deferred as clib;
const d = clib.B.M;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
d;
diff --git a/Language/Expressions/Equality/static_type_t01.dart b/Language/Expressions/Equality/static_type_t01.dart
index 1ae0540..fa32856 100644
--- a/Language/Expressions/Equality/static_type_t01.dart
+++ b/Language/Expressions/Equality/static_type_t01.dart
@@ -4,7 +4,6 @@
/// @assertion The static type of an equality expression is bool.
/// @description Checks that static type of an equality expression is bool.
-/// @static-clean
/// @author msyabro
diff --git a/Language/Expressions/Equality/static_type_t02.dart b/Language/Expressions/Equality/static_type_t02.dart
index bb20a90..c954c40 100644
--- a/Language/Expressions/Equality/static_type_t02.dart
+++ b/Language/Expressions/Equality/static_type_t02.dart
@@ -4,10 +4,12 @@
/// @assertion The static type of an equality expression is bool.
/// @description Checks that static type of an equality expression is not int.
-/// @compile-error
/// @author kaigorodov
main() {
int b = (1 == 1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Equality/syntax_t02.dart b/Language/Expressions/Equality/syntax_t02.dart
index 69d0d6c..090edf1 100644
--- a/Language/Expressions/Equality/syntax_t02.dart
+++ b/Language/Expressions/Equality/syntax_t02.dart
@@ -15,7 +15,6 @@
/// an equality operator on either super or an expression e1, with argument e2.
/// @description Checks that super can be used only as the first operand
/// of an equality expression.
-/// @compile-error
/// @author msyabro
@@ -25,6 +24,9 @@
test() {
try {
1 == super;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
}
diff --git a/Language/Expressions/Equality/syntax_t03.dart b/Language/Expressions/Equality/syntax_t03.dart
index ce1c4d2..a4842f0 100644
--- a/Language/Expressions/Equality/syntax_t03.dart
+++ b/Language/Expressions/Equality/syntax_t03.dart
@@ -14,12 +14,14 @@
/// An equality expression is either a relational expression, or an invocation of
/// an equality operator on either super or an expression e1, with argument e2.
/// @description Checks that an equality expression can't start with operator ==.
-/// @compile-error
/// @author msyabro
main() {
try {
== 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Equality/syntax_t04.dart b/Language/Expressions/Equality/syntax_t04.dart
index ddafe36..2a97325 100644
--- a/Language/Expressions/Equality/syntax_t04.dart
+++ b/Language/Expressions/Equality/syntax_t04.dart
@@ -14,12 +14,14 @@
/// An equality expression is either a relational expression, or an invocation of
/// an equality operator on either super or an expression e1, with argument e2.
/// @description Checks that an equality expression can't start with operator !=.
-/// @compile-error
/// @author msyabro
main() {
try {
!= true;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Equality/syntax_t07.dart b/Language/Expressions/Equality/syntax_t07.dart
index ac2e52e..fcc0485 100644
--- a/Language/Expressions/Equality/syntax_t07.dart
+++ b/Language/Expressions/Equality/syntax_t07.dart
@@ -15,12 +15,14 @@
/// an equality operator on either super or an expression e1, with argument e2.
/// @description Checks that an equality expression can't terminate with
/// operator ==.
-/// @compile-error
/// @author msyabro
main() {
try {
1 ==;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Equality/syntax_t08.dart b/Language/Expressions/Equality/syntax_t08.dart
index a12fab4..e4679e5 100644
--- a/Language/Expressions/Equality/syntax_t08.dart
+++ b/Language/Expressions/Equality/syntax_t08.dart
@@ -15,12 +15,14 @@
/// an equality operator on either super or an expression e1, with argument e2.
/// @description Checks that an equality expression can't terminate with
/// operator !=.
-/// @compile-error
/// @author msyabro
main() {
try {
1 !=;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Equality/syntax_t11.dart b/Language/Expressions/Equality/syntax_t11.dart
index bdadcbc..54419ac 100644
--- a/Language/Expressions/Equality/syntax_t11.dart
+++ b/Language/Expressions/Equality/syntax_t11.dart
@@ -14,12 +14,14 @@
/// An equality expression is either a relational expression, or an invocation of
/// an equality operator on either super or an expression e1, with argument e2.
/// @description Checks that two operators == can't be placed one after another.
-/// @compile-error
/// @author msyabro
main() {
try {
1 == == 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Equality/syntax_t12.dart b/Language/Expressions/Equality/syntax_t12.dart
index c745c8a..aa64979 100644
--- a/Language/Expressions/Equality/syntax_t12.dart
+++ b/Language/Expressions/Equality/syntax_t12.dart
@@ -14,12 +14,14 @@
/// An equality expression is either a relational expression, or an invocation of
/// an equality operator on either super or an expression e1, with argument e2.
/// @description Checks that two operators != can't be placed one after another.
-/// @compile-error
/// @author msyabro
main() {
try {
1 != != "";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Equality/syntax_t15.dart b/Language/Expressions/Equality/syntax_t15.dart
index 2f5d0b3..1aa31c3 100644
--- a/Language/Expressions/Equality/syntax_t15.dart
+++ b/Language/Expressions/Equality/syntax_t15.dart
@@ -15,12 +15,14 @@
/// an equality operator on either super or an expression e1, with argument e2.
/// @description Checks that equality expressions cannot be operands of another
/// equality expression.
-/// @compile-error
/// @author msyabro
main() {
try {
1 == 2 == 3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Equality/syntax_t16.dart b/Language/Expressions/Equality/syntax_t16.dart
index 3feca76..ea0aff2 100644
--- a/Language/Expressions/Equality/syntax_t16.dart
+++ b/Language/Expressions/Equality/syntax_t16.dart
@@ -15,12 +15,14 @@
/// an equality operator on either super or an expression e1, with argument e2.
/// @description Checks that equality expressions cannot be operands of another
/// equality expression.
-/// @compile-error
/// @author msyabro
main() {
try {
1 != 2 != 3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Function_Expressions/static_type_dynamic_async_t01.dart b/Language/Expressions/Function_Expressions/static_type_dynamic_async_t01.dart
index ac5244e..e9a7b96 100644
--- a/Language/Expressions/Function_Expressions/static_type_dynamic_async_t01.dart
+++ b/Language/Expressions/Function_Expressions/static_type_dynamic_async_t01.dart
@@ -11,7 +11,6 @@
/// (T1 a1,...,Tn an, [Tn+1 xn+1 = d1,...,Tn+k xn+k = dk]) async {s} may be
/// assigned to function type variables with Future return type and
/// corresponding parameter types.
-/// @static-clean
/// @author ngl@unipro.ru
diff --git a/Language/Expressions/Function_Expressions/static_type_dynamic_async_t03.dart b/Language/Expressions/Function_Expressions/static_type_dynamic_async_t03.dart
index 591c832..9047a8b 100644
--- a/Language/Expressions/Function_Expressions/static_type_dynamic_async_t03.dart
+++ b/Language/Expressions/Function_Expressions/static_type_dynamic_async_t03.dart
@@ -11,7 +11,6 @@
/// the form (T1 a1,...,Tn an, [Tn+1 xn+1 = d1,...,Tn+k xn+k = dk]) async {s}
/// with two parameters is assigned to a variable of a function type with the
/// same parameters and int return type.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -19,4 +18,7 @@
main() {
futureFuncParam ffp1 = (int p1, [int? p2]) async { return 5; };
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Expressions/static_type_dynamic_asyncs_t01.dart b/Language/Expressions/Function_Expressions/static_type_dynamic_asyncs_t01.dart
index 7519c3c..cb14af0 100644
--- a/Language/Expressions/Function_Expressions/static_type_dynamic_asyncs_t01.dart
+++ b/Language/Expressions/Function_Expressions/static_type_dynamic_asyncs_t01.dart
@@ -11,7 +11,6 @@
/// (T1 a1,...,Tn an, [Tn+1 xn+1 = d1,...,Tn+k xn+k = dk]) async* {s} may be
/// assigned to function type variables with Stream return type and
/// corresponding parameter types.
-/// @static-clean
/// @author ngl@unipro.ru
diff --git a/Language/Expressions/Function_Expressions/static_type_dynamic_asyncs_t03.dart b/Language/Expressions/Function_Expressions/static_type_dynamic_asyncs_t03.dart
index bd8b72b..c3857fb 100644
--- a/Language/Expressions/Function_Expressions/static_type_dynamic_asyncs_t03.dart
+++ b/Language/Expressions/Function_Expressions/static_type_dynamic_asyncs_t03.dart
@@ -11,7 +11,6 @@
/// the form (T1 a1,...,Tn an, [Tn+1 xn+1 = d1,...,Tn+k xn+k = dk]) async* {s}
/// with two parameters is assigned to a variable of a function type with the
/// same parameters and Future return type.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -21,4 +20,7 @@
main() {
streamFuncParam sfp1 = (int p1, [bool? p2]) async* {};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Expressions/static_type_dynamic_syncs_t01.dart b/Language/Expressions/Function_Expressions/static_type_dynamic_syncs_t01.dart
index e46c3fc..a0478b1 100644
--- a/Language/Expressions/Function_Expressions/static_type_dynamic_syncs_t01.dart
+++ b/Language/Expressions/Function_Expressions/static_type_dynamic_syncs_t01.dart
@@ -11,7 +11,6 @@
/// (T1 a1,...,Tn an, [Tn+1 xn+1 = d1,...,Tn+k xn+k = dk]) sync* {s} may be
/// assigned to function type variables with Iterable return type and
/// corresponding parameter types.
-/// @static-clean
/// @author ngl@unipro.ru
diff --git a/Language/Expressions/Function_Expressions/static_type_dynamic_syncs_t03.dart b/Language/Expressions/Function_Expressions/static_type_dynamic_syncs_t03.dart
index 7d68ac4..6e514de 100644
--- a/Language/Expressions/Function_Expressions/static_type_dynamic_syncs_t03.dart
+++ b/Language/Expressions/Function_Expressions/static_type_dynamic_syncs_t03.dart
@@ -11,7 +11,6 @@
/// the form (T1 a1,...,Tn an, [Tn+1 xn+1 = d1,...,Tn+k xn+k = dk]) sync* {s}
/// with two parameters is assigned to a variable of a function type with the
/// same parameters and Future return type.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -21,4 +20,7 @@
main() {
iterFuncParam ifp1 = (int p1, [List? p2]) sync* {};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Expressions/static_type_dynamic_t01.dart b/Language/Expressions/Function_Expressions/static_type_dynamic_t01.dart
index f987d60..eab00a3 100644
--- a/Language/Expressions/Function_Expressions/static_type_dynamic_t01.dart
+++ b/Language/Expressions/Function_Expressions/static_type_dynamic_t01.dart
@@ -12,7 +12,6 @@
/// (T1,...,Tn, [Tn+1 xn+1,...,Tn+k xn+k]) -> dynamic and that wherever
/// an argument type of a function literal is not specified, it is considered
/// to have been specified as dynamic.
-/// @static-clean
/// @author msyabro
diff --git a/Language/Expressions/Function_Expressions/static_type_dynamic_t02.dart b/Language/Expressions/Function_Expressions/static_type_dynamic_t02.dart
index 419adb6..e11dce6 100644
--- a/Language/Expressions/Function_Expressions/static_type_dynamic_t02.dart
+++ b/Language/Expressions/Function_Expressions/static_type_dynamic_t02.dart
@@ -11,7 +11,6 @@
/// function literal of the form
/// (T1 a1,...,Tn an, [Tn+1 xn+1 = d1,...,Tn+k xn+k = dk]) {s}
/// to a variable of a function type with incompatible parameter types.
-/// @compile-error
/// @author msyabro
/// @reviewer rodionov
@@ -20,4 +19,7 @@
main() {
foo f = (int x, int y, [double? a, double? b]) {};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Expressions/static_type_dynamic_t03.dart b/Language/Expressions/Function_Expressions/static_type_dynamic_t03.dart
index 4d2b7d0..8658f8b 100644
--- a/Language/Expressions/Function_Expressions/static_type_dynamic_t03.dart
+++ b/Language/Expressions/Function_Expressions/static_type_dynamic_t03.dart
@@ -11,10 +11,12 @@
/// function literal of the form
/// (T1 a1,...,Tn an, [Tn+1 xn+1 = d1,...,Tn+k xn+k = dk]) {s}
/// to a variable whose type is not a function type.
-/// @compile-error
/// @author msyabro
main() {
bool b = (int x, int y, [double? a, double b = 0.5]) { var x = 0; ++x; return ++x; };
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Expressions/static_type_dynamic_t04.dart b/Language/Expressions/Function_Expressions/static_type_dynamic_t04.dart
index f88b894..afbf55e 100644
--- a/Language/Expressions/Function_Expressions/static_type_dynamic_t04.dart
+++ b/Language/Expressions/Function_Expressions/static_type_dynamic_t04.dart
@@ -11,11 +11,13 @@
/// function literal of the form
/// (T1 a1,...,Tn an, [Tn+1 xn+1 = d1,...,Tn+k xn+k = dk]) {s}
/// to a variable of a function type with incompatible parameter types.
-/// @compile-error
/// @author msyabro
typedef int? foo(int x, String y, [double? a, double? b]);
main() {
foo f = (int x, int y, [double? a, double? b]) {};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Expressions/static_type_dynamic_t05.dart b/Language/Expressions/Function_Expressions/static_type_dynamic_t05.dart
index 62032bf..01f7529 100644
--- a/Language/Expressions/Function_Expressions/static_type_dynamic_t05.dart
+++ b/Language/Expressions/Function_Expressions/static_type_dynamic_t05.dart
@@ -11,10 +11,12 @@
/// function literal of the form
/// (T1 a1,...,Tn an, [Tn+1 xn+1 = d1,...,Tn+k xn+k = dk]) {s}
/// to a variable whose type is not a function type.
-/// @compile-error
/// @author msyabro
main() {
bool b = (int x, int y, [double? a, double? b]) { var x = 0; ++x; return ++x; };
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Expressions/static_type_form_1_async_t01.dart b/Language/Expressions/Function_Expressions/static_type_form_1_async_t01.dart
index daf2577..4c3ab82 100644
--- a/Language/Expressions/Function_Expressions/static_type_form_1_async_t01.dart
+++ b/Language/Expressions/Function_Expressions/static_type_form_1_async_t01.dart
@@ -14,7 +14,6 @@
/// @description Checks that the static type of function literal of the form
/// (T1 a1,...,Tn an, [Tn+1 xn+1 = d1,...,Tn+k xn+k = dk]) async => e is
/// (T1,...,Tn, [Tn+1 xn+1,...,Tn+k xn+k]) -> Future <flatten(T0)>.
-/// @static-clean
/// @author ngl@unipro
diff --git a/Language/Expressions/Function_Expressions/static_type_form_1_async_t03.dart b/Language/Expressions/Function_Expressions/static_type_form_1_async_t03.dart
index 66664fe..bfed57e 100644
--- a/Language/Expressions/Function_Expressions/static_type_form_1_async_t03.dart
+++ b/Language/Expressions/Function_Expressions/static_type_form_1_async_t03.dart
@@ -15,7 +15,6 @@
/// the form (T1 a1,...,Tn an, [Tn+1 xn+1 = d1,...,Tn+k xn+k = dk]) async => e,
/// where the type of e is int is assigned to a variable of a function type with
/// a Future<bool> return type.
-/// @compile-error
/// @author ngl@unipro
@@ -25,4 +24,7 @@
main() {
boolFunc intf = () async => 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Expressions/static_type_form_1_t01.dart b/Language/Expressions/Function_Expressions/static_type_form_1_t01.dart
index 6ca80f0..51d7210 100644
--- a/Language/Expressions/Function_Expressions/static_type_form_1_t01.dart
+++ b/Language/Expressions/Function_Expressions/static_type_form_1_t01.dart
@@ -12,7 +12,6 @@
/// (T1 a1,...,Tn an, [Tn+1 xn+1 = d1,...,Tn+k xn+k = dk]) => e or
/// id(T1 a1,...,Tn an, [Tn+1 xn+1 = d1,...,Tn+k xn+k = dk]) => e
/// is (T1,...,Tn, [Tn+1 xn+1,...,Tn+k xn+k]) -> T0.
-/// @static-clean
/// @author msyabro
diff --git a/Language/Expressions/Function_Expressions/static_type_form_1_t02.dart b/Language/Expressions/Function_Expressions/static_type_form_1_t02.dart
index 0a5703f..1cc15dc 100644
--- a/Language/Expressions/Function_Expressions/static_type_form_1_t02.dart
+++ b/Language/Expressions/Function_Expressions/static_type_form_1_t02.dart
@@ -12,7 +12,6 @@
/// function literal of the form
/// (T1 a1,...,Tn an, [Tn+1 xn+1 = d1,...,Tn+k xn+k = dk]) => e where the type
/// of e is int to a variable of a function type with a boolean return type.
-/// @compile-error
/// @author msyabro
@@ -22,4 +21,7 @@
main() {
f = (int x, int y, [double? a, double? b]) => 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Expressions/static_type_form_1_t03.dart b/Language/Expressions/Function_Expressions/static_type_form_1_t03.dart
index b4d922c..a6a09ed 100644
--- a/Language/Expressions/Function_Expressions/static_type_form_1_t03.dart
+++ b/Language/Expressions/Function_Expressions/static_type_form_1_t03.dart
@@ -12,7 +12,6 @@
/// function literal of the form
/// (T1 a1,...,Tn an, [Tn+1 xn+1 = d1,...,Tn+k xn+k = dk]) => e where the type
/// of e is int to a variable of a function type with incompatible parameters.
-/// @compile-error
/// @author msyabro
@@ -20,4 +19,7 @@
main() {
foo f = (int x, int y, [double? a, double? b]) => 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Expressions/static_type_form_1_t04.dart b/Language/Expressions/Function_Expressions/static_type_form_1_t04.dart
index c2ed0f7..b18f75f 100644
--- a/Language/Expressions/Function_Expressions/static_type_form_1_t04.dart
+++ b/Language/Expressions/Function_Expressions/static_type_form_1_t04.dart
@@ -12,10 +12,12 @@
/// function literal of the form
/// (T1 a1,...,Tn an, [Tn+1 xn+1 = d1,...,Tn+k xn+k = dk]) => e
/// to a variable whose type is not a function type.
-/// @compile-error
/// @author msyabro
main() {
bool b = (int x, int y, [double? a, double? b]) => 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Expressions/static_type_form_2_async_t01.dart b/Language/Expressions/Function_Expressions/static_type_form_2_async_t01.dart
index c17a29c..15213d3 100644
--- a/Language/Expressions/Function_Expressions/static_type_form_2_async_t01.dart
+++ b/Language/Expressions/Function_Expressions/static_type_form_2_async_t01.dart
@@ -11,7 +11,6 @@
/// @description Checks that the static type of function literal of the form
/// (T1 a1,...,Tn an, {Tn+1 xn+1: d1,...,Tn+k xn+k: dk}) async => e is
/// (T1,...,Tn, {Tn+1 xn+1,...,Tn+k xn+k}) -> Future<flatten(T0)>.
-/// @static-clean
/// @author ngl@unipro.ru
diff --git a/Language/Expressions/Function_Expressions/static_type_form_2_async_t03.dart b/Language/Expressions/Function_Expressions/static_type_form_2_async_t03.dart
index d4f3bec..09642d5 100644
--- a/Language/Expressions/Function_Expressions/static_type_form_2_async_t03.dart
+++ b/Language/Expressions/Function_Expressions/static_type_form_2_async_t03.dart
@@ -12,7 +12,6 @@
/// the form (T1 a1,...,Tn an, {Tn+1 xn+1 = d1,...,Tn+k xn+k = dk}) async => e,
/// where the type of e is bool is assigned to a variable of a function type
/// with a Future<int> return type.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -22,4 +21,7 @@
main() {
boolFuncParam bfp = (bool p1, {bool? p2}) async => false;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Expressions/static_type_form_2_t01.dart b/Language/Expressions/Function_Expressions/static_type_form_2_t01.dart
index 10af267..1670456 100644
--- a/Language/Expressions/Function_Expressions/static_type_form_2_t01.dart
+++ b/Language/Expressions/Function_Expressions/static_type_form_2_t01.dart
@@ -12,7 +12,6 @@
/// (T1 a1,...,Tn an, {Tn+1 xn+1: d1,...,Tn+k xn+k: dk}) => e or
/// id(T1 a1,...,Tn an, {Tn+1 xn+1: d1,...,Tn+k xn+k: dk}) => e is
/// (T1,...,Tn, {Tn+1 xn+1,...,Tn+k xn+k}) -> T0.
-/// @static-clean
/// @author kaigorodov
diff --git a/Language/Expressions/Function_Expressions/static_type_form_2_t02.dart b/Language/Expressions/Function_Expressions/static_type_form_2_t02.dart
index 8bee6a8..9e48f0b 100644
--- a/Language/Expressions/Function_Expressions/static_type_form_2_t02.dart
+++ b/Language/Expressions/Function_Expressions/static_type_form_2_t02.dart
@@ -13,7 +13,6 @@
/// (T1 a1,...,Tn an, {Tn+1 xn+1: d1,...,Tn+k xn+k: dk}) => e where
/// the type of e is int to a variable of a function type with a boolean return
/// type.
-/// @compile-error
/// @author kaigorodov
@@ -23,4 +22,7 @@
main() {
f = (int x, int y, {double? a, double? b}) => 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Expressions/static_type_form_2_t03.dart b/Language/Expressions/Function_Expressions/static_type_form_2_t03.dart
index f45b014..7657e6a 100644
--- a/Language/Expressions/Function_Expressions/static_type_form_2_t03.dart
+++ b/Language/Expressions/Function_Expressions/static_type_form_2_t03.dart
@@ -13,7 +13,6 @@
/// (T1 a1,...,Tn an, {Tn+1 xn+1: d1, ... ,Tn+k xn+k: dk}) => e
/// where the type of e is int to a variable of a function type with
/// incompatible parameters.
-/// @compile-error
/// @author kaigorodov
@@ -21,4 +20,7 @@
main() {
foo f = (int x, int y, {double? a, double? b}) => 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Expressions/static_type_form_2_t04.dart b/Language/Expressions/Function_Expressions/static_type_form_2_t04.dart
index dca61d8..7626dd9 100644
--- a/Language/Expressions/Function_Expressions/static_type_form_2_t04.dart
+++ b/Language/Expressions/Function_Expressions/static_type_form_2_t04.dart
@@ -12,10 +12,12 @@
/// function literal of the form
/// (T1 a1,...,Tn an, {Tn+1 xn+1: d1,...,Tn+k xn+k: dk}) => e
/// to a variable whose type is not a function type.
-/// @compile-error
/// @author kaigorodov
main() {
bool b = (int x, int y, {double? a, double? b}) => 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Expressions/static_type_form_3_async_t01.dart b/Language/Expressions/Function_Expressions/static_type_form_3_async_t01.dart
index fa4e617..d332fa1 100644
--- a/Language/Expressions/Function_Expressions/static_type_form_3_async_t01.dart
+++ b/Language/Expressions/Function_Expressions/static_type_form_3_async_t01.dart
@@ -11,7 +11,6 @@
/// (T1 a1,...,Tn an, {Tn+1 xn+1: d1,...,Tn+k xn+k: dk}) async {s} may be
/// assigned to a function type variables with Future return type and
/// corresponding parameter types.
-/// @static-clean
/// @author ngl@unipro.ru
diff --git a/Language/Expressions/Function_Expressions/static_type_form_3_async_t03.dart b/Language/Expressions/Function_Expressions/static_type_form_3_async_t03.dart
index fb91347..78eb12a 100644
--- a/Language/Expressions/Function_Expressions/static_type_form_3_async_t03.dart
+++ b/Language/Expressions/Function_Expressions/static_type_form_3_async_t03.dart
@@ -11,7 +11,6 @@
/// of the form (T1 a1,...,Tn an, {Tn+1 xn+1 = d1,...,Tn+k xn+k = dk}) async {s}
/// with two parameters is assigned to a variable of a function type with the
/// same parameters and int return type.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -19,4 +18,7 @@
main() {
futureFunc ff1 = (int p1, {int? p2}) async { return 2; };
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Expressions/static_type_form_3_asyncs_t01.dart b/Language/Expressions/Function_Expressions/static_type_form_3_asyncs_t01.dart
index 599bf64..d66959b 100644
--- a/Language/Expressions/Function_Expressions/static_type_form_3_asyncs_t01.dart
+++ b/Language/Expressions/Function_Expressions/static_type_form_3_asyncs_t01.dart
@@ -11,7 +11,6 @@
/// (T1 a1,...,Tn an, {Tn+1 xn+1: d1,...,Tn+k xn+k: dk]) async* {s} may be
/// assigned to function type variables with Stream return type and
/// corresponding parameter types.
-/// @static-clean
/// @author ngl@unipro.ru
diff --git a/Language/Expressions/Function_Expressions/static_type_form_3_asyncs_t03.dart b/Language/Expressions/Function_Expressions/static_type_form_3_asyncs_t03.dart
index d32a48f..74568e8 100644
--- a/Language/Expressions/Function_Expressions/static_type_form_3_asyncs_t03.dart
+++ b/Language/Expressions/Function_Expressions/static_type_form_3_asyncs_t03.dart
@@ -11,7 +11,6 @@
/// of the form (T1 a1,...,Tn an, {Tn+1 xn+1 = d1,...,Tn+k xn+k = dk}) async* {s}
/// with two parameters is assigned to a variable of a function type with the
/// same parameters and Future return type.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -21,4 +20,7 @@
main() {
funcParam sfp1 = (int p1, {bool? p2}) async* {};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Expressions/static_type_form_3_syncs_t01.dart b/Language/Expressions/Function_Expressions/static_type_form_3_syncs_t01.dart
index cd5c80f..df413aa 100644
--- a/Language/Expressions/Function_Expressions/static_type_form_3_syncs_t01.dart
+++ b/Language/Expressions/Function_Expressions/static_type_form_3_syncs_t01.dart
@@ -11,7 +11,6 @@
/// (T1 a1,...,Tn an, {Tn+1 xn+1: d1,...,Tn+k xn+k: dk]) sync* {s} may be
/// assigned to function type variables with Iterable return type and
/// corresponding parameter types.
-/// @static-clean
/// @author ngl@unipro.ru
diff --git a/Language/Expressions/Function_Expressions/static_type_form_3_syncs_t02.dart b/Language/Expressions/Function_Expressions/static_type_form_3_syncs_t02.dart
index 864507f..5a009e5 100644
--- a/Language/Expressions/Function_Expressions/static_type_form_3_syncs_t02.dart
+++ b/Language/Expressions/Function_Expressions/static_type_form_3_syncs_t02.dart
@@ -11,7 +11,6 @@
/// of the form (T1 a1,...,Tn an, {Tn+1 xn+1 = d1,...,Tn+k xn+k = dk}) sync* {s}
/// with two parameters is assigned to a variable of a function type with
/// parameters that do not correspond to function literal parameters.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -19,4 +18,7 @@
main() {
iterFuncParam ifp1 = (List p1, {Map? p2}) sync* {};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Expressions/static_type_form_3_syncs_t03.dart b/Language/Expressions/Function_Expressions/static_type_form_3_syncs_t03.dart
index 8dae30e..a2c0429 100644
--- a/Language/Expressions/Function_Expressions/static_type_form_3_syncs_t03.dart
+++ b/Language/Expressions/Function_Expressions/static_type_form_3_syncs_t03.dart
@@ -11,7 +11,6 @@
/// of the form (T1 a1,...,Tn an, {Tn+1 xn+1 = d1,...,Tn+k xn+k = dk}) sync* {s}
/// with two parameters is assigned to a variable of a function type with the
/// same parameters and Future return type.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -21,4 +20,7 @@
main() {
iterFuncParam ifp1 = (List p1, {List? p2}) sync* {};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Expressions/static_type_form_3_t01.dart b/Language/Expressions/Function_Expressions/static_type_form_3_t01.dart
index 9669ddb..9758441 100644
--- a/Language/Expressions/Function_Expressions/static_type_form_3_t01.dart
+++ b/Language/Expressions/Function_Expressions/static_type_form_3_t01.dart
@@ -12,7 +12,6 @@
/// (T1,...,Tn, {Tn+1 xn+1,...,Tn+k xn+k}) -> dynamic and that wherever
/// an argument type of a function literal is not specified, it is considered
/// to have been specified as dynamic.
-/// @static-clean
/// @author kaigorodov
diff --git a/Language/Expressions/Function_Expressions/static_type_form_3_t02.dart b/Language/Expressions/Function_Expressions/static_type_form_3_t02.dart
index 4a8cac1..9d777c1 100644
--- a/Language/Expressions/Function_Expressions/static_type_form_3_t02.dart
+++ b/Language/Expressions/Function_Expressions/static_type_form_3_t02.dart
@@ -11,7 +11,6 @@
/// function literal of the form
/// (T1 a1,...,Tn an, {Tn+1 xn+1: d1,...,Tn+k xn+k: dk}) {s}
/// to a variable of a function type with incompatible parameter types.
-/// @compile-error
/// @author kaigorodov
@@ -19,4 +18,7 @@
main() {
foo f = (int x, int y, {double? a, double? b}) { return 13; };
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Expressions/static_type_form_3_t03.dart b/Language/Expressions/Function_Expressions/static_type_form_3_t03.dart
index b9d9518..7ebd0f0 100644
--- a/Language/Expressions/Function_Expressions/static_type_form_3_t03.dart
+++ b/Language/Expressions/Function_Expressions/static_type_form_3_t03.dart
@@ -11,10 +11,12 @@
/// function literal of the form
/// (T1 a1,...,Tn an, {Tn+1 xn+1: d1,...,Tn+k xn+k: dk}) {s}
/// to a variable whose type is not a function type.
-/// @compile-error
/// @author kaigorodov
main() {
bool b = (int x, int y, {double a = 1, double b = 2}) { var x = 0; ++x; return ++x; };
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Expressions/static_type_form_3_t04.dart b/Language/Expressions/Function_Expressions/static_type_form_3_t04.dart
index 046b35f..4da28aa 100644
--- a/Language/Expressions/Function_Expressions/static_type_form_3_t04.dart
+++ b/Language/Expressions/Function_Expressions/static_type_form_3_t04.dart
@@ -11,7 +11,6 @@
/// function literal of the form
/// (T1 a1,...,Tn an, {Tn+1 xn+1: d1,...,Tn+k xn+k: dk}) {s}
/// to a variable of a function type with incompatible parameter types.
-/// @compile-error
/// @author kaigorodov
@@ -19,4 +18,7 @@
main() {
foo f = (int x, int y, {double? a, double? b}) { return 0; };
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Expressions/syntax_t03.dart b/Language/Expressions/Function_Expressions/syntax_t03.dart
index 0bf9a28..3d4fab1 100644
--- a/Language/Expressions/Function_Expressions/syntax_t03.dart
+++ b/Language/Expressions/Function_Expressions/syntax_t03.dart
@@ -8,12 +8,14 @@
/// formalParameterList functionExpressionBody
/// ;
/// @description Checks that the function body is required.
-/// @compile-error
/// @author msyabro
main() {
try {
(p1, p2);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Function_Expressions/syntax_t04.dart b/Language/Expressions/Function_Expressions/syntax_t04.dart
index 0f44b94..799dc85 100644
--- a/Language/Expressions/Function_Expressions/syntax_t04.dart
+++ b/Language/Expressions/Function_Expressions/syntax_t04.dart
@@ -9,10 +9,12 @@
/// ;
/// @description Checks that the parameter list is required in the form
/// ['=>' expression ';'].
-/// @compile-error
/// @author msyabro
main() {
var func = => 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Expressions/syntax_t06.dart b/Language/Expressions/Function_Expressions/syntax_t06.dart
index 8252cde..7b1ce1b 100644
--- a/Language/Expressions/Function_Expressions/syntax_t06.dart
+++ b/Language/Expressions/Function_Expressions/syntax_t06.dart
@@ -9,7 +9,6 @@
/// ;
/// @description Checks that expression is necessary in the form
/// ['=>' expression ';']
-/// @compile-error
/// @author kaigorodov
@@ -20,5 +19,8 @@
main() {
try {
f(void func() =>);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (x) {}
}
diff --git a/Language/Expressions/Function_Invocation/Actual_Argument_List_Evaluation/syntax_t02.dart b/Language/Expressions/Function_Invocation/Actual_Argument_List_Evaluation/syntax_t02.dart
index 3da091d..e3f461b 100644
--- a/Language/Expressions/Function_Invocation/Actual_Argument_List_Evaluation/syntax_t02.dart
+++ b/Language/Expressions/Function_Invocation/Actual_Argument_List_Evaluation/syntax_t02.dart
@@ -17,7 +17,6 @@
/// ;
/// @description Checks that it is a compile-time error when named arguments
/// precede positional arguments in a function invocation expression.
-/// @compile-error
/// @author msyabro
@@ -26,5 +25,8 @@
main() {
try {
func(p2: 1, 2);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Function_Invocation/Actual_Argument_List_Evaluation/syntax_t03.dart b/Language/Expressions/Function_Invocation/Actual_Argument_List_Evaluation/syntax_t03.dart
index 5fc3ced..32a6e5c 100644
--- a/Language/Expressions/Function_Invocation/Actual_Argument_List_Evaluation/syntax_t03.dart
+++ b/Language/Expressions/Function_Invocation/Actual_Argument_List_Evaluation/syntax_t03.dart
@@ -17,7 +17,6 @@
/// ;
/// @description Checks that it is a compile-time error if named arguments are
/// placed between positional arguments in a function invocation expression.
-/// @compile-error
/// @author msyabro
@@ -26,5 +25,8 @@
main() {
try {
func(1, p2: 1, 2);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Function_Invocation/Actual_Argument_List_Evaluation/syntax_t04.dart b/Language/Expressions/Function_Invocation/Actual_Argument_List_Evaluation/syntax_t04.dart
index 71434f7..0774699 100644
--- a/Language/Expressions/Function_Invocation/Actual_Argument_List_Evaluation/syntax_t04.dart
+++ b/Language/Expressions/Function_Invocation/Actual_Argument_List_Evaluation/syntax_t04.dart
@@ -17,7 +17,6 @@
/// ;
/// @description Checks that arguments in a function invocation expression
/// must be comma-delimited.
-/// @compile-error
/// @author msyabro
@@ -26,5 +25,8 @@
main() {
try {
func(1 2);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/binding_t01.dart b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/binding_t01.dart
index 245fa4e..c69d4ef 100644
--- a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/binding_t01.dart
+++ b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/binding_t01.dart
@@ -18,7 +18,6 @@
/// All remaining formal parameters of f are bound to their default values.
/// @description Checks that it is a compile time error if the number of actual
/// parameters is less than the number of formal positional parameters.
-/// @compile-error
/// @author msyabro
@@ -26,4 +25,7 @@
main() {
func(1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/binding_t04.dart b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/binding_t04.dart
index 903b659..31f1613 100644
--- a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/binding_t04.dart
+++ b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/binding_t04.dart
@@ -19,7 +19,6 @@
/// @description Checks that it is a compile time error if the actual argument
/// list contains a named argument whose name is not among those specified in
/// the function declaration.
-/// @compile-error
/// @author msyabro
@@ -27,4 +26,7 @@
main() {
func(1, 2, p: 3);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/binding_t05.dart b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/binding_t05.dart
index 6aece20..bb2d0bc 100644
--- a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/binding_t05.dart
+++ b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/binding_t05.dart
@@ -19,7 +19,6 @@
/// @description Checks that it is a compile time error if the number of actual
/// parameters is more than the number of positional arguments specified in the
/// function declaration.
-/// @compile-error
/// @author msyabro
@@ -27,4 +26,7 @@
main() {
func(1, 2, 3, 4, 5);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/names_matching_t01.dart b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/names_matching_t01.dart
index 3b271e2..e938487 100644
--- a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/names_matching_t01.dart
+++ b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/names_matching_t01.dart
@@ -6,7 +6,6 @@
/// {pn+1, ..., pn+k} or a static warning occurs.
/// @description Checks that it is a compile error if names of an argument does
/// not match with any name of optional named parameters of a top-level function.
-/// @compile-error
/// @author msyabro
@@ -14,4 +13,7 @@
main() {
func(1, 2, p: 3);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/names_matching_t02.dart b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/names_matching_t02.dart
index dd35520..6aaed2f 100644
--- a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/names_matching_t02.dart
+++ b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/names_matching_t02.dart
@@ -6,10 +6,12 @@
/// {pn+1, ..., pn+k} or a static warning occurs.
/// @description Checks that it is a compile error if names of an argument does
/// not match with any name of optional named parameters of a function literal.
-/// @compile-error
/// @author msyabro
main() {
({p1, p2, p3}) {} (1, 2, p: 3);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/names_matching_t03.dart b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/names_matching_t03.dart
index 6827bb3..b0ae926 100644
--- a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/names_matching_t03.dart
+++ b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/names_matching_t03.dart
@@ -6,7 +6,6 @@
/// {pn+1, ..., pn+k} or a static warning occurs.
/// @description Checks that it is a compile error if names of an argument does
/// not match with any name of optional named parameters of an instance method.
-/// @compile-error
/// @author msyabro
@@ -16,4 +15,7 @@
main() {
new C().func(1, 2, p: 3);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/names_matching_t04.dart b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/names_matching_t04.dart
index 8d1a79e..0d8b47d 100644
--- a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/names_matching_t04.dart
+++ b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/names_matching_t04.dart
@@ -6,7 +6,6 @@
/// {pn+1, ..., pn+k} or a static warning occurs.
/// @description Checks that it is a compile error if names of an argument does
/// not match with any name of optional named parameters of a static method.
-/// @compile-error
/// @author msyabro
@@ -16,4 +15,7 @@
main() {
C.func(1, 2, p: 3);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t01.dart b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t01.dart
index 47f96b2..72ee791 100644
--- a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t01.dart
+++ b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t01.dart
@@ -8,7 +8,6 @@
/// It is a static warning if m < h or if m > n.
/// @description Checks that it is a compile error if the number of argument is
/// less than number of positional parameters of a top-level function.
-/// @compile-error
/// @author msyabro
@@ -16,4 +15,7 @@
main() {
func(1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t02.dart b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t02.dart
index 143f9ab..f75c85f 100644
--- a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t02.dart
+++ b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t02.dart
@@ -8,9 +8,11 @@
/// It is a static warning if m < h or if m > n.
/// @description Checks that it is a compile error if the number of argument is
/// less than number of positional parameters of a function literal.
-/// @compile-error
/// @author msyabro
main() {
(p1, p2, p3) {} (1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t03.dart b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t03.dart
index af803c5..c087e71 100644
--- a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t03.dart
+++ b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t03.dart
@@ -8,7 +8,6 @@
/// It is a static warning if m < h or if m > n.
/// @description Checks that it is a compile error if the number of argument is
/// less than number of positional parameters of an instance method.
-/// @compile-error
/// @author msyabro
@@ -18,4 +17,7 @@
main() {
new C().func(1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t04.dart b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t04.dart
index 18604d7..704b2ea 100644
--- a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t04.dart
+++ b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t04.dart
@@ -8,7 +8,6 @@
/// It is a static warning if m < h or if m > n.
/// @description Checks that it is a compile error if the number of argument is
/// less than number of positional parameters of a static method.
-/// @compile-error
/// @author msyabro
@@ -18,4 +17,7 @@
main() {
C.func(1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t05.dart b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t05.dart
index 7e2cfd7..ef6db44 100644
--- a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t05.dart
+++ b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t05.dart
@@ -8,7 +8,6 @@
/// It is a static warning if m < h or if m > n.
/// @description Checks that it is a compile error if the number of argument is
/// more than number of parameters of a top-level function.
-/// @compile-error
/// @author msyabro
@@ -16,4 +15,7 @@
main() {
func(1, 2 ,3, 4);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t06.dart b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t06.dart
index 58f79b5..fff63c5 100644
--- a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t06.dart
+++ b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t06.dart
@@ -8,10 +8,12 @@
/// It is a static warning if m < h or if m > n.
/// @description Checks that it is a compile error if the number of argument is
/// more than number of positional parameters of a function literal.
-/// @compile-error
/// @author msyabro
main() {
(p1, p2, [p3]) {} (1, 2, 3, 4);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t07.dart b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t07.dart
index 33c1c6c..08ce08f 100644
--- a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t07.dart
+++ b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t07.dart
@@ -8,7 +8,6 @@
/// It is a static warning if m < h or if m > n.
/// @description Checks that it is a compile error if the number of argument is
/// more than number of parameters of an instance method.
-/// @compile-error
/// @author msyabro
@@ -18,4 +17,7 @@
main() {
new C().func(1, 2 ,3, 4);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t08.dart b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t08.dart
index 45087a7..36cd0f8 100644
--- a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t08.dart
+++ b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/number_of_arguments_t08.dart
@@ -8,7 +8,6 @@
/// It is a static warning if m < h or if m > n.
/// @description Checks that it is a compile error if more actual arguments
/// than there're formal parameters are provided to a static method invocation.
-/// @compile-error
/// @author msyabro
@@ -18,4 +17,7 @@
main() {
C.func(1, 2 ,3, 4);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/optional_parameter_type_t01.dart b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/optional_parameter_type_t01.dart
index 1d94b95..c80ae16 100644
--- a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/optional_parameter_type_t01.dart
+++ b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/optional_parameter_type_t01.dart
@@ -9,7 +9,6 @@
/// @description Checks that it is a compile error if the type of an actual
/// argument may not be assigned to the type of an optional parameter of a
/// top-level function.
-/// @compile-error
/// @author msyabro
@@ -17,4 +16,7 @@
main() {
func('');
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/optional_parameter_type_t02.dart b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/optional_parameter_type_t02.dart
index 2ad935c..8815799 100644
--- a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/optional_parameter_type_t02.dart
+++ b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/optional_parameter_type_t02.dart
@@ -9,11 +9,13 @@
/// @description Checks that it is a compile error if the type of an actual
/// argument may not be assigned to the type of an optional parameter of a
/// function literal.
-/// @compile-error
/// @author msyabro
main() {
var f = () => ([int? x]) {};
f('');
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/optional_parameter_type_t03.dart b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/optional_parameter_type_t03.dart
index bcfc1b6..23a156d 100644
--- a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/optional_parameter_type_t03.dart
+++ b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/optional_parameter_type_t03.dart
@@ -9,7 +9,6 @@
/// @description Checks that it is a compile error if the type of an actual
/// argument may not be assigned to the type of an optional parameter of an
/// instance method.
-/// @compile-error
/// @author msyabro
@@ -18,6 +17,9 @@
test() {
func ('');
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/optional_parameter_type_t04.dart b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/optional_parameter_type_t04.dart
index b55af8e..14fef70 100644
--- a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/optional_parameter_type_t04.dart
+++ b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/optional_parameter_type_t04.dart
@@ -9,7 +9,6 @@
/// @description Checks that it is a compile error if the type of an actual
/// argument may not be assigned to the type of an optional parameter of a
/// static method.
-/// @compile-error
/// @author msyabro
@@ -18,6 +17,9 @@
test() {
func ('');
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/same_name_arguments_t01.dart b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/same_name_arguments_t01.dart
index 1089906..cb8822e 100644
--- a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/same_name_arguments_t01.dart
+++ b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/same_name_arguments_t01.dart
@@ -5,7 +5,6 @@
/// @assertion It is a compile-time error if qi = qj for any i != j.
/// @description Checks that it is a compile-time error if there are two
/// named arguments with the same name in a function invocation expression.
-/// @compile-error
/// @author msyabro
@@ -14,5 +13,8 @@
main() {
try {
func(np1: 1, np2: 2, np2: 2);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/wrong_static_type_t01.dart b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/wrong_static_type_t01.dart
index bfbde77..663740b 100644
--- a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/wrong_static_type_t01.dart
+++ b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/wrong_static_type_t01.dart
@@ -8,7 +8,6 @@
/// @description Checks that it is a compile error if the type of an actual
/// argument may not be assigned to the type of a positional parameter of a
/// top-level function.
-/// @compile-error
/// @author msyabro
@@ -16,4 +15,7 @@
main() {
func ('');
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/wrong_static_type_t02.dart b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/wrong_static_type_t02.dart
index d316c9c..5aca072 100644
--- a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/wrong_static_type_t02.dart
+++ b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/wrong_static_type_t02.dart
@@ -8,11 +8,13 @@
/// @description Checks that it is a compile error if the type of an actual
/// argument may not be assigned to the type of a positional parameter of a
/// function literal.
-/// @compile-error
/// @author msyabro
main() {
var f = (int x) {};
f('');
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/wrong_static_type_t03.dart b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/wrong_static_type_t03.dart
index 3dbd231..8755435 100644
--- a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/wrong_static_type_t03.dart
+++ b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/wrong_static_type_t03.dart
@@ -8,7 +8,6 @@
/// @description Checks that it is a compile error if the type of an actual
/// argument may not be assigned to the type of a positional parameter of an
/// instance method.
-/// @compile-error
/// @author msyabro
@@ -16,6 +15,9 @@
foo(int x) {}
test() {
foo ('');
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/wrong_static_type_t04.dart b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/wrong_static_type_t04.dart
index 548f05b..ee714f5 100644
--- a/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/wrong_static_type_t04.dart
+++ b/Language/Expressions/Function_Invocation/Binding_Actuals_to_Formals/wrong_static_type_t04.dart
@@ -8,7 +8,6 @@
/// @description Checks that it is a compile error if the type of an actual
/// argument may not be assigned to the type of a positional parameter of a
/// static method.
-/// @compile-error
/// @author msyabro
@@ -18,4 +17,7 @@
main() {
C.foo ('');
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Function_Expression_Invocation/not_a_function_expression_t01.dart b/Language/Expressions/Function_Invocation/Function_Expression_Invocation/not_a_function_expression_t01.dart
index 86304f4..dc20760 100644
--- a/Language/Expressions/Function_Invocation/Function_Expression_Invocation/not_a_function_expression_t01.dart
+++ b/Language/Expressions/Function_Invocation/Function_Expression_Invocation/not_a_function_expression_t01.dart
@@ -10,7 +10,6 @@
/// @description Checks that the function invocation produces expected results
/// when the expression is an identifier denoting a local function, a library
/// function, a library or static getter or a variable.
-/// @static-clean
/// @author msyabro
/// @note no static warnings are expected: static type of non-Function
/// getters/variables is Dynamic
diff --git a/Language/Expressions/Function_Invocation/Function_Expression_Invocation/static_type_dynamic_t01.dart b/Language/Expressions/Function_Invocation/Function_Expression_Invocation/static_type_dynamic_t01.dart
index 2936f5c..c7e6710 100644
--- a/Language/Expressions/Function_Invocation/Function_Expression_Invocation/static_type_dynamic_t01.dart
+++ b/Language/Expressions/Function_Invocation/Function_Expression_Invocation/static_type_dynamic_t01.dart
@@ -8,7 +8,6 @@
/// F when F is a function type by verifying that the result of such function
/// invocation expression can be assigned to a variable of the same type without
/// static warnings.
-/// @static-clean
/// @author msyabro
diff --git a/Language/Expressions/Function_Invocation/Function_Expression_Invocation/static_type_dynamic_t02.dart b/Language/Expressions/Function_Invocation/Function_Expression_Invocation/static_type_dynamic_t02.dart
index b4a64a8..6664f94 100644
--- a/Language/Expressions/Function_Invocation/Function_Expression_Invocation/static_type_dynamic_t02.dart
+++ b/Language/Expressions/Function_Invocation/Function_Expression_Invocation/static_type_dynamic_t02.dart
@@ -9,11 +9,13 @@
/// if F is not a supertype of (T1, ..., Tn, [Tn+1 xn+1, ..., Tn+k xn+k]) -> ⊥.
/// @description Checks that it is a compile error if F is not a supertype
/// of (T1, ..., Tn, [Tn+1 xn+1, ..., Tn+k xn+k]) -> ⊥.
-/// @compile-error
/// @author msyabro
main() {
var f = (int p1, int p2) {};
f("", "");
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Function_Expression_Invocation/static_type_t01.dart b/Language/Expressions/Function_Invocation/Function_Expression_Invocation/static_type_t01.dart
index 6b632ce..eb4716a 100644
--- a/Language/Expressions/Function_Invocation/Function_Expression_Invocation/static_type_t01.dart
+++ b/Language/Expressions/Function_Invocation/Function_Expression_Invocation/static_type_t01.dart
@@ -6,11 +6,13 @@
/// be assigned to a function type.
/// @description Checks that it is a compile error if the static type F of ef
/// may not be assigned to a function type.
-/// @compile-error
/// @author msyabro
main() {
int e = 1;
e();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Function_Expression_Invocation/static_type_t02.dart b/Language/Expressions/Function_Invocation/Function_Expression_Invocation/static_type_t02.dart
index 8c7ddda..0057adc 100644
--- a/Language/Expressions/Function_Invocation/Function_Expression_Invocation/static_type_t02.dart
+++ b/Language/Expressions/Function_Invocation/Function_Expression_Invocation/static_type_t02.dart
@@ -6,7 +6,6 @@
/// be assigned to a function type.
/// @description Checks that there is no static warning when the static type of
/// ef is Object, dynamic or bottom.
-/// @static-clean
/// @author rodionov
import '../../../../Utils/expect.dart';
diff --git a/Language/Expressions/Function_Invocation/Unqualified_Invocation/instance_context_invocation_t01.dart b/Language/Expressions/Function_Invocation/Unqualified_Invocation/instance_context_invocation_t01.dart
index d601041..101522c 100644
--- a/Language/Expressions/Function_Invocation/Unqualified_Invocation/instance_context_invocation_t01.dart
+++ b/Language/Expressions/Function_Invocation/Unqualified_Invocation/instance_context_invocation_t01.dart
@@ -12,13 +12,15 @@
/// this.id(a1, ..., an, xn+1: an+1, ..., xn+k: an+k).
/// @description Checks that if there is no declaration and i occurs inside
/// a constructor, i is equivalent to this.id() and hence leads to compile error.
-/// @compile-error
/// @author ilya
class C {
C() {
undeclared();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Function_Invocation/Unqualified_Invocation/instance_context_invocation_t02.dart b/Language/Expressions/Function_Invocation/Unqualified_Invocation/instance_context_invocation_t02.dart
index d56588b..44a6634 100644
--- a/Language/Expressions/Function_Invocation/Unqualified_Invocation/instance_context_invocation_t02.dart
+++ b/Language/Expressions/Function_Invocation/Unqualified_Invocation/instance_context_invocation_t02.dart
@@ -13,12 +13,14 @@
/// @description Checks that if there is no declaration and i occurs inside
/// an instance method, i is equivalent to this.id()and hence leads to compile
/// error.
-/// @compile-error
/// @author ilya
class C {
test() => undeclared();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Function_Invocation/Unqualified_Invocation/instance_context_invocation_t03.dart b/Language/Expressions/Function_Invocation/Unqualified_Invocation/instance_context_invocation_t03.dart
index 81242f0..9ccf7e7 100644
--- a/Language/Expressions/Function_Invocation/Unqualified_Invocation/instance_context_invocation_t03.dart
+++ b/Language/Expressions/Function_Invocation/Unqualified_Invocation/instance_context_invocation_t03.dart
@@ -13,12 +13,14 @@
/// @description Checks that if there is no declaration and i occurs inside
/// an instance variable initializer, i is equivalent to this.id() and hence
/// leads to compile error.
-/// @compile-error
/// @author ilya
class C {
var test = undeclared(); // error: implicit access to receiver 'this'
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Function_Invocation/Unqualified_Invocation/instance_context_invocation_t04.dart b/Language/Expressions/Function_Invocation/Unqualified_Invocation/instance_context_invocation_t04.dart
index bc6c1e0..f529fef 100644
--- a/Language/Expressions/Function_Invocation/Unqualified_Invocation/instance_context_invocation_t04.dart
+++ b/Language/Expressions/Function_Invocation/Unqualified_Invocation/instance_context_invocation_t04.dart
@@ -13,13 +13,15 @@
/// @description Checks that if there is no declaration and i occurs inside
/// a constructor header, i is equivalent to this.id() and hence leads to
/// compile error.
-/// @compile-error
/// @author ilya
class C {
var x;
C() : x = undeclared(); // error: implicit access to receiver 'this'
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Function_Invocation/Unqualified_Invocation/prefix_object_invocation_t01.dart b/Language/Expressions/Function_Invocation/Unqualified_Invocation/prefix_object_invocation_t01.dart
index e2be6f0..e3a52c4 100644
--- a/Language/Expressions/Function_Invocation/Unqualified_Invocation/prefix_object_invocation_t01.dart
+++ b/Language/Expressions/Function_Invocation/Unqualified_Invocation/prefix_object_invocation_t01.dart
@@ -10,7 +10,6 @@
/// . . .
/// @description Checks that if fid is a prefix object, a compile-time error
/// occurs.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -18,4 +17,7 @@
main() {
lb("ab");
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t01.dart b/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t01.dart
index 0a3da61..0b7adf6 100644
--- a/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t01.dart
+++ b/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t01.dart
@@ -13,10 +13,12 @@
/// . . .
/// @description Checks that undeclared identifier inside a top level function
/// causes a compile time error
-/// @compile-error
/// @author kaigorodov
main() {
undeclared();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t02.dart b/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t02.dart
index 55e80bd..a15a7c0 100644
--- a/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t02.dart
+++ b/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t02.dart
@@ -14,11 +14,13 @@
/// @description Checks that if there is no declaration and i occurs in top level
/// function (of any kind) or library variable initializer, evaluation of i
/// causes a NoSuchMethodError to be thrown.
-/// @compile-error
/// @author ilya
test() => undeclared();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
test();
diff --git a/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t03.dart b/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t03.dart
index 74db57e..5839a25 100644
--- a/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t03.dart
+++ b/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t03.dart
@@ -14,13 +14,15 @@
/// @description Checks that if there is no declaration and i occurs in static
/// function (of any kind), or static variable initializer, evaluation of i
/// causes a NoSuchMethodError to be thrown.
-/// @compile-error
/// @author ilya
import '../../../../Utils/expect.dart';
class C {
static test() => undeclared();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t04.dart b/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t04.dart
index 6b6c307..e2ded9d 100644
--- a/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t04.dart
+++ b/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t04.dart
@@ -14,12 +14,14 @@
/// @description Checks that if there is no declaration and i occurs in static
/// function (of any kind), or static variable initializer, evaluation of i
/// causes a NoSuchMethodError to be thrown.
-/// @compile-error
/// @author ilya
class C {
static get test => undeclared();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t05.dart b/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t05.dart
index 4a070db..77818c1 100644
--- a/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t05.dart
+++ b/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t05.dart
@@ -14,11 +14,13 @@
/// @description Checks that if there is no declaration and i occurs in static
/// function (of any kind), or static variable initializer, evaluation of i
/// causes a NoSuchMethodError to be thrown.
-/// @compile-error
/// @author ilya
class C {
static set test (_) => undeclared();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t06.dart b/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t06.dart
index d831bcf..994304e 100644
--- a/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t06.dart
+++ b/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t06.dart
@@ -14,11 +14,13 @@
/// @description Checks that if there is no declaration and i occurs in static
/// function (of any kind), or static variable initializer, evaluation of i
/// causes a NoSuchMethodError to be thrown.
-/// @compile-error
/// @author ilya
class C {
static var test = undeclared();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t07.dart b/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t07.dart
index cca5659..15cbc07 100644
--- a/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t07.dart
+++ b/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t07.dart
@@ -14,11 +14,13 @@
/// @description Checks that if there is no declaration and i occurs in top level
/// function (of any kind) or library variable initializer, evaluation of i
/// causes a NoSuchMethodError to be thrown.
-/// @compile-error
/// @author ilya
get test => undeclared();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
test;
diff --git a/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t08.dart b/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t08.dart
index 6f5b7a9..6ef9dce 100644
--- a/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t08.dart
+++ b/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t08.dart
@@ -14,12 +14,17 @@
/// @description Checks that if there is no declaration and i occurs in top level
/// function (of any kind) or library variable initializer, evaluation of i
/// causes a NoSuchMethodError to be thrown.
-/// @compile-error
/// @author ilya
set test (_) => undeclared();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
test3 = 1;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t09.dart b/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t09.dart
index 1a82b7b..c282c38 100644
--- a/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t09.dart
+++ b/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_context_invocation_t09.dart
@@ -14,10 +14,12 @@
/// @description Checks that if there is no declaration and i occurs in top level
/// function (of any kind) or library variable initializer, evaluation of i
/// causes a NoSuchMethodError to be thrown.
-/// @compile-error
/// @author ilya
var test = undeclared();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
test;
diff --git a/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_method_invocation_t02.dart b/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_method_invocation_t02.dart
index 886768b..dbf0654 100644
--- a/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_method_invocation_t02.dart
+++ b/Language/Expressions/Function_Invocation/Unqualified_Invocation/static_method_invocation_t02.dart
@@ -13,7 +13,6 @@
/// @description Checks that if fid is a static method of the superclass S,
/// then unqualified function invocation expression should produce a
/// compile error
-/// @compile-error
/// @author iefremov
@@ -24,6 +23,9 @@
class C extends S {
test() {
m();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Identifier_Reference/async_and_generator_t03.dart b/Language/Expressions/Identifier_Reference/async_and_generator_t03.dart
index 01d9de3..be725b7 100644
--- a/Language/Expressions/Identifier_Reference/async_and_generator_t03.dart
+++ b/Language/Expressions/Identifier_Reference/async_and_generator_t03.dart
@@ -7,12 +7,14 @@
/// [async], [async*] or [sync*].
/// @description Checks that it is a compile-time error if await is used in the
/// method marked with async.
-/// @compile-error
/// @author ngl@unipro.ru
f() async {
int await = 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Identifier_Reference/async_and_generator_t04.dart b/Language/Expressions/Identifier_Reference/async_and_generator_t04.dart
index 8d87c6e..b59e4a6 100644
--- a/Language/Expressions/Identifier_Reference/async_and_generator_t04.dart
+++ b/Language/Expressions/Identifier_Reference/async_and_generator_t04.dart
@@ -7,12 +7,14 @@
/// [async], [async*] or [sync*].
/// @description Checks that it is a compile-time error if [yield\ is used in the
/// method marked with [async].
-/// @compile-error
/// @author ngl@unipro.ru
f() async {
int yield = 3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Identifier_Reference/async_and_generator_t06.dart b/Language/Expressions/Identifier_Reference/async_and_generator_t06.dart
index dea5654..b39f08c 100644
--- a/Language/Expressions/Identifier_Reference/async_and_generator_t06.dart
+++ b/Language/Expressions/Identifier_Reference/async_and_generator_t06.dart
@@ -7,12 +7,14 @@
/// [async], [async*] or [sync*].
/// @description Checks that it is a compile-time error if await is used in the
/// method marked with async*.
-/// @compile-error
/// @author ngl@unipro.ru
f() async* {
int await = 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Identifier_Reference/async_and_generator_t07.dart b/Language/Expressions/Identifier_Reference/async_and_generator_t07.dart
index a3fd3bd..b7dde37 100644
--- a/Language/Expressions/Identifier_Reference/async_and_generator_t07.dart
+++ b/Language/Expressions/Identifier_Reference/async_and_generator_t07.dart
@@ -7,12 +7,14 @@
/// [async], [async*] or [sync*].
/// @description Checks that it is a compile-time error if yield is used in the
/// method marked with async*.
-/// @compile-error
/// @author ngl@unipro.ru
f() async* {
int yield = 3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Identifier_Reference/async_and_generator_t09.dart b/Language/Expressions/Identifier_Reference/async_and_generator_t09.dart
index 020d6fb..6d2f0a0 100644
--- a/Language/Expressions/Identifier_Reference/async_and_generator_t09.dart
+++ b/Language/Expressions/Identifier_Reference/async_and_generator_t09.dart
@@ -7,12 +7,14 @@
/// [async], [async*] or [sync*].
/// @description Checks that it is a compile-time error if await is used in the
/// method marked with sync*.
-/// @compile-error
/// @author ngl@unipro.ru
f() sync* {
int await = 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Identifier_Reference/async_and_generator_t10.dart b/Language/Expressions/Identifier_Reference/async_and_generator_t10.dart
index 0791002..58d3d88 100644
--- a/Language/Expressions/Identifier_Reference/async_and_generator_t10.dart
+++ b/Language/Expressions/Identifier_Reference/async_and_generator_t10.dart
@@ -7,12 +7,14 @@
/// [async], [async*] or [sync*].
/// @description Checks that it is a compile-time error if yield is used in the
/// method marked with sync*.
-/// @compile-error
/// @author ngl@unipro.ru
f() sync* {
int yield = 3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t01.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t01.dart
index 20f183f..a0fda84 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t01.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t01.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "abstract" is used as the declared name of a class.
-/// @compile-error
/// @author rodionov
class abstract {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t03.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t03.dart
index 6713a6a..16569b4 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t03.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t03.dart
@@ -6,12 +6,17 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "abstract" is used as the declared name of a type variable.
-/// @compile-error
/// @author rodionov
class A<abstract> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is abstract;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t04.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t04.dart
index 6e416c2..c38260f 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t04.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t04.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "abstract" is used as the declared name of a type alias.
-/// @compile-error
/// @author rodionov
typedef int abstract();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t08.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t08.dart
index e75a3ce..b429199 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t08.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t08.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "dynamic" is used as the declared name of a class.
-/// @compile-error
/// @author rodionov
class dynamic {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class foo extends dynamic {}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t09.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t09.dart
index 1d3542f..f5f22bd 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t09.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t09.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "dynamic" is used as the declared name of a type variable.
-/// @compile-error
/// @author rodionov
class A<dynamic> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is dynamic;
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t10.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t10.dart
index 2a925f7..63f0967 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t10.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t10.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "dynamic" is used as the declared name of a type alias.
-/// @compile-error
/// @author rodionov
typedef int dynamic();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t11.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t11.dart
index bc3f27f..524b4a6 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t11.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t11.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "factory" is used as the declared name of a class.
-/// @compile-error
/// @author rodionov
class factory {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t12.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t12.dart
index e5fd473..98703ee 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t12.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t12.dart
@@ -6,12 +6,17 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "factory" is used as the declared name of a type variable.
-/// @compile-error
/// @author rodionov
class A<factory> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is factory;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t13.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t13.dart
index 0d00753..5020f8f 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t13.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t13.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "factory" factory is used as the declared name of a type alias.
-/// @compile-error
/// @author rodionov
typedef int factory();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t14.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t14.dart
index b73f9bd..e7950d2 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t14.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t14.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "get" is used as the declared name of a class.
-/// @compile-error
/// @author rodionov
class get {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t15.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t15.dart
index 2bc3259..2afa90b 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t15.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t15.dart
@@ -6,12 +6,17 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "get" is used as the declared name of a type variable.
-/// @compile-error
/// @author rodionov
class A<get> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is get
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t16.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t16.dart
index b0707bb..278ee64 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t16.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t16.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "get" is used as the declared name of a type alias.
-/// @compile-error
/// @author rodionov
typedef int get();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t17.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t17.dart
index bfd9275..791d509 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t17.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t17.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "implements" is used as the declared name of a class.
-/// @compile-error
/// @author rodionov
class implements {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t18.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t18.dart
index 1cc8ce8..1f48f3c 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t18.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t18.dart
@@ -6,12 +6,17 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "implements" is used as the declared name of a type variable.
-/// @compile-error
/// @author rodionov
class A<implements> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is implements;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t19.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t19.dart
index ad9b2bb..e293d7b 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t19.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t19.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "implements" is used as the declared name of a type alias.
-/// @compile-error
/// @author rodionov
typedef int implements();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t20.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t20.dart
index 5f8e0d4..cc2a486 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t20.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t20.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "operator" is used as the declared name of a class.
-/// @compile-error
/// @author rodionov
class operator {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t21.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t21.dart
index 43daead..c615572 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t21.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t21.dart
@@ -6,12 +6,17 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "operator" is used as the declared name of a type variable.
-/// @compile-error
/// @author rodionov
class A<operator> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is operator;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t22.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t22.dart
index e412fd6..9504106 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t22.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t22.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "operator" is used as the declared name of a type alias.
-/// @compile-error
/// @author rodionov
typedef int operator();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t23.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t23.dart
index cf3f88a..7b6e9f8 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t23.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t23.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "set" is used as the declared name of a class.
-/// @compile-error
/// @author rodionov
class set {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t24.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t24.dart
index 2a72b05..100c639 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t24.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t24.dart
@@ -6,12 +6,17 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "set" is used as the declared name of a type variable.
-/// @compile-error
/// @author rodionov
class A<set> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is set
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t25.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t25.dart
index a4ce543..cf473dc 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t25.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t25.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "set" is used as the declared name of a type alias.
-/// @compile-error
/// @author rodionov
typedef int set();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t26.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t26.dart
index 7df30fc..b2c781b 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t26.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t26.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "static" is used as the declared name of a class.
-/// @compile-error
/// @author rodionov
class static {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t27.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t27.dart
index d47c00f..aea465d 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t27.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t27.dart
@@ -6,12 +6,17 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "static" is used as the declared name of a type variable.
-/// @compile-error
/// @author rodionov
class A<static> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is static;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t28.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t28.dart
index e79db43..67f3ddb 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t28.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t28.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "static" is used as the declared name of a type alias.
-/// @compile-error
/// @author rodionov
typedef int static();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t29.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t29.dart
index 15dd734..85f3bb9 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t29.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t29.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "typedef" is used as the declared name of a class.
-/// @compile-error
/// @author rodionov
class typedef {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t30.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t30.dart
index c43a125..3b49b35 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t30.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t30.dart
@@ -6,12 +6,17 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "typedef" is used as the declared name of a type variable.
-/// @compile-error
/// @author rodionov
class A<typedef> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is typedef;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t31.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t31.dart
index b5f32ec..a596735 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t31.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t31.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "typedef" is used as the declared name of a type alias.
-/// @compile-error
/// @author rodionov
typedef int typedef();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t32.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t32.dart
index 40a9994..c6cd4e6 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t32.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t32.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "as" is used as the declared name of a class.
-/// @compile-error
/// @author ngl@unipro.ru
class as {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t33.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t33.dart
index 31f31b4..500e4d3 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t33.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t33.dart
@@ -6,12 +6,17 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "as" is used as the declared name of a type variable.
-/// @compile-error
/// @author ngl@unipro.ru
class A<as> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is as;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t34.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t34.dart
index 053df8d..dbb40f1 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t34.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t34.dart
@@ -6,10 +6,12 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "as" is used as the declared name of a type alias.
-/// @compile-error
/// @author ngl@unipro.ru
typedef int as();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t35.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t35.dart
index 9ee31c7..762fbbf 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t35.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t35.dart
@@ -6,12 +6,14 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "deferred" is used as the declared name of a class.
-/// @compile-error
/// @author ngl@unipro.ru
/// @issue 25732
class deferred {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t36.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t36.dart
index 5f8f4ac..c9fa1ac 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t36.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t36.dart
@@ -7,12 +7,17 @@
/// @description Checks that it is a compile-time error if a built-in identifier
/// "deferred" is used as the declared name of a type variable.
/// @issue 25732
-/// @compile-error
/// @author ngl@unipro.ru
class A<deferred> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is deferred;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t37.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t37.dart
index 1504766..c552d46 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t37.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t37.dart
@@ -7,11 +7,13 @@
/// @description Checks that it is a compile-time error if a built-in identifier
/// "deferred" is used as the declared name of a type alias.
/// @issue 25732
-/// @compile-error
/// @author ngl@unipro.ru
typedef int deferred();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t38.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t38.dart
index d710ffe..046ddf9 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t38.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t38.dart
@@ -7,10 +7,12 @@
/// @description Checks that it is a compile-time error if a built-in identifier
/// "export" is used as the declared name of a class.
/// @author ngl@unipro.ru
-/// @compile-error
class export {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t39.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t39.dart
index 606d8f6..3d1eabc 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t39.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t39.dart
@@ -6,12 +6,17 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "export" is used as the declared name of a type variable.
-/// @compile-error
/// @author ngl@unipro.ru
class A<export> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is export;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t40.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t40.dart
index c7d657b..df47729 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t40.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t40.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "export" is used as the declared name of a type alias.
-/// @compile-error
/// @author ngl@unipro.ru
typedef int export();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t41.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t41.dart
index aa7db84..1974825 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t41.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t41.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "external" is used as the declared name of a class.
-/// @compile-error
/// @author ngl@unipro.ru
class external {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t42.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t42.dart
index 4b139dc..fdf9a40 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t42.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t42.dart
@@ -6,12 +6,17 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "external" is used as the declared name of a type variable.
-/// @compile-error
/// @author ngl@unipro.ru
class A<external> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is external;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t43.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t43.dart
index d9a6a25..c1519c5 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t43.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t43.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "external" is used as the declared name of a type alias.
-/// @compile-error
/// @author ngl@unipro.ru
typedef int external();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t44.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t44.dart
index 28e8f11..65368dd 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t44.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t44.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "import" is used as the declared name of a class.
-/// @compile-error
/// @author ngl@unipro.ru
class import {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t45.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t45.dart
index eaa2279..a5792d3 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t45.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t45.dart
@@ -6,12 +6,17 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "import" is used as the declared name of a type variable.
-/// @compile-error
/// @author ngl@unipro.ru
class A<import> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is import;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t46.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t46.dart
index d780ceb..ca37ad5 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t46.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t46.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "import" is used as the declared name of a type alias.
-/// @compile-error
/// @author ngl@unipro.ru
typedef int import();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t47.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t47.dart
index 89b6957..677a7bb 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t47.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t47.dart
@@ -6,12 +6,17 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "library" is used as the declared name of a class.
-/// @compile-error
/// @author ngl@unipro.ru
class library {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is library;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t48.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t48.dart
index 78f0bfc..9bf355e 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t48.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t48.dart
@@ -6,12 +6,17 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "library" is used as the declared name of a type variable.
-/// @compile-error
/// @author ngl@unipro.ru
class A<library> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is library;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t49.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t49.dart
index 37ad2f3..ae50068 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t49.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t49.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "library" is used as the declared name of a type alias.
-/// @compile-error
/// @author ngl@unipro.ru
typedef int library();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t50.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t50.dart
index 05722ab..b04d91c 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t50.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t50.dart
@@ -6,12 +6,17 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "part" is used as the declared name of a class.
-/// @compile-error
/// @author ngl@unipro.ru
class part {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is part;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t51.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t51.dart
index e894ffd..c2f2713 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t51.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t51.dart
@@ -6,12 +6,17 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "part" is used as the declared name of a type variable.
-/// @compile-error
/// @author ngl@unipro.ru
class A<part> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is part;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t52.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t52.dart
index d96d8e7..0a3e605 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t52.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t52.dart
@@ -6,11 +6,13 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "part" is used as the declared name of a type alias.
-/// @compile-error
/// @author ngl@unipro.ru
typedef int part();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t53.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t53.dart
index 0ec121d..d10a2c7 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t53.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t53.dart
@@ -7,11 +7,13 @@
/// @description Checks that it is a compile-time error if a built-in identifier
/// "abstract" is used as the declared name of a prefix.
/// @issue 25733
-/// @compile-error
/// @author ngl@unipro.ru
import "../lib.dart" as abstract;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
abstract.x;
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t54.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t54.dart
index c2fd894..0f398ac 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t54.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t54.dart
@@ -6,12 +6,14 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "as" is used as the declared name of a prefix.
-/// @compile-error
/// @issue 25733
/// @author ngl@unipro.ru
import "../lib.dart" as as;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
as.x;
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t55.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t55.dart
index 0f66b54..2db619a 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t55.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t55.dart
@@ -6,12 +6,14 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "deferred" is used as the declared name of a prefix.
-/// @compile-error
/// @issue 25733
/// @author ngl@unipro.ru
import "../lib.dart" as deferred;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
deferred.x;
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t56.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t56.dart
index 06a867a..2004499 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t56.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t56.dart
@@ -6,12 +6,14 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "dynamic" is used as the declared name of a prefix.
-/// @compile-error
/// @issue 25733
/// @author ngl@unipro.ru
import "../lib.dart" as dynamic;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
dynamic.x;
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t57.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t57.dart
index 5ed5627..9711a5e 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t57.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t57.dart
@@ -6,12 +6,14 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "export" is used as the declared name of a prefix.
-/// @compile-error
/// @issue 25733
/// @author ngl@unipro.ru
import "../lib.dart" as export;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
export.x;
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t58.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t58.dart
index 68efda6..78c0265 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t58.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t58.dart
@@ -6,12 +6,14 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "external" is used as the declared name of a prefix.
-/// @compile-error
/// @issue 25733
/// @author ngl@unipro.ru
import "../lib.dart" as external;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
external.x;
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t59.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t59.dart
index 9aedef9..de2db1f 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t59.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t59.dart
@@ -6,12 +6,14 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "factory" is used as the declared name of a prefix.
-/// @compile-error
/// @issue 25733
/// @author ngl@unipro.ru
import "../lib.dart" as factory;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
factory.x;
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t60.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t60.dart
index 7fe23b8..58a174b 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t60.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t60.dart
@@ -6,12 +6,14 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "get" is used as the declared name of a prefix.
-/// @compile-error
/// @issue 25733
/// @author ngl@unipro.ru
import "../lib.dart" as get;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
get.x;
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t61.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t61.dart
index 65eb631..5b478c2 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t61.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t61.dart
@@ -6,12 +6,14 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "implements" is used as the declared name of a prefix.
-/// @compile-error
/// @issue 25733
/// @author ngl@unipro.ru
import "../lib.dart" as implements;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
implements.x;
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t62.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t62.dart
index bb9c39a..8096f73 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t62.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t62.dart
@@ -6,12 +6,14 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "import" is used as the declared name of a prefix.
-/// @compile-error
/// @issue 25733
/// @author ngl@unipro.ru
import "../lib.dart" as import;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
import.x;
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t63.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t63.dart
index bc5dc01..ee33ef7 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t63.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t63.dart
@@ -6,12 +6,14 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "library" is used as the declared name of a prefix.
-/// @compile-error
/// @issue 25733
/// @author ngl@unipro.ru
import "../lib.dart" as library;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
library.x;
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t64.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t64.dart
index 1ce8ddd..d299aa6 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t64.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t64.dart
@@ -6,12 +6,14 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "operator" is used as the declared name of a prefix.
-/// @compile-error
/// @issue 25733
/// @author ngl@unipro.ru
import "../lib.dart" as operator;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
operator.x;
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t65.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t65.dart
index a5c691d..142233b 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t65.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t65.dart
@@ -6,12 +6,14 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "part" is used as the declared name of a prefix.
-/// @compile-error
/// @issue 25733
/// @author ngl@unipro.ru
import "../lib.dart" as part;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
part.x;
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t66.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t66.dart
index 9e64d1a..aac71bf 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t66.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t66.dart
@@ -6,12 +6,14 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "set" is used as the declared name of a prefix.
-/// @compile-error
/// @issue 25733
/// @author ngl@unipro.ru
import "../lib.dart" as set;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
set.x;
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t67.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t67.dart
index d4a6d7d..316d0ac 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t67.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t67.dart
@@ -6,12 +6,14 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "static" is used as the declared name of a prefix.
-/// @compile-error
/// @issue 25733
/// @author ngl@unipro.ru
import "../lib.dart" as static;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
static.x;
diff --git a/Language/Expressions/Identifier_Reference/built_in_identifier_t68.dart b/Language/Expressions/Identifier_Reference/built_in_identifier_t68.dart
index 9be6f77..6436753 100644
--- a/Language/Expressions/Identifier_Reference/built_in_identifier_t68.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_identifier_t68.dart
@@ -6,12 +6,14 @@
/// the declared name of a prefix, class, type parameter or type alias.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "typedef" is used as the declared name of a prefix.
-/// @compile-error
/// @issue 25733
/// @author ngl@unipro.ru
import "../lib.dart" as typedef;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
typedef.x;
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t01.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t01.dart
index 9a1e109..c83aa45 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t01.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t01.dart
@@ -6,10 +6,12 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "abstract" is used as a type annotation of a local variable.
-/// @compile-error
/// @author rodionov
main() {
abstract foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t02.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t02.dart
index efb6719..818f434 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t02.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t02.dart
@@ -6,10 +6,12 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "as" is used as a type annotation of a local variable.
-/// @compile-error
/// @author rodionov
main() {
as foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t04.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t04.dart
index 93706fd..29bc6cf 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t04.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t04.dart
@@ -6,10 +6,12 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "export" is used as a type annotation of a local variable.
-/// @compile-error
/// @author rodionov
main() {
export foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t05.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t05.dart
index d5da413..576429f 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t05.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t05.dart
@@ -6,11 +6,13 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "factory" is used as a type annotation of a local variable.
-/// @compile-error
/// @author rodionov
main() {
factory foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t06.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t06.dart
index 6808b95..c0ce77d 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t06.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t06.dart
@@ -6,10 +6,12 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "get" is used as a type annotation of a local variable.
-/// @compile-error
/// @author rodionov
main() {
get foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t07.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t07.dart
index 1fee317..88fd651 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t07.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t07.dart
@@ -6,10 +6,12 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "implements" is used as a type annotation of a local variable.
-/// @compile-error
/// @author rodionov
main() {
implements foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t08.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t08.dart
index 2624341..9fdaea5 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t08.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t08.dart
@@ -6,10 +6,12 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "import" is used as a type annotation of a local variable.
-/// @compile-error
/// @author rodionov
main() {
import foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t09.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t09.dart
index b53d055..9d0dcd4 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t09.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t09.dart
@@ -6,10 +6,12 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "part" is used as a type annotation of a local variable.
-/// @compile-error
/// @author rodionov
main() {
part foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t10.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t10.dart
index ab62722..d78510e 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t10.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t10.dart
@@ -6,10 +6,12 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "operator" is used as a type annotation of a local variable.
-/// @compile-error
/// @author rodionov
main() {
operator foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t11.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t11.dart
index b0d71f7..53c9f1d 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t11.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t11.dart
@@ -6,10 +6,12 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "set" is used as a type annotation of a local variable.
-/// @compile-error
/// @author rodionov
main() {
set foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t12.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t12.dart
index 2447733..37cfc56 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t12.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t12.dart
@@ -6,10 +6,12 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "static" is used as a type annotation of a local variable.
-/// @compile-error
/// @author rodionov
main() {
static foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t13.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t13.dart
index 3e4675d..3c0b9a8 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t13.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t13.dart
@@ -6,10 +6,12 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "typedef" is used as a type annotation of a local variable.
-/// @compile-error
/// @author rodionov
main() {
typedef foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t14.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t14.dart
index 406162d..3555be6 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t14.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t14.dart
@@ -6,12 +6,14 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "deferred" is used as a type annotation of a local variable.
-/// @compile-error
/// @issue 25732
/// @author ngl@unipro.ru
main() {
deferred foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t15.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t15.dart
index 46da8c9..5af1bf4 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t15.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t15.dart
@@ -6,11 +6,13 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "external" is used as a type annotation of a local variable.
-/// @compile-error
/// @author ngl@unipro.ru
main() {
external foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t16.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t16.dart
index 128f599..8ac69c5 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t16.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t16.dart
@@ -6,11 +6,13 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "library" is used as a type annotation of a local variable.
-/// @compile-error
/// @author ngl@unipro.ru
main() {
library foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t17.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t17.dart
index cbc68d4..04b12a1 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t17.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t17.dart
@@ -6,7 +6,6 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "abstract" is used as an actual type parameter.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -14,5 +13,8 @@
main() {
new A<abstract>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t18.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t18.dart
index a32a04d..c62e377 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t18.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t18.dart
@@ -6,7 +6,6 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "as" is used as an actual type parameter.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -14,5 +13,8 @@
main() {
new A<as>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t19.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t19.dart
index 68a0f2f..7075d45 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t19.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t19.dart
@@ -6,7 +6,6 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "deferred" is used as an actual type parameter.
-/// @compile-error
/// @issue 25772
/// @author ngl@unipro.ru
@@ -15,5 +14,8 @@
main() {
new A<deferred>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t21.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t21.dart
index a025a58..d116030 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t21.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t21.dart
@@ -6,7 +6,6 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "export" is used as an actual type parameter.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -14,5 +13,8 @@
main() {
new A<export>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t22.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t22.dart
index 161bbd7..5c13ef4 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t22.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t22.dart
@@ -6,7 +6,6 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "external" is used as an actual type parameter.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -14,5 +13,8 @@
main() {
new A<external>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t23.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t23.dart
index 0dd76b2..6f43e55 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t23.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t23.dart
@@ -6,7 +6,6 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "factory" is used as an actual type parameter.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -14,5 +13,8 @@
main() {
new A<factory>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t24.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t24.dart
index c22ec7a..a3b8788 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t24.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t24.dart
@@ -6,7 +6,6 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "get" is used as an actual type parameter.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -14,5 +13,8 @@
main() {
new A<get>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t25.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t25.dart
index 550217b..5e431cb 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t25.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t25.dart
@@ -6,7 +6,6 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "implements" is used as an actual type parameter.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -14,5 +13,8 @@
main() {
new A<implements>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t26.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t26.dart
index 0f7f51a..522b556 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t26.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t26.dart
@@ -6,7 +6,6 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "import" is used as an actual type parameter.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -14,5 +13,8 @@
main() {
new A<import>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t27.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t27.dart
index 66c3531..4f028b5 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t27.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t27.dart
@@ -6,7 +6,6 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "library" is used as an actual type parameter.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -14,5 +13,8 @@
main() {
new A<library>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t28.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t28.dart
index 8b188f5..1e346be 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t28.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t28.dart
@@ -6,7 +6,6 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "operator" is used as an actual type parameter.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -14,5 +13,8 @@
main() {
new A<operator>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t29.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t29.dart
index c8708f0..3fe50b4 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t29.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t29.dart
@@ -6,7 +6,6 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "part" is used as an actual type parameter.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -14,5 +13,8 @@
main() {
new A<part>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t30.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t30.dart
index 6569f1e..37b1b08 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t30.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t30.dart
@@ -6,7 +6,6 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "set" is used as an actual type parameter.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -14,5 +13,8 @@
main() {
new A<set>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t31.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t31.dart
index e14e5d4..3b56ea9 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t31.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t31.dart
@@ -6,7 +6,6 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "static" is used as an actual type parameter.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -14,5 +13,8 @@
main() {
new A<static>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t32.dart b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t32.dart
index 0288d87..3e415d6 100644
--- a/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t32.dart
+++ b/Language/Expressions/Identifier_Reference/built_in_not_dynamic_t32.dart
@@ -6,7 +6,6 @@
/// dynamic as a type annotation or type parameter.
/// @description Checks that it is a compile-time error if a built-in identifier
/// "typedef" is used as an actual type parameter.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -14,5 +13,8 @@
main() {
new A<typedef>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/evaluation_prefix_t01.dart b/Language/Expressions/Identifier_Reference/evaluation_prefix_t01.dart
index 776b5b5..3f69582 100644
--- a/Language/Expressions/Identifier_Reference/evaluation_prefix_t01.dart
+++ b/Language/Expressions/Identifier_Reference/evaluation_prefix_t01.dart
@@ -11,7 +11,6 @@
/// immediately following d is’.’.
/// @description Checks that reference to a prefix without following '.' causes
/// compile error.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -19,4 +18,7 @@
main() {
lib;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/evaluation_property_extraction_t03.dart b/Language/Expressions/Identifier_Reference/evaluation_property_extraction_t03.dart
index 4cf0b40..2752d65 100644
--- a/Language/Expressions/Identifier_Reference/evaluation_property_extraction_t03.dart
+++ b/Language/Expressions/Identifier_Reference/evaluation_property_extraction_t03.dart
@@ -11,7 +11,6 @@
/// • Otherwise, e is equivalent to the property extraction this.id.
/// @description Checks that identifier expression can not refer to a static
/// variable in a superclass of the current class.
-/// @compile-error
/// @author iefremov
@@ -22,6 +21,9 @@
class B extends A {
func() {
return x;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Identifier_Reference/evaluation_type_parameter_t02.dart b/Language/Expressions/Identifier_Reference/evaluation_type_parameter_t02.dart
index a79c272..842a2af 100644
--- a/Language/Expressions/Identifier_Reference/evaluation_type_parameter_t02.dart
+++ b/Language/Expressions/Identifier_Reference/evaluation_type_parameter_t02.dart
@@ -15,7 +15,6 @@
/// @description Checks that there is a compile-time error if identifier
/// expression in a return statement refers to a type parameter inside a static
/// method.
-/// @compile-error
/// @issue 27491
/// @author ngl@unipro.ru
@@ -23,6 +22,9 @@
class A<T> {
static Type func() => T;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Identifier_Reference/static_type_t01.dart b/Language/Expressions/Identifier_Reference/static_type_t01.dart
index 51b5d33..328caac 100644
--- a/Language/Expressions/Identifier_Reference/static_type_t01.dart
+++ b/Language/Expressions/Identifier_Reference/static_type_t01.dart
@@ -23,7 +23,6 @@
/// this.id.
/// @description Checks that if d is class, type alias or type parameter,
/// the static type of e is Type.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Identifier_Reference/static_type_t02.dart b/Language/Expressions/Identifier_Reference/static_type_t02.dart
index 6099928..e34e092 100644
--- a/Language/Expressions/Identifier_Reference/static_type_t02.dart
+++ b/Language/Expressions/Identifier_Reference/static_type_t02.dart
@@ -24,7 +24,6 @@
/// @description Checks that if d is a local variable or formal parameter, and
/// no type promotion is in effect, then the static type of e is the static
/// type of variable id.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Identifier_Reference/static_type_t03.dart b/Language/Expressions/Identifier_Reference/static_type_t03.dart
index f3e6e30..8140027 100644
--- a/Language/Expressions/Identifier_Reference/static_type_t03.dart
+++ b/Language/Expressions/Identifier_Reference/static_type_t03.dart
@@ -24,7 +24,6 @@
/// @description Checks that if d is a local variable or formal parameter, and
/// a type promotion is in effect, then the static type of e is the most
/// specific type that id is known to have.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Identifier_Reference/static_type_t04.dart b/Language/Expressions/Identifier_Reference/static_type_t04.dart
index 592407e..b8035ab 100644
--- a/Language/Expressions/Identifier_Reference/static_type_t04.dart
+++ b/Language/Expressions/Identifier_Reference/static_type_t04.dart
@@ -23,7 +23,6 @@
/// this.id.
/// @description Checks that if d is a static method, top-level function or
/// local function the static type of e the function type defined by d.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Identifier_Reference/static_type_t05.dart b/Language/Expressions/Identifier_Reference/static_type_t05.dart
index d81a29b..748fd9e 100644
--- a/Language/Expressions/Identifier_Reference/static_type_t05.dart
+++ b/Language/Expressions/Identifier_Reference/static_type_t05.dart
@@ -24,7 +24,6 @@
/// @description Checks that if d is the declaration of a static variable or
/// static getter declared in class C, the static type of e the static type of
/// the getter invocation C.id.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Identifier_Reference/static_type_t06.dart b/Language/Expressions/Identifier_Reference/static_type_t06.dart
index c41218d..0b6b11d 100644
--- a/Language/Expressions/Identifier_Reference/static_type_t06.dart
+++ b/Language/Expressions/Identifier_Reference/static_type_t06.dart
@@ -24,7 +24,6 @@
/// @description Checks that if d is the declaration of a library variable or
/// top-level getter, the static type of e is the static type of the getter
/// invocation id.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Identifier_Reference/static_type_t07.dart b/Language/Expressions/Identifier_Reference/static_type_t07.dart
index a417c46..5628a7d 100644
--- a/Language/Expressions/Identifier_Reference/static_type_t07.dart
+++ b/Language/Expressions/Identifier_Reference/static_type_t07.dart
@@ -23,7 +23,6 @@
/// this.id.
/// @description Checks that if d is instance variable or getter declaraion,
/// the static type of e is the static type of the getter invocation this.id.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Identifier_Reference/syntax_t04.dart b/Language/Expressions/Identifier_Reference/syntax_t04.dart
index 09ae4b6..7d0e36e 100644
--- a/Language/Expressions/Identifier_Reference/syntax_t04.dart
+++ b/Language/Expressions/Identifier_Reference/syntax_t04.dart
@@ -34,16 +34,21 @@
/// ‘A’ ..‘Z’
/// ;
/// @description Checks that identifier can't contain ' ' symbol.
-/// @compile-error
/// @author msyabro
/// @reviewer kaigorodov
class C {
bool x() {
return y y;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
main() {
С();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/syntax_t09.dart b/Language/Expressions/Identifier_Reference/syntax_t09.dart
index 4fbc351..f8a04b7 100644
--- a/Language/Expressions/Identifier_Reference/syntax_t09.dart
+++ b/Language/Expressions/Identifier_Reference/syntax_t09.dart
@@ -35,10 +35,12 @@
/// ;
/// @description Checks that neither backslashes, nor unicode escape sequences
/// are allowed in identifiers.
-/// @compile-error
/// @author iefremov
main() {
var abc\u0061=1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Identifier_Reference/undeclared_identifier_t05.dart b/Language/Expressions/Identifier_Reference/undeclared_identifier_t05.dart
index e95f6bc..52f1ae7 100644
--- a/Language/Expressions/Identifier_Reference/undeclared_identifier_t05.dart
+++ b/Language/Expressions/Identifier_Reference/undeclared_identifier_t05.dart
@@ -8,11 +8,13 @@
/// in the lexical scope enclosing the expression.
/// @description Checks that it is a compile error when an identifier expression
/// references an undeclared identifier within initializer of library variable.
-/// @compile-error
/// @author ilya
var x = undeclared;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
x;
diff --git a/Language/Expressions/Identifier_Reference/undeclared_identifier_t06.dart b/Language/Expressions/Identifier_Reference/undeclared_identifier_t06.dart
index fcebb42..f59af05 100644
--- a/Language/Expressions/Identifier_Reference/undeclared_identifier_t06.dart
+++ b/Language/Expressions/Identifier_Reference/undeclared_identifier_t06.dart
@@ -8,12 +8,14 @@
/// in the lexical scope enclosing the expression.
/// @description Checks that it is a compile error when an identifier expression
/// references an undeclared identifier within initializer of a static member.
-/// @compile-error
/// @author ilya
class C {
static var x = undeclared;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Identifier_Reference/undeclared_identifier_t07.dart b/Language/Expressions/Identifier_Reference/undeclared_identifier_t07.dart
index 612b213..2997854 100644
--- a/Language/Expressions/Identifier_Reference/undeclared_identifier_t07.dart
+++ b/Language/Expressions/Identifier_Reference/undeclared_identifier_t07.dart
@@ -8,11 +8,13 @@
/// in the lexical scope enclosing the expression.
/// @description Checks that it is a compile error when an identifier expression
/// references an undeclared identifier in a library getter.
-/// @compile-error
/// @author ilya
get getter => undeclared;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
getter;
diff --git a/Language/Expressions/Identifier_Reference/undeclared_identifier_t08.dart b/Language/Expressions/Identifier_Reference/undeclared_identifier_t08.dart
index e203562..ae02025 100644
--- a/Language/Expressions/Identifier_Reference/undeclared_identifier_t08.dart
+++ b/Language/Expressions/Identifier_Reference/undeclared_identifier_t08.dart
@@ -8,11 +8,13 @@
/// in the lexical scope enclosing the expression.
/// @description Checks that it is a compile error when an identifier expression
/// references an undeclared identifier in a library setter.
-/// @compile-error
/// @author ilya
set setter (_) => undeclared;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
setter = 1;
diff --git a/Language/Expressions/If_null_Expressions/syntax_t01.dart b/Language/Expressions/If_null_Expressions/syntax_t01.dart
index 80ed065..f679ca6 100644
--- a/Language/Expressions/If_null_Expressions/syntax_t01.dart
+++ b/Language/Expressions/If_null_Expressions/syntax_t01.dart
@@ -8,22 +8,101 @@
///
/// @description Verify several kinds of if-null expressions, logicalOrExpression
/// is a constant value.
-/// @static-warning
/// @author a.semenov@unipro.ru
import '../../../Utils/expect.dart';
main() {
Expect.equals(1, 1 ?? 2);
+// ^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'int' which excludes null.
Expect.equals(1, 1 ?? 2 ?? 3);
+// ^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'int' which excludes null.
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'int' which excludes null.
Expect.equals(1, 1 ?? 2 ?? 3 ?? 4);
+// ^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'int' which excludes null.
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'int' which excludes null.
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'int' which excludes null.
Expect.equals(2, null ?? 2);
Expect.equals(1, null ?? 1 ?? 2);
+// ^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'int' which excludes null.
Expect.equals(1, null ?? 1 ?? 2 ?? 3);
+// ^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'int' which excludes null.
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'int' which excludes null.
Expect.equals(1, null ?? null ?? 1 ?? 2 ?? 3);
+// ^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'int' which excludes null.
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'int' which excludes null.
Expect.equals(true, null ?? true ?? 2 ?? 3);
+// ^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'bool' which excludes null.
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'Object' which excludes null.
Expect.equals(false, null ?? false ?? 2 ?? 3);
+// ^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'bool' which excludes null.
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'Object' which excludes null.
Expect.equals('a', 'a' ?? 'bcd');
+// ^^^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'String' which excludes null.
Expect.equals('abc', 'abc' ?? 'cde' ?? 'fgh');
+// ^^^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^^^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'String' which excludes null.
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'String' which excludes null.
Expect.equals('abc', null ?? 'abc' ?? 'cde' ?? 'fgh');
+// ^^^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^^^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'String' which excludes null.
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'String' which excludes null.
}
diff --git a/Language/Expressions/If_null_Expressions/syntax_t02.dart b/Language/Expressions/If_null_Expressions/syntax_t02.dart
index 25ee157..3485f6f 100644
--- a/Language/Expressions/If_null_Expressions/syntax_t02.dart
+++ b/Language/Expressions/If_null_Expressions/syntax_t02.dart
@@ -8,7 +8,6 @@
///
/// @description Verify several kinds of if-null expressions, logicalOrExpression
/// is a variable.
-/// @static-warning
/// @author a.semenov@unipro.ru
import '../../../Utils/expect.dart';
@@ -18,14 +17,46 @@
var n = null;
Expect.equals(1, x ?? 10);
- Expect.equals(1, x ?? 10 ?? 20); /// static type warning
- Expect.equals(1, x ?? 10 ?? 20 ?? 30); /// static type warning
+// ^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'int' which excludes null.
+ Expect.equals(1, x ?? 10 ?? 20);
+// ^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'int' which excludes null.
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'int' which excludes null.
+ Expect.equals(1, x ?? 10 ?? 20 ?? 30);
+// ^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'int' which excludes null.
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'int' which excludes null.
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'int' which excludes null.
Expect.equals(10, n ?? 10);
Expect.equals(10, n ?? 10 ?? 20);
Expect.equals(10, n ?? 10 ?? 20 ?? 40);
Expect.equals(x, x ?? n);
+// ^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'int' which excludes null.
Expect.equals(x, n ?? x);
Expect.equals(x, n ?? n ?? x);
Expect.equals(x, x ?? n ?? 5);
+// ^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'int' which excludes null.
Expect.equals(x, n ?? x ?? 5);
}
diff --git a/Language/Expressions/If_null_Expressions/syntax_t03.dart b/Language/Expressions/If_null_Expressions/syntax_t03.dart
index 6cc256a..ae39986 100644
--- a/Language/Expressions/If_null_Expressions/syntax_t03.dart
+++ b/Language/Expressions/If_null_Expressions/syntax_t03.dart
@@ -8,7 +8,6 @@
///
/// @description Verify several kinds of if-null expressions, logicalOrExpression
/// is an expression.
-/// @static-warning
/// @author a.semenov@unipro.ru
import '../../../Utils/expect.dart';
@@ -16,7 +15,15 @@
main() {
int? x = 1;
dynamic empty = [];
- Expect.equals(2, ((x as int) + 1) ?? 10); /// static type warning
+ Expect.equals(2, ((x as int) + 1) ?? 10);
+// ^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'int' which excludes null.
Expect.iterableEquals([], empty ?? 10);
- Expect.equals(30, (10 + 5 * 4) ?? (2 + 2 * 2)); /// static type warning
+ Expect.equals(30, (10 + 5 * 4) ?? (2 + 2 * 2));
+// ^^^^^^^^^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'int' which excludes null.
}
diff --git a/Language/Expressions/If_null_Expressions/syntax_t04.dart b/Language/Expressions/If_null_Expressions/syntax_t04.dart
index 02a4840..7047dd4 100644
--- a/Language/Expressions/If_null_Expressions/syntax_t04.dart
+++ b/Language/Expressions/If_null_Expressions/syntax_t04.dart
@@ -8,10 +8,12 @@
///
/// @description Check that it is a compile time error, if first
/// logicalOrExpression is missing
-/// @compile-error
/// @author a.semenov@unipro.ru
main() {
var x = ?? 10;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/If_null_Expressions/syntax_t05.dart b/Language/Expressions/If_null_Expressions/syntax_t05.dart
index 1a91030..900200d 100644
--- a/Language/Expressions/If_null_Expressions/syntax_t05.dart
+++ b/Language/Expressions/If_null_Expressions/syntax_t05.dart
@@ -8,10 +8,12 @@
///
/// @description Check that it is a compile time error, if
/// second logicalOrExpression is missing
-/// @compile-error
/// @author a.semenov@unipro.ru
main() {
var x = 10 ??;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/If_null_Expressions/syntax_t06.dart b/Language/Expressions/If_null_Expressions/syntax_t06.dart
index 9e40572..9e8c9dd 100644
--- a/Language/Expressions/If_null_Expressions/syntax_t06.dart
+++ b/Language/Expressions/If_null_Expressions/syntax_t06.dart
@@ -8,10 +8,12 @@
///
/// @description Check that it is a compile time error, if '??' is doubled
///
-/// @compile-error
/// @author a.semenov@unipro.ru
main() {
var x = 10 ???? 20;
+// ^^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/If_null_Expressions/syntax_t07.dart b/Language/Expressions/If_null_Expressions/syntax_t07.dart
index cebb808..aab11c7 100644
--- a/Language/Expressions/If_null_Expressions/syntax_t07.dart
+++ b/Language/Expressions/If_null_Expressions/syntax_t07.dart
@@ -8,10 +8,12 @@
///
/// @description Check that it is a compile time error, if
/// third logicalOrExpression is missing
-/// @compile-error
/// @author a.semenov@unipro.ru
main() {
var x = 10 ?? 20 ??;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/If_null_Expressions/syntax_t08.dart b/Language/Expressions/If_null_Expressions/syntax_t08.dart
index ed51419..7c7cdc2 100644
--- a/Language/Expressions/If_null_Expressions/syntax_t08.dart
+++ b/Language/Expressions/If_null_Expressions/syntax_t08.dart
@@ -8,10 +8,12 @@
///
/// @description Check that it is a compile time error, if '??' is used twice
///
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() {
var x = 10 ?? ?? 20;
+// ^^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/Const/abstract_class_t01.dart b/Language/Expressions/Instance_Creation/Const/abstract_class_t01.dart
index 662e4af..e0502e0 100644
--- a/Language/Expressions/Instance_Creation/Const/abstract_class_t01.dart
+++ b/Language/Expressions/Instance_Creation/Const/abstract_class_t01.dart
@@ -7,8 +7,6 @@
/// abstract class but q is not a factory constructor.
/// @description Checks that an instance creation expression of the form const
/// T(a1, .., an), where T is an abstract class, produces a static warning.
-/// @static-warning
-/// @compile-error
/// @author msyabro
/// @author sgrekhov@unipro.ru
@@ -18,5 +16,8 @@
}
main() {
- const A(); /// static type warning
+ const A();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/Const/abstract_class_t02.dart b/Language/Expressions/Instance_Creation/Const/abstract_class_t02.dart
index e64f212..e780fa5 100644
--- a/Language/Expressions/Instance_Creation/Const/abstract_class_t02.dart
+++ b/Language/Expressions/Instance_Creation/Const/abstract_class_t02.dart
@@ -8,13 +8,16 @@
/// @description Checks that an instance creation expression of the form const
/// T(a1, ..., an), where T is a class containing an abstract method, produces
/// a compile error
-/// @compile-error
/// @author msyabro
class A {
+// ^
+// [cfe] unspecified
const A();
f();
+//^
+// [analyzer] unspecified
}
main() {
diff --git a/Language/Expressions/Instance_Creation/Const/abstract_class_t03.dart b/Language/Expressions/Instance_Creation/Const/abstract_class_t03.dart
index b429397..0f7c29f 100644
--- a/Language/Expressions/Instance_Creation/Const/abstract_class_t03.dart
+++ b/Language/Expressions/Instance_Creation/Const/abstract_class_t03.dart
@@ -7,8 +7,6 @@
/// abstract class but q is not a factory constructor.
/// @description Checks that an instance creation expression of the form const
/// T.id(a1, ..., an), where T is an abstract class, produces a static warning.
-/// @static-warning
-/// @compile-error
/// @author msyabro
/// @author sgrekhov@unipro.ru
@@ -18,5 +16,8 @@
}
main() {
- const A.id(); /// static type warning
+ const A.id();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/Const/abstract_class_t04.dart b/Language/Expressions/Instance_Creation/Const/abstract_class_t04.dart
index 3ac7980..91ce1ed 100644
--- a/Language/Expressions/Instance_Creation/Const/abstract_class_t04.dart
+++ b/Language/Expressions/Instance_Creation/Const/abstract_class_t04.dart
@@ -8,13 +8,16 @@
/// @description Checks that an instance creation expression of the form const
/// T.id(a1, .., an), where T is a class containing an abstract method,
/// produces a compile error
-/// @compile-error
/// @author msyabro
class A {
+// ^
+// [cfe] unspecified
const A.id();
f();
+//^
+// [analyzer] unspecified
}
main() {
diff --git a/Language/Expressions/Instance_Creation/Const/accessibility_t01.dart b/Language/Expressions/Instance_Creation/Const/accessibility_t01.dart
index 2c366be..e69b6a7 100644
--- a/Language/Expressions/Instance_Creation/Const/accessibility_t01.dart
+++ b/Language/Expressions/Instance_Creation/Const/accessibility_t01.dart
@@ -8,10 +8,12 @@
/// error if T does not denote a class accessible in the current scope.
/// @description Checks that it is a compile-time error if T does not denote
/// any declaration.
-/// @compile-error
/// @author msyabro
main() {
const UnavailableType();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/Const/accessibility_t02.dart b/Language/Expressions/Instance_Creation/Const/accessibility_t02.dart
index 49990ec..f58b432 100644
--- a/Language/Expressions/Instance_Creation/Const/accessibility_t02.dart
+++ b/Language/Expressions/Instance_Creation/Const/accessibility_t02.dart
@@ -8,10 +8,12 @@
/// error if T does not denote a class accessible in the current scope.
/// @description Checks that it is a compile-time error if T does not denote
/// any declaration. Named constructor case.
-/// @compile-error
/// @author msyabro
main() {
const UnavailableType.named();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/Const/accessibility_t03.dart b/Language/Expressions/Instance_Creation/Const/accessibility_t03.dart
index 7649b54..80afee2 100644
--- a/Language/Expressions/Instance_Creation/Const/accessibility_t03.dart
+++ b/Language/Expressions/Instance_Creation/Const/accessibility_t03.dart
@@ -8,7 +8,6 @@
/// error if T does not denote a class accessible in the current scope.
/// @description Checks that it is a compile-time error if T is a reference to
/// a top-level function.
-/// @compile-error
/// @author msyabro
@@ -16,4 +15,7 @@
main() {
const func();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/Const/accessibility_t04.dart b/Language/Expressions/Instance_Creation/Const/accessibility_t04.dart
index 031abc8..3ba9008 100644
--- a/Language/Expressions/Instance_Creation/Const/accessibility_t04.dart
+++ b/Language/Expressions/Instance_Creation/Const/accessibility_t04.dart
@@ -8,7 +8,6 @@
/// error if T does not denote a class accessible in the current scope.
/// @description Checks that it is a compile-time error if T is a reference to
/// a static method.
-/// @compile-error
/// @author msyabro
@@ -18,4 +17,7 @@
main() {
const A.method();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/Const/accessibility_t05.dart b/Language/Expressions/Instance_Creation/Const/accessibility_t05.dart
index 441a56f..9691a26 100644
--- a/Language/Expressions/Instance_Creation/Const/accessibility_t05.dart
+++ b/Language/Expressions/Instance_Creation/Const/accessibility_t05.dart
@@ -8,7 +8,6 @@
/// error if T does not denote a class accessible in the current scope.
/// @description Checks that it is a compile-time error if T is a reference to
/// a top-level variable.
-/// @compile-error
/// @author msyabro
@@ -16,4 +15,7 @@
main() {
const c();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/Const/accessibility_t06.dart b/Language/Expressions/Instance_Creation/Const/accessibility_t06.dart
index 5d28c5c..40f61d5 100644
--- a/Language/Expressions/Instance_Creation/Const/accessibility_t06.dart
+++ b/Language/Expressions/Instance_Creation/Const/accessibility_t06.dart
@@ -7,7 +7,6 @@
/// const T(a1, ..., an, xn+1: an+1, ..., xn+k: an+k). It is a compile-time
/// error if T does not denote a class accessible in the current scope.
/// @description Checks that it is a compile-time error if T is a type alias.
-/// @compile-error
/// @author msyabro
@@ -15,4 +14,7 @@
main() {
const foo();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/Const/accessibility_t07.dart b/Language/Expressions/Instance_Creation/Const/accessibility_t07.dart
index 8398899..5903b8a 100644
--- a/Language/Expressions/Instance_Creation/Const/accessibility_t07.dart
+++ b/Language/Expressions/Instance_Creation/Const/accessibility_t07.dart
@@ -7,7 +7,6 @@
/// const T(a1, ..., an, xn+1: an+1, ..., xn+k: an+k). It is a compile-time
/// error if T does not denote a class accessible in the current scope.
/// @description Checks that it is a compile-time error if T is a type variable.
-/// @compile-error
/// @author msyabro
@@ -18,6 +17,9 @@
class C<T> {
test() {
const T();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Instance_Creation/Const/arguments_t01.dart b/Language/Expressions/Instance_Creation/Const/arguments_t01.dart
index fa31329..03628bd 100644
--- a/Language/Expressions/Instance_Creation/Const/arguments_t01.dart
+++ b/Language/Expressions/Instance_Creation/Const/arguments_t01.dart
@@ -8,7 +8,6 @@
/// error if ai, 1 < = i <= n + k, is not a compile-time constant expression.
/// @description Checks that it is a compile-time error if any positional
/// arguments of a constant object expression are not compile-time constants.
-/// @compile-error
/// @author msyabro
@@ -19,4 +18,7 @@
main() {
Object o = Object();
const T(1, o, 2);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/Const/arguments_t02.dart b/Language/Expressions/Instance_Creation/Const/arguments_t02.dart
index 654b426..3ef8ca6 100644
--- a/Language/Expressions/Instance_Creation/Const/arguments_t02.dart
+++ b/Language/Expressions/Instance_Creation/Const/arguments_t02.dart
@@ -8,7 +8,6 @@
/// error if ai, 1 < = i <= n + k, is not a compile-time constant expression.
/// @description Checks that it is a compile-time error if any named arguments
/// of a constant object expression are not compile-time constants.
-/// @compile-error
/// @author msyabro
@@ -19,4 +18,7 @@
main() {
int i = 2;
const T(1, p2: i, p3: [0, 1]);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/Const/arguments_t03.dart b/Language/Expressions/Instance_Creation/Const/arguments_t03.dart
index c44892b..03247ec 100644
--- a/Language/Expressions/Instance_Creation/Const/arguments_t03.dart
+++ b/Language/Expressions/Instance_Creation/Const/arguments_t03.dart
@@ -9,7 +9,6 @@
/// @description Checks that it is a compile-time error if any optional
/// positional arguments of a constant object expression are not compile-time
/// constants.
-/// @compile-error
/// @author ilya
@@ -20,4 +19,7 @@
main() {
int i = 14;
const T(1, i, [0, 1]);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/Const/constant_constructor_name_t01.dart b/Language/Expressions/Instance_Creation/Const/constant_constructor_name_t01.dart
index 6d2b056..e0cf87e 100644
--- a/Language/Expressions/Instance_Creation/Const/constant_constructor_name_t01.dart
+++ b/Language/Expressions/Instance_Creation/Const/constant_constructor_name_t01.dart
@@ -8,7 +8,6 @@
/// type T.
/// @description Checks that it is a compile-time error if T.id
/// is not a name of any constructor declared by the type T.
-/// @compile-error
/// @author msyabro
@@ -16,4 +15,7 @@
main() {
const A.nonexistentConstructor();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/Const/constant_constructor_name_t02.dart b/Language/Expressions/Instance_Creation/Const/constant_constructor_name_t02.dart
index 1665fb8..2a49d60 100644
--- a/Language/Expressions/Instance_Creation/Const/constant_constructor_name_t02.dart
+++ b/Language/Expressions/Instance_Creation/Const/constant_constructor_name_t02.dart
@@ -8,7 +8,6 @@
/// type T.
/// @description Checks that it is a compile-time error if T.id
/// is the name of a non-constant constructor declared by the type T.
-/// @compile-error
/// @author msyabro
@@ -18,4 +17,7 @@
main() {
const A.nonConstCtor();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/Const/constant_constructor_name_t03.dart b/Language/Expressions/Instance_Creation/Const/constant_constructor_name_t03.dart
index 2daec31..b6736a9 100644
--- a/Language/Expressions/Instance_Creation/Const/constant_constructor_name_t03.dart
+++ b/Language/Expressions/Instance_Creation/Const/constant_constructor_name_t03.dart
@@ -8,7 +8,6 @@
/// type T.
/// @description Checks that it is a compile-time error if id
/// is the name of an instance method declared by the type T.
-/// @compile-error
/// @author msyabro
@@ -18,4 +17,7 @@
main() {
const A.method();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/Const/constant_constructor_name_t04.dart b/Language/Expressions/Instance_Creation/Const/constant_constructor_name_t04.dart
index b4779b4..89d2311 100644
--- a/Language/Expressions/Instance_Creation/Const/constant_constructor_name_t04.dart
+++ b/Language/Expressions/Instance_Creation/Const/constant_constructor_name_t04.dart
@@ -8,7 +8,6 @@
/// type T.
/// @description Checks that it is a compile-time error if id
/// is the name of a static method declared by the type T.
-/// @compile-error
/// @author msyabro
@@ -18,4 +17,7 @@
main() {
const A.method();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/Const/constant_constructor_same_name_as_class_t01.dart b/Language/Expressions/Instance_Creation/Const/constant_constructor_same_name_as_class_t01.dart
index 6301565..f62c945 100644
--- a/Language/Expressions/Instance_Creation/Const/constant_constructor_same_name_as_class_t01.dart
+++ b/Language/Expressions/Instance_Creation/Const/constant_constructor_same_name_as_class_t01.dart
@@ -8,7 +8,6 @@
/// name as the declaration of T.
/// @description Checks that it is a compile-time error if T does not declare a
/// constant constructor with the same name as the declaration of T.
-/// @compile-error
/// @author msyabro
@@ -18,4 +17,7 @@
main() {
const T();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/Const/constant_constructor_same_name_as_class_t02.dart b/Language/Expressions/Instance_Creation/Const/constant_constructor_same_name_as_class_t02.dart
index 4fb9b7b..15d17e1 100644
--- a/Language/Expressions/Instance_Creation/Const/constant_constructor_same_name_as_class_t02.dart
+++ b/Language/Expressions/Instance_Creation/Const/constant_constructor_same_name_as_class_t02.dart
@@ -8,7 +8,6 @@
/// name as the declaration of T.
/// @description Checks that it is a compile-time error if T declares a
/// non-constant constructor with the same name as the declaration of T.
-/// @compile-error
/// @author msyabro
@@ -18,4 +17,7 @@
main() {
const T();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/Const/deferred_type_t01.dart b/Language/Expressions/Instance_Creation/Const/deferred_type_t01.dart
index 2d6ef73..8530202 100644
--- a/Language/Expressions/Instance_Creation/Const/deferred_type_t01.dart
+++ b/Language/Expressions/Instance_Creation/Const/deferred_type_t01.dart
@@ -10,11 +10,13 @@
///
/// @description Checks that it is a compile-time error if a constant object
/// expression of the form const prefix.T() is used and T is a deferred type.
-/// @compile-error
///@author ngl@unipro.ru
import 'deferred_type_lib.dart' deferred as lb;
main() {
const lb.C();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/Const/deferred_type_t02.dart b/Language/Expressions/Instance_Creation/Const/deferred_type_t02.dart
index 6687a03..5b5405a 100644
--- a/Language/Expressions/Instance_Creation/Const/deferred_type_t02.dart
+++ b/Language/Expressions/Instance_Creation/Const/deferred_type_t02.dart
@@ -10,11 +10,13 @@
///
/// @description Checks that it is a compile-time error if a constant object
/// expression of the form const prefix.T.id() is used and T is a deferred type.
-/// @compile-error
/// @author ngl@unipro.ru
import 'deferred_type_lib.dart' deferred as lb;
main() {
const lb.C.n()();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/Const/exception_t01.dart b/Language/Expressions/Instance_Creation/Const/exception_t01.dart
index 9044c6e..ce47f6f 100644
--- a/Language/Expressions/Instance_Creation/Const/exception_t01.dart
+++ b/Language/Expressions/Instance_Creation/Const/exception_t01.dart
@@ -6,7 +6,6 @@
/// results in an uncaught exception being thrown.
/// @description Checks that it is a compile-time error if evaluation of a
/// constant object results in an uncaught exception being thrown.
-/// @compile-error
/// @author msyabro
@@ -16,6 +15,9 @@
}
const a = const A();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
try {
diff --git a/Language/Expressions/Instance_Creation/Const/static_type_t01.dart b/Language/Expressions/Instance_Creation/Const/static_type_t01.dart
index 4d1cf27..5c722fe 100644
--- a/Language/Expressions/Instance_Creation/Const/static_type_t01.dart
+++ b/Language/Expressions/Instance_Creation/Const/static_type_t01.dart
@@ -10,7 +10,6 @@
/// constructor T.id (respectively T).
/// @description Checks that the static type of a constant object expression
/// is T.
-/// @static-clean
/// @author msyabro
diff --git a/Language/Expressions/Instance_Creation/Const/syntax_t03.dart b/Language/Expressions/Instance_Creation/Const/syntax_t03.dart
index a25719e..0159d63 100644
--- a/Language/Expressions/Instance_Creation/Const/syntax_t03.dart
+++ b/Language/Expressions/Instance_Creation/Const/syntax_t03.dart
@@ -8,7 +8,6 @@
/// ;
/// @description Checks that it is a compile-time error if
/// a constant object expression is missing the type name.
-/// @compile-error
/// @author msyabro
@@ -18,4 +17,7 @@
main() {
const ();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/Const/syntax_t04.dart b/Language/Expressions/Instance_Creation/Const/syntax_t04.dart
index e530a71..ec56e77 100644
--- a/Language/Expressions/Instance_Creation/Const/syntax_t04.dart
+++ b/Language/Expressions/Instance_Creation/Const/syntax_t04.dart
@@ -8,7 +8,6 @@
/// ;
/// @description Checks that it is a compile-time error if the identifier of a
/// named constructor in a constant object expression is empty.
-/// @compile-error
/// @author msyabro
@@ -18,4 +17,7 @@
main() {
const A.();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/abstract_class_t01.dart b/Language/Expressions/Instance_Creation/New/abstract_class_t01.dart
index e82cd91..146bd83 100644
--- a/Language/Expressions/Instance_Creation/New/abstract_class_t01.dart
+++ b/Language/Expressions/Instance_Creation/New/abstract_class_t01.dart
@@ -6,7 +6,6 @@
/// and q is not a factory constructor.
/// @description Checks that invoking a non-factory constructor in an abstract
/// class produces a compile error
-/// @compile-error
/// @author kaigorodov
@@ -16,4 +15,7 @@
main() {
new C();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/abstract_class_t02.dart b/Language/Expressions/Instance_Creation/New/abstract_class_t02.dart
index d7dbffc..fee0e16 100644
--- a/Language/Expressions/Instance_Creation/New/abstract_class_t02.dart
+++ b/Language/Expressions/Instance_Creation/New/abstract_class_t02.dart
@@ -6,7 +6,6 @@
/// and q is not a factory constructor.
/// @description Checks that invoking a non-factory constructor in an abstract
/// class produces a compile error.
-/// @compile-error
/// @author kaigorodov
@@ -16,4 +15,7 @@
main() {
new C.id();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/argument_static_type_t01.dart b/Language/Expressions/Instance_Creation/New/argument_static_type_t01.dart
index f03458f..72ea3c6 100644
--- a/Language/Expressions/Instance_Creation/New/argument_static_type_t01.dart
+++ b/Language/Expressions/Instance_Creation/New/argument_static_type_t01.dart
@@ -8,7 +8,6 @@
/// @description Checks that it is a compile error warning if the static type of
/// one of arguments can't be assigned to the type of the corresponding
/// parameter of the constructor.
-/// @compile-error
/// @author msyabro
@@ -18,4 +17,7 @@
main() {
new C("");
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/constructor_same_name_as_class_t01.dart b/Language/Expressions/Instance_Creation/New/constructor_same_name_as_class_t01.dart
index a474be8..dcc812d 100644
--- a/Language/Expressions/Instance_Creation/New/constructor_same_name_as_class_t01.dart
+++ b/Language/Expressions/Instance_Creation/New/constructor_same_name_as_class_t01.dart
@@ -10,7 +10,6 @@
/// same name as the declaration of T.
/// @description Checks that it is a compile error if a class does not declare
/// a constructor with the same name.
-/// @compile-error
/// @author msyabro
@@ -20,4 +19,7 @@
main() {
new C();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/constructor_same_name_as_class_t02.dart b/Language/Expressions/Instance_Creation/New/constructor_same_name_as_class_t02.dart
index bd1fbff..0784d49 100644
--- a/Language/Expressions/Instance_Creation/New/constructor_same_name_as_class_t02.dart
+++ b/Language/Expressions/Instance_Creation/New/constructor_same_name_as_class_t02.dart
@@ -11,7 +11,6 @@
/// @description Checks that it is a compile error if a type being
/// instantiated is parameterized type that does not declare a constructor
/// with the same name as type.
-/// @compile-error
/// @author ilya
@@ -21,4 +20,7 @@
main() {
new C<int>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/evaluation_t01.dart b/Language/Expressions/Instance_Creation/New/evaluation_t01.dart
index 068f217..c6e04aa 100644
--- a/Language/Expressions/Instance_Creation/New/evaluation_t01.dart
+++ b/Language/Expressions/Instance_Creation/New/evaluation_t01.dart
@@ -17,7 +17,6 @@
/// {xn+1, ..., xn+k}, a NoSuchMethodError is thrown.
/// @description Checks that it is a compile error if q is a non-factory
/// constructor of an abstract class.
-/// @compile-error
/// @author kaigorodov
@@ -27,4 +26,7 @@
main() {
new C();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/evaluation_t02.dart b/Language/Expressions/Instance_Creation/New/evaluation_t02.dart
index e18c612..6c0d820 100644
--- a/Language/Expressions/Instance_Creation/New/evaluation_t02.dart
+++ b/Language/Expressions/Instance_Creation/New/evaluation_t02.dart
@@ -17,7 +17,6 @@
/// {xn+1, ..., xn+k}, a NoSuchMethodError is thrown.
/// @description Checks that it is a compile error if q is a named non-factory
/// constructor of an abstract class.
-/// @compile-error
/// @author kaigorodov
@@ -27,4 +26,7 @@
main() {
new C.namedConstructor();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/evaluation_t03.dart b/Language/Expressions/Instance_Creation/New/evaluation_t03.dart
index d41312f..e80aeca 100644
--- a/Language/Expressions/Instance_Creation/New/evaluation_t03.dart
+++ b/Language/Expressions/Instance_Creation/New/evaluation_t03.dart
@@ -16,10 +16,12 @@
/// parameters, or if q lacks any of the keyword parameters
/// {xn+1, ..., xn+k}, a NoSuchMethodError is thrown.
/// @description Checks that a compile error occurs if T is not accessible.
-/// @compile-error
/// @author kaigorodov
main() {
new C();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/evaluation_t04.dart b/Language/Expressions/Instance_Creation/New/evaluation_t04.dart
index 1a2748b..334b88c 100644
--- a/Language/Expressions/Instance_Creation/New/evaluation_t04.dart
+++ b/Language/Expressions/Instance_Creation/New/evaluation_t04.dart
@@ -16,7 +16,6 @@
/// parameters, or if q lacks any of the keyword parameters
/// {xn+1, ..., xn+k}, a NoSuchMethodError is thrown.
/// @description Checks that it is a compile error if q is not defined.
-/// @compile-error
/// @author kaigorodov
@@ -26,4 +25,7 @@
main() {
new C();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/evaluation_t05.dart b/Language/Expressions/Instance_Creation/New/evaluation_t05.dart
index 04abcc1..20ce7ff 100644
--- a/Language/Expressions/Instance_Creation/New/evaluation_t05.dart
+++ b/Language/Expressions/Instance_Creation/New/evaluation_t05.dart
@@ -16,7 +16,6 @@
/// parameters, or if q lacks any of the keyword parameters
/// {xn+1, ..., xn+k}, a NoSuchMethodError is thrown.
/// @description Checks that it is a compile error if q is not defined.
-/// @compile-error
/// @author kaigorodov
@@ -25,4 +24,7 @@
main() {
new C.undefinedConstructor();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/evaluation_t06.dart b/Language/Expressions/Instance_Creation/New/evaluation_t06.dart
index 1d0b04f..6c1b5ea 100644
--- a/Language/Expressions/Instance_Creation/New/evaluation_t06.dart
+++ b/Language/Expressions/Instance_Creation/New/evaluation_t06.dart
@@ -16,7 +16,6 @@
/// parameters, or if q lacks any of the keyword parameters
/// {xn+1, ..., xn+k}, a NoSuchMethodError is thrown.
/// @description Checks that it is a compile error if q is not accessible.
-/// @compile-error
/// @author kaigorodov
@@ -24,4 +23,7 @@
main() {
new C._inaccessibleConstructor();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/evaluation_t07.dart b/Language/Expressions/Instance_Creation/New/evaluation_t07.dart
index 569ebf2..63119c2 100644
--- a/Language/Expressions/Instance_Creation/New/evaluation_t07.dart
+++ b/Language/Expressions/Instance_Creation/New/evaluation_t07.dart
@@ -18,7 +18,6 @@
/// @description Checks that it is a compile error if the actual
/// constructor has fewer required positional parameters than the new
/// expression.
-/// @compile-error
/// @author kaigorodov
@@ -28,4 +27,7 @@
main() {
new C(1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/evaluation_t08.dart b/Language/Expressions/Instance_Creation/New/evaluation_t08.dart
index d957f57..3731f56 100644
--- a/Language/Expressions/Instance_Creation/New/evaluation_t08.dart
+++ b/Language/Expressions/Instance_Creation/New/evaluation_t08.dart
@@ -17,7 +17,6 @@
/// {xn+1, ..., xn+k}, a NoSuchMethodError is thrown.
/// @description Checks that it is a compile error if the actual constructor has
/// more required parameters than the new expression.
-/// @compile-error
/// @author kaigorodov
@@ -27,4 +26,7 @@
main() {
new C();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/evaluation_t09.dart b/Language/Expressions/Instance_Creation/New/evaluation_t09.dart
index 46c6bb0..40d1fc9 100644
--- a/Language/Expressions/Instance_Creation/New/evaluation_t09.dart
+++ b/Language/Expressions/Instance_Creation/New/evaluation_t09.dart
@@ -17,7 +17,6 @@
/// {xn+1, ..., xn+k}, a NoSuchMethodError is thrown.
/// @description Checks that it is a compile error if the actual constructor
/// lacks a named parameter used in the new expression.
-/// @compile-error
/// @author kaigorodov
@@ -27,4 +26,7 @@
main() {
new C(x: 1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/evaluation_t13.dart b/Language/Expressions/Instance_Creation/New/evaluation_t13.dart
index 41871dd..409c42a 100644
--- a/Language/Expressions/Instance_Creation/New/evaluation_t13.dart
+++ b/Language/Expressions/Instance_Creation/New/evaluation_t13.dart
@@ -17,7 +17,6 @@
/// {xn+1, ..., xn+k}, a NoSuchMethodError is thrown.
/// @description Checks that it is a compile error if the actual constructor has
/// fewer positional parameters.
-/// @compile-error
/// @author ilya
@@ -27,4 +26,7 @@
main() {
C(1, 2, 3);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/evaluation_t14.dart b/Language/Expressions/Instance_Creation/New/evaluation_t14.dart
index 0024cc1..57e3a56 100644
--- a/Language/Expressions/Instance_Creation/New/evaluation_t14.dart
+++ b/Language/Expressions/Instance_Creation/New/evaluation_t14.dart
@@ -17,7 +17,6 @@
/// {xn+1, ..., xn+k}, a NoSuchMethodError is thrown.
/// @description Checks that it is a compile error if the actual constructor has
/// more required parameters.
-/// @compile-error
/// @author ilya
@@ -27,4 +26,7 @@
main() {
new C();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/evaluation_t15.dart b/Language/Expressions/Instance_Creation/New/evaluation_t15.dart
index 394a872..50d4ad9 100644
--- a/Language/Expressions/Instance_Creation/New/evaluation_t15.dart
+++ b/Language/Expressions/Instance_Creation/New/evaluation_t15.dart
@@ -16,12 +16,14 @@
/// parameters, or if q lacks any of the keyword parameters
/// {xn+1, ..., xn+k}, a NoSuchMethodError is thrown.
/// @description Checks that compile error occurs if T is type variable.
-/// @compile-error
/// @author ilya
class C<T> {
test() => new T();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Instance_Creation/New/evaluation_t16.dart b/Language/Expressions/Instance_Creation/New/evaluation_t16.dart
index 9d3edfa..3dceed2 100644
--- a/Language/Expressions/Instance_Creation/New/evaluation_t16.dart
+++ b/Language/Expressions/Instance_Creation/New/evaluation_t16.dart
@@ -16,7 +16,6 @@
/// parameters, or if q lacks any of the keyword parameters
/// {xn+1, ..., xn+k}, a NoSuchMethodError is thrown.
/// @description Checks that compile error occurs if T is malbounded.
-/// @compile-error
/// @author ilya
@@ -24,4 +23,7 @@
main() {
new C<String>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/evaluation_t17.dart b/Language/Expressions/Instance_Creation/New/evaluation_t17.dart
index 83fc6ac..8e3e2ba 100644
--- a/Language/Expressions/Instance_Creation/New/evaluation_t17.dart
+++ b/Language/Expressions/Instance_Creation/New/evaluation_t17.dart
@@ -17,12 +17,14 @@
/// {xn+1, ..., xn+k}, a NoSuchMethodError is thrown.
/// @description Checks that compile error occurs if direct superclass of T
/// is malbounded type.
-/// @compile-error
/// @author ilya
class C<T extends int> {}
class D extends C<String> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new D();
diff --git a/Language/Expressions/Instance_Creation/New/evaluation_t18.dart b/Language/Expressions/Instance_Creation/New/evaluation_t18.dart
index a71e6d2..c1dc496 100644
--- a/Language/Expressions/Instance_Creation/New/evaluation_t18.dart
+++ b/Language/Expressions/Instance_Creation/New/evaluation_t18.dart
@@ -17,12 +17,14 @@
/// {xn+1, ..., xn+k}, a NoSuchMethodError is thrown.
/// @description Checks that compile error occurs if indirect superclass of T
/// is malbounded type.
-/// @compile-error
/// @author ilya
class C<T extends int> {}
class D extends C<String> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class E extends D {}
class F extends E {}
diff --git a/Language/Expressions/Instance_Creation/New/generic_type_t01.dart b/Language/Expressions/Instance_Creation/New/generic_type_t01.dart
index 00df6a9..4232a19 100644
--- a/Language/Expressions/Instance_Creation/New/generic_type_t01.dart
+++ b/Language/Expressions/Instance_Creation/New/generic_type_t01.dart
@@ -14,7 +14,6 @@
/// @description Checks that it is a compile-time error if S is not a
/// generic type but was provided with type arguments in instance creation
/// expression.
-/// @compile-error
/// @author msyabro
@@ -22,4 +21,7 @@
main() {
new A<int>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/generic_type_t02.dart b/Language/Expressions/Instance_Creation/New/generic_type_t02.dart
index a22ce88..de6c3d4 100644
--- a/Language/Expressions/Instance_Creation/New/generic_type_t02.dart
+++ b/Language/Expressions/Instance_Creation/New/generic_type_t02.dart
@@ -13,7 +13,6 @@
/// Vi = dynamic. In any other case, let Vi = Ui for i ∈ 1..m.
/// @description Checks that it is a compile-time error if S is a generic
/// type but has fewer type parameters than provided in the new expression.
-/// @compile-error
/// @author msyabro
@@ -21,4 +20,7 @@
main() {
new A<int, bool>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/generic_type_t03.dart b/Language/Expressions/Instance_Creation/New/generic_type_t03.dart
index aba1b1d..e39dbe8 100644
--- a/Language/Expressions/Instance_Creation/New/generic_type_t03.dart
+++ b/Language/Expressions/Instance_Creation/New/generic_type_t03.dart
@@ -13,7 +13,6 @@
/// Vi = dynamic. In any other case, let Vi = Ui for i ∈ 1..m.
/// @description Checks that it is a compile-time error if S is a generic
/// type but has more type parameters than provided in the new expression.
-/// @compile-error
/// @author msyabro
@@ -21,4 +20,7 @@
main() {
new A<int>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/named_constructor_t01.dart b/Language/Expressions/Instance_Creation/New/named_constructor_t01.dart
index 210e77f..e335b50 100644
--- a/Language/Expressions/Instance_Creation/New/named_constructor_t01.dart
+++ b/Language/Expressions/Instance_Creation/New/named_constructor_t01.dart
@@ -9,7 +9,6 @@
/// by the type T.
/// @description Checks that it is a compile error if the type being
/// instantiated does not declare a named constructor T.id.
-/// @compile-error
/// @author msyabro
@@ -17,4 +16,7 @@
main() {
new C.namedConstructor();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/named_constructor_t02.dart b/Language/Expressions/Instance_Creation/New/named_constructor_t02.dart
index ed68b54..6e0df4d 100644
--- a/Language/Expressions/Instance_Creation/New/named_constructor_t02.dart
+++ b/Language/Expressions/Instance_Creation/New/named_constructor_t02.dart
@@ -10,7 +10,6 @@
/// @description Checks that it is a compile error if the type being
/// instantiated is a parameterized type and does not declare a named
/// constructor T.id.
-/// @compile-error
/// @author kaigorodov
@@ -18,4 +17,7 @@
main() {
new C<int>.namedConstructor();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/redirecting_factory_constructor_t02.dart b/Language/Expressions/Instance_Creation/New/redirecting_factory_constructor_t02.dart
index 1cf0626..556b7a8 100644
--- a/Language/Expressions/Instance_Creation/New/redirecting_factory_constructor_t02.dart
+++ b/Language/Expressions/Instance_Creation/New/redirecting_factory_constructor_t02.dart
@@ -9,7 +9,6 @@
/// @description Checks that it is a compile error if a type argument of a
/// redirecting factory constructor invocation is not a subtype of the
/// corresponding type parameter bound of class C.
-/// @compile-error
/// @author kaigorodov
@@ -25,4 +24,7 @@
main() {
new R<String>.fc();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/static_type_t01.dart b/Language/Expressions/Instance_Creation/New/static_type_t01.dart
index 4cc650e..a74fe25 100644
--- a/Language/Expressions/Instance_Creation/New/static_type_t01.dart
+++ b/Language/Expressions/Instance_Creation/New/static_type_t01.dart
@@ -10,7 +10,6 @@
/// constructor T.id (respectively T).
/// @description Checks that the static type of an instance creation expression
/// is T.
-/// @static-clean
/// @author msyabro
/// @reviewer rodionov
diff --git a/Language/Expressions/Instance_Creation/New/syntax_t02.dart b/Language/Expressions/Instance_Creation/New/syntax_t02.dart
index 6411ae1..4c53e7f 100644
--- a/Language/Expressions/Instance_Creation/New/syntax_t02.dart
+++ b/Language/Expressions/Instance_Creation/New/syntax_t02.dart
@@ -8,7 +8,6 @@
/// ;
/// @description Checks that it is a compile-time error if a new expression does
/// not have argument brackets after the class name.
-/// @compile-error
/// @author msyabro
@@ -18,4 +17,7 @@
main() {
new A;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/syntax_t03.dart b/Language/Expressions/Instance_Creation/New/syntax_t03.dart
index c55bcc9..ce1ae19 100644
--- a/Language/Expressions/Instance_Creation/New/syntax_t03.dart
+++ b/Language/Expressions/Instance_Creation/New/syntax_t03.dart
@@ -8,7 +8,6 @@
/// ;
/// @description Checks that it is a compile-time error if a new expression is
/// missing the type name.
-/// @compile-error
/// @author msyabro
@@ -18,4 +17,7 @@
main() {
new ();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/syntax_t05.dart b/Language/Expressions/Instance_Creation/New/syntax_t05.dart
index 37a42ec..4db56ef 100644
--- a/Language/Expressions/Instance_Creation/New/syntax_t05.dart
+++ b/Language/Expressions/Instance_Creation/New/syntax_t05.dart
@@ -8,7 +8,6 @@
/// ;
/// @description Checks that it is a compile-time error if
/// a the identifier of a named constructor in a new expression is empty.
-/// @compile-error
/// @author msyabro
@@ -18,4 +17,7 @@
main() {
new A.();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/type_argument_t01.dart b/Language/Expressions/Instance_Creation/New/type_argument_t01.dart
index 6e7682e..164d6d2 100644
--- a/Language/Expressions/Instance_Creation/New/type_argument_t01.dart
+++ b/Language/Expressions/Instance_Creation/New/type_argument_t01.dart
@@ -16,7 +16,6 @@
/// If T or any of its superclasses is malbounded a dynamic error occurs.
/// @description Checks that it is a compile error if a type argument of a class
/// in a new expression is not a subtype of its bound.
-/// @compile-error
/// @author msyabro
@@ -26,4 +25,7 @@
main() {
new C<bool>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/type_t01.dart b/Language/Expressions/Instance_Creation/New/type_t01.dart
index 1991cde..e905416 100644
--- a/Language/Expressions/Instance_Creation/New/type_t01.dart
+++ b/Language/Expressions/Instance_Creation/New/type_t01.dart
@@ -7,10 +7,12 @@
/// new T(a1, ... , an, xn+1 : an+1, ... , xn+k : an+k).
/// @description Checks that it is a compile error
/// if T is not a class accessible in the current scope.
-/// @compile-error
/// @author msyabro
main() {
new UnavailableType();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/type_t02.dart b/Language/Expressions/Instance_Creation/New/type_t02.dart
index 3fe6bf8..27e6022 100644
--- a/Language/Expressions/Instance_Creation/New/type_t02.dart
+++ b/Language/Expressions/Instance_Creation/New/type_t02.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile error if T.id is not a class
/// accessible in the current scope.
/// Named constructor case.
-/// @compile-error
/// @author msyabro
main() {
new UnavailableType.namedConstructor();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/type_t03.dart b/Language/Expressions/Instance_Creation/New/type_t03.dart
index 9c9b351..6a33832 100644
--- a/Language/Expressions/Instance_Creation/New/type_t03.dart
+++ b/Language/Expressions/Instance_Creation/New/type_t03.dart
@@ -7,7 +7,6 @@
/// new T(a1, ... , an, xn+1 : an+1, ... , xn+k : an+k).
/// @description Checks that it is a compile error if a reference to
/// a top-level function is used as a Type.
-/// @compile-error
/// @author msyabro
@@ -15,4 +14,7 @@
main() {
new func();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/type_t05.dart b/Language/Expressions/Instance_Creation/New/type_t05.dart
index d6782d4..fd29e5a 100644
--- a/Language/Expressions/Instance_Creation/New/type_t05.dart
+++ b/Language/Expressions/Instance_Creation/New/type_t05.dart
@@ -7,7 +7,6 @@
/// new T(a1, ... , an, xn+1 : an+1, ... , xn+k : an+k).
/// @description Checks that it is a compile error if T is a reference to
/// a top-level variable.
-/// @compile-error
/// @author msyabro
@@ -15,4 +14,7 @@
main() {
new a();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/New/type_t07.dart b/Language/Expressions/Instance_Creation/New/type_t07.dart
index 5e05ae2..665ee9e 100644
--- a/Language/Expressions/Instance_Creation/New/type_t07.dart
+++ b/Language/Expressions/Instance_Creation/New/type_t07.dart
@@ -6,13 +6,15 @@
/// new T.id(a1, ... , an, xn+1 : an+1, ... , xn+k : an+k) or the form
/// new T(a1, ... , an, xn+1 : an+1, ... , xn+k : an+k).
/// @description Checks that it is a compile error if T is a type variable.
-/// @compile-error
/// @author msyabro
class C<T> {
test() {
new T();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Instance_Creation/malformed_or_malbounded_t01.dart b/Language/Expressions/Instance_Creation/malformed_or_malbounded_t01.dart
index be31302..cb4fd58 100644
--- a/Language/Expressions/Instance_Creation/malformed_or_malbounded_t01.dart
+++ b/Language/Expressions/Instance_Creation/malformed_or_malbounded_t01.dart
@@ -11,10 +11,12 @@
/// or malbounded.
/// @description Checks that it is a compile-error if T does not denote a type
/// in a new T() expression.
-/// @compile-error
/// @author ilya
main() {
new Undef();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/malformed_or_malbounded_t02.dart b/Language/Expressions/Instance_Creation/malformed_or_malbounded_t02.dart
index 3f501fe..391c411 100644
--- a/Language/Expressions/Instance_Creation/malformed_or_malbounded_t02.dart
+++ b/Language/Expressions/Instance_Creation/malformed_or_malbounded_t02.dart
@@ -11,10 +11,12 @@
/// or malbounded.
/// @description Checks that it is a static-warning if T does not denote a type
/// in a const T() expression.
-/// @compile-error
/// @author ilya
main() {
const Undef();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/malformed_or_malbounded_t03.dart b/Language/Expressions/Instance_Creation/malformed_or_malbounded_t03.dart
index cf37355..005b333 100644
--- a/Language/Expressions/Instance_Creation/malformed_or_malbounded_t03.dart
+++ b/Language/Expressions/Instance_Creation/malformed_or_malbounded_t03.dart
@@ -11,10 +11,12 @@
/// or malbounded.
/// @description Checks that it is a compile error if T does not denote a type
/// in a new T<args>() expression.
-/// @compile-error
/// @author ilya
main() {
new Undef<int>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/malformed_or_malbounded_t04.dart b/Language/Expressions/Instance_Creation/malformed_or_malbounded_t04.dart
index 3110191..2d3d612 100644
--- a/Language/Expressions/Instance_Creation/malformed_or_malbounded_t04.dart
+++ b/Language/Expressions/Instance_Creation/malformed_or_malbounded_t04.dart
@@ -11,10 +11,12 @@
/// or malbounded.
/// @description Checks that it is a static-warning if T does not denote a type
/// in a const T<args>() expression.
-/// @compile-error
/// @author ilya
main() {
const Undef<int>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Instance_Creation/malformed_or_malbounded_t07.dart b/Language/Expressions/Instance_Creation/malformed_or_malbounded_t07.dart
index 2bf6ea0..8092a02 100644
--- a/Language/Expressions/Instance_Creation/malformed_or_malbounded_t07.dart
+++ b/Language/Expressions/Instance_Creation/malformed_or_malbounded_t07.dart
@@ -12,7 +12,6 @@
/// @description Checks that it is a compile error if type arguments to a
/// constructor of a generic type G invoked by a new expression are not subtypes
/// of the bounds of the corresponding formal type parameters of G.
-/// @compile-error
/// @author msyabro
@@ -21,4 +20,7 @@
main() {
new G<double, double>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Lists/constant_list_t02.dart b/Language/Expressions/Lists/constant_list_t02.dart
index 24e3475..c6acc01 100644
--- a/Language/Expressions/Lists/constant_list_t02.dart
+++ b/Language/Expressions/Lists/constant_list_t02.dart
@@ -7,12 +7,14 @@
/// type argument of a constant list literal includes a type parameter.
/// @description Checks that a constant list literal cannot contain non-constant
/// expression.
-/// @compile-error
/// @author kaigorodov
class A {
List a = const [1, new Date.now()];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Lists/static_type_dynamic_t01.dart b/Language/Expressions/Lists/static_type_dynamic_t01.dart
index 7b5c9aa..7f5f0e6 100644
--- a/Language/Expressions/Lists/static_type_dynamic_t01.dart
+++ b/Language/Expressions/Lists/static_type_dynamic_t01.dart
@@ -7,7 +7,6 @@
/// @description Checks that static type of list literal with omitted type
/// argument is indeed List<dynamic> by assigning it to declared variable of
/// type List<dynamic>. No static warnings expected.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Lists/static_type_t01.dart b/Language/Expressions/Lists/static_type_t01.dart
index 61148aa..597bb69 100644
--- a/Language/Expressions/Lists/static_type_t01.dart
+++ b/Language/Expressions/Lists/static_type_t01.dart
@@ -7,7 +7,6 @@
/// @description Checks that the static type of a list literal is List<E> by
/// ensuring there're no static warnings when assigning such list to an
/// appropriately typed variable.
-/// @static-clean
/// @author msyabro
diff --git a/Language/Expressions/Lists/static_type_t02.dart b/Language/Expressions/Lists/static_type_t02.dart
index ab83549..a6d69d1 100644
--- a/Language/Expressions/Lists/static_type_t02.dart
+++ b/Language/Expressions/Lists/static_type_t02.dart
@@ -6,10 +6,12 @@
/// const <E>[e1... en] or the form <E>[e1... en] is List<E>.
/// @description Checks that a compile error occurs when assigning a constant
/// list literal to an int variable.
-/// @compile-error
/// @author msyabro
main() {
int i = const [1, 2, 3];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Lists/static_type_t03.dart b/Language/Expressions/Lists/static_type_t03.dart
index 270e478..830ef77 100644
--- a/Language/Expressions/Lists/static_type_t03.dart
+++ b/Language/Expressions/Lists/static_type_t03.dart
@@ -6,10 +6,12 @@
/// const <E>[e1... en] or the form <E>[e1... en] is List<E>.
/// @description Checks that a compile error occurs when assigning a list
/// literal to a String variable.
-/// @compile-error
/// @author msyabro
main() {
String s = [1, 2, 3];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Lists/static_type_t04.dart b/Language/Expressions/Lists/static_type_t04.dart
index af9f080..2fda293 100644
--- a/Language/Expressions/Lists/static_type_t04.dart
+++ b/Language/Expressions/Lists/static_type_t04.dart
@@ -7,10 +7,12 @@
/// @description Checks that a compile error occurs when assigning a list
/// literal with int type parameter to a variable with declared type
/// List<String>.
-/// @compile-error
/// @author iefremov
main() {
List<String> s = <int>[1, 2, 3];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Lists/static_type_t05.dart b/Language/Expressions/Lists/static_type_t05.dart
index ab81261..7176bf5 100644
--- a/Language/Expressions/Lists/static_type_t05.dart
+++ b/Language/Expressions/Lists/static_type_t05.dart
@@ -7,10 +7,12 @@
/// @description Checks that a compile error occurs when assigning a const list
/// literal with int type parameter to a variable with declared type
/// List<String>.
-/// @compile-error
/// @author iefremov
main() {
List<String> s = const <int>[1, 2, 3];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Lists/syntax_t02.dart b/Language/Expressions/Lists/syntax_t02.dart
index 18ea914..9c4d886 100644
--- a/Language/Expressions/Lists/syntax_t02.dart
+++ b/Language/Expressions/Lists/syntax_t02.dart
@@ -10,9 +10,11 @@
/// @description Checks that its a compile-time error if elements in a list are
/// not separated by comma.
/// @author msyabro
-/// @compile-error
main() {
[1 2 3];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Lists/syntax_t03.dart b/Language/Expressions/Lists/syntax_t03.dart
index ae63148..b29992f 100644
--- a/Language/Expressions/Lists/syntax_t03.dart
+++ b/Language/Expressions/Lists/syntax_t03.dart
@@ -9,9 +9,11 @@
/// ;
/// @description Checks that a list literal can't contain an empty element.
/// @author msyabro
-/// @compile-error
main() {
[1, , 2, 3];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Lists/syntax_t04.dart b/Language/Expressions/Lists/syntax_t04.dart
index a4c3797..02598b6 100644
--- a/Language/Expressions/Lists/syntax_t04.dart
+++ b/Language/Expressions/Lists/syntax_t04.dart
@@ -9,9 +9,11 @@
/// ;
/// @description Checks that a list literal can't start with empty element.
/// @author msyabro
-/// @compile-error
main() {
[, 1, 2, 3];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Lists/syntax_t05.dart b/Language/Expressions/Lists/syntax_t05.dart
index b04efdc..4dcc7cb 100644
--- a/Language/Expressions/Lists/syntax_t05.dart
+++ b/Language/Expressions/Lists/syntax_t05.dart
@@ -10,9 +10,11 @@
/// @description Checks that it is a compile-time error if a list literal does
/// not start with '['.
/// @author msyabro
-/// @compile-error
main() {
1, 2, 3];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Lists/syntax_t06.dart b/Language/Expressions/Lists/syntax_t06.dart
index 4d52dbe..c92033f 100644
--- a/Language/Expressions/Lists/syntax_t06.dart
+++ b/Language/Expressions/Lists/syntax_t06.dart
@@ -10,9 +10,11 @@
/// @description Checks that it is a compile-time error if a list literal does
/// not end with ']'.
/// @author msyabro
-/// @compile-error
main() {
[1, 2, 3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Lists/syntax_t07.dart b/Language/Expressions/Lists/syntax_t07.dart
index 98d8d27..521bd8f 100644
--- a/Language/Expressions/Lists/syntax_t07.dart
+++ b/Language/Expressions/Lists/syntax_t07.dart
@@ -10,9 +10,11 @@
/// @description Checks that it is a compile-time error if a const list literal
/// does not start with '['.
/// @author kaigorodov
-/// @compile-error
main() {
var x = const 1, 2, 3];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Logical_Boolean_Expressions/static_type_t01.dart b/Language/Expressions/Logical_Boolean_Expressions/static_type_t01.dart
index eadafe3..0f24668 100644
--- a/Language/Expressions/Logical_Boolean_Expressions/static_type_t01.dart
+++ b/Language/Expressions/Logical_Boolean_Expressions/static_type_t01.dart
@@ -5,7 +5,6 @@
/// @assertion The static type of a logical boolean expression is bool.
/// @description Checks that the static type of a logical boolean
/// expression is bool.
-/// @static-clean
/// @author msyabro
diff --git a/Language/Expressions/Logical_Boolean_Expressions/static_type_t02.dart b/Language/Expressions/Logical_Boolean_Expressions/static_type_t02.dart
index 8531e03..d1fceb7 100644
--- a/Language/Expressions/Logical_Boolean_Expressions/static_type_t02.dart
+++ b/Language/Expressions/Logical_Boolean_Expressions/static_type_t02.dart
@@ -5,10 +5,12 @@
/// @assertion The static type of a logical boolean expression is bool.
/// @description Checks that the static type of a logical boolean
/// expression is bool.
-/// @compile-error
/// @author kaigorodov
main() {
int b = (true || false);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Logical_Boolean_Expressions/syntax_t02.dart b/Language/Expressions/Logical_Boolean_Expressions/syntax_t02.dart
index 8b3189e..23db44a 100644
--- a/Language/Expressions/Logical_Boolean_Expressions/syntax_t02.dart
+++ b/Language/Expressions/Logical_Boolean_Expressions/syntax_t02.dart
@@ -15,7 +15,6 @@
/// e2.
/// @description Checks that super can't be used as the first operand of a
/// logical boolean expression.
-/// @compile-error
/// @author msyabro
@@ -24,6 +23,9 @@
class A extends S {
test() {
super && true;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Logical_Boolean_Expressions/syntax_t03.dart b/Language/Expressions/Logical_Boolean_Expressions/syntax_t03.dart
index aeb9883..663b8af 100644
--- a/Language/Expressions/Logical_Boolean_Expressions/syntax_t03.dart
+++ b/Language/Expressions/Logical_Boolean_Expressions/syntax_t03.dart
@@ -15,7 +15,6 @@
/// e2.
/// @description Checks that super can't be used as the second operand of a
/// logical boolean expression.
-/// @compile-error
/// @author msyabro
@@ -24,6 +23,9 @@
class A extends S {
test() {
false || super;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Logical_Boolean_Expressions/syntax_t04.dart b/Language/Expressions/Logical_Boolean_Expressions/syntax_t04.dart
index c657fbb..c7cc2a1 100644
--- a/Language/Expressions/Logical_Boolean_Expressions/syntax_t04.dart
+++ b/Language/Expressions/Logical_Boolean_Expressions/syntax_t04.dart
@@ -15,10 +15,12 @@
/// e2.
/// @description Checks that a logical boolean expression can't start with
/// operator ||.
-/// @compile-error
/// @author msyabro
main() {
|| true || false;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Logical_Boolean_Expressions/syntax_t05.dart b/Language/Expressions/Logical_Boolean_Expressions/syntax_t05.dart
index e8491d8..4e62279 100644
--- a/Language/Expressions/Logical_Boolean_Expressions/syntax_t05.dart
+++ b/Language/Expressions/Logical_Boolean_Expressions/syntax_t05.dart
@@ -15,10 +15,12 @@
/// e2.
/// @description Checks that a logical boolean expression can't start with
/// operator &&.
-/// @compile-error
/// @author msyabro
main() {
&& true && false;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Logical_Boolean_Expressions/syntax_t06.dart b/Language/Expressions/Logical_Boolean_Expressions/syntax_t06.dart
index 014c306..2a5e963 100644
--- a/Language/Expressions/Logical_Boolean_Expressions/syntax_t06.dart
+++ b/Language/Expressions/Logical_Boolean_Expressions/syntax_t06.dart
@@ -15,10 +15,12 @@
/// e2.
/// @description Checks that a logical boolean expression can't terminate with
/// operator ||.
-/// @compile-error
/// @author msyabro
main() {
true || false ||;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Logical_Boolean_Expressions/syntax_t07.dart b/Language/Expressions/Logical_Boolean_Expressions/syntax_t07.dart
index 9cc1184..a806374 100644
--- a/Language/Expressions/Logical_Boolean_Expressions/syntax_t07.dart
+++ b/Language/Expressions/Logical_Boolean_Expressions/syntax_t07.dart
@@ -15,10 +15,12 @@
/// e2.
/// @description Checks that a logical boolean expression can't terminate with
/// operator &&.
-/// @compile-error
/// @author msyabro
main() {
true && false &&;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Logical_Boolean_Expressions/syntax_t08.dart b/Language/Expressions/Logical_Boolean_Expressions/syntax_t08.dart
index c5b9683..dda08e9 100644
--- a/Language/Expressions/Logical_Boolean_Expressions/syntax_t08.dart
+++ b/Language/Expressions/Logical_Boolean_Expressions/syntax_t08.dart
@@ -14,10 +14,12 @@
/// invocation of a logical boolean operator on an expression e1 with argument
/// e2.
/// @description Checks that two operators || can't be placed one after another.
-/// @compile-error
/// @author msyabro
main() {
true || || false;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Logical_Boolean_Expressions/syntax_t09.dart b/Language/Expressions/Logical_Boolean_Expressions/syntax_t09.dart
index dd51aed..db68fcf 100644
--- a/Language/Expressions/Logical_Boolean_Expressions/syntax_t09.dart
+++ b/Language/Expressions/Logical_Boolean_Expressions/syntax_t09.dart
@@ -14,10 +14,12 @@
/// invocation of a logical boolean operator on an expression e1 with argument
/// e2.
/// @description Checks that two operators && can't be placed one after another.
-/// @compile-error
/// @author msyabro
main() {
true && && false;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Logical_Boolean_Expressions/type_t01.dart b/Language/Expressions/Logical_Boolean_Expressions/type_t01.dart
index 270c816..0fb86ae 100644
--- a/Language/Expressions/Logical_Boolean_Expressions/type_t01.dart
+++ b/Language/Expressions/Logical_Boolean_Expressions/type_t01.dart
@@ -17,7 +17,6 @@
/// e1 or e2 shows that v has type T and v is not mutated anywhere in its scope
/// then b shows that v has type T regardless of whether there are closures
/// capturing v. Formal parameter, no closures case.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Logical_Boolean_Expressions/type_t02.dart b/Language/Expressions/Logical_Boolean_Expressions/type_t02.dart
index fa184d8..d0aea8c 100644
--- a/Language/Expressions/Logical_Boolean_Expressions/type_t02.dart
+++ b/Language/Expressions/Logical_Boolean_Expressions/type_t02.dart
@@ -17,7 +17,6 @@
/// e1 or e2 shows that v has type T and v is not mutated anywhere in its scope
/// then b shows that v has type T regardless of whether there are closures
/// capturing v. Local variable, no closures case.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Logical_Boolean_Expressions/type_t03.dart b/Language/Expressions/Logical_Boolean_Expressions/type_t03.dart
index fcf474c..b46ada5 100644
--- a/Language/Expressions/Logical_Boolean_Expressions/type_t03.dart
+++ b/Language/Expressions/Logical_Boolean_Expressions/type_t03.dart
@@ -17,7 +17,6 @@
/// e1 or e2 shows that v has type T and v is not mutated anywhere in its scope
/// then b shows that v has type T regardless of whether there are closures
/// capturing v. Formal parameter, closures case.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Logical_Boolean_Expressions/type_t04.dart b/Language/Expressions/Logical_Boolean_Expressions/type_t04.dart
index 7ec88ed..cfc5f6e 100644
--- a/Language/Expressions/Logical_Boolean_Expressions/type_t04.dart
+++ b/Language/Expressions/Logical_Boolean_Expressions/type_t04.dart
@@ -17,7 +17,6 @@
/// e1 or e2 shows that v has type T and v is not mutated anywhere in its scope
/// then b shows that v has type T regardless of whether there are closures
/// capturing v. Local variable, closures case.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Logical_Boolean_Expressions/type_t05.dart b/Language/Expressions/Logical_Boolean_Expressions/type_t05.dart
index 940b08c..6e5b7f1 100644
--- a/Language/Expressions/Logical_Boolean_Expressions/type_t05.dart
+++ b/Language/Expressions/Logical_Boolean_Expressions/type_t05.dart
@@ -16,7 +16,6 @@
/// @description Checks that if v is local variable or formal parameter, either
/// e1 or e2 shows that v has type T and v is not mutated in e2 or within a
/// closure, then b shows that v has type T. Formal parameter, no closures case.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Logical_Boolean_Expressions/type_t06.dart b/Language/Expressions/Logical_Boolean_Expressions/type_t06.dart
index 3c2139d..4298e8b 100644
--- a/Language/Expressions/Logical_Boolean_Expressions/type_t06.dart
+++ b/Language/Expressions/Logical_Boolean_Expressions/type_t06.dart
@@ -16,7 +16,6 @@
/// @description Checks that if v is local variable or formal parameter, either
/// e1 or e2 shows that v has type T and v is not mutated in e2 or within a
/// closure, then b shows that v has type T. Local variable, no closures case.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Logical_Boolean_Expressions/type_t07.dart b/Language/Expressions/Logical_Boolean_Expressions/type_t07.dart
index 4398968..02fcb40 100644
--- a/Language/Expressions/Logical_Boolean_Expressions/type_t07.dart
+++ b/Language/Expressions/Logical_Boolean_Expressions/type_t07.dart
@@ -16,7 +16,6 @@
/// @description Checks that if v is local variable or formal parameter, either
/// e1 or e2 shows that v has type T and v is not mutated in e2 or within a
/// closure, then b shows that v has type T. Formal parameter, closures case.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Logical_Boolean_Expressions/type_t08.dart b/Language/Expressions/Logical_Boolean_Expressions/type_t08.dart
index ea48f96..ffed0bc 100644
--- a/Language/Expressions/Logical_Boolean_Expressions/type_t08.dart
+++ b/Language/Expressions/Logical_Boolean_Expressions/type_t08.dart
@@ -16,7 +16,6 @@
/// @description Checks that if v is local variable or formal parameter, either
/// e1 or e2 shows that v has type T and v is not mutated in e2 or within a
/// closure, then b shows that v has type T. Local variable, closures case.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Logical_Boolean_Expressions/type_t24.dart b/Language/Expressions/Logical_Boolean_Expressions/type_t24.dart
index 3d480eb..1645af6 100644
--- a/Language/Expressions/Logical_Boolean_Expressions/type_t24.dart
+++ b/Language/Expressions/Logical_Boolean_Expressions/type_t24.dart
@@ -17,7 +17,6 @@
/// e1 shows that v has type T, v is not mutated in either e1, e2 or within a
/// closure, and v is not captured by a closure in e2,
/// then the type of v is known to be T in e2, even if v is mutated elsewhere.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Lookup/Getter_and_Setter_Lookup/definition_t09.dart b/Language/Expressions/Lookup/Getter_and_Setter_Lookup/definition_t09.dart
index d2b26f6..7567a77 100644
--- a/Language/Expressions/Lookup/Getter_and_Setter_Lookup/definition_t09.dart
+++ b/Language/Expressions/Lookup/Getter_and_Setter_Lookup/definition_t09.dart
@@ -10,13 +10,15 @@
/// up getter (respectively setter) m in S with respect to L. Otherwise, we say
/// that the lookup has failed.
/// @description Checks that an implicit getter cannot be looked up dynamically.
-/// @compile-error
/// @author msyabro, sgrekhov@unipro.ru
class A {
Object? test() {
return a;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Lookup/Getter_and_Setter_Lookup/definition_t10.dart b/Language/Expressions/Lookup/Getter_and_Setter_Lookup/definition_t10.dart
index 2249611..85fabbd 100644
--- a/Language/Expressions/Lookup/Getter_and_Setter_Lookup/definition_t10.dart
+++ b/Language/Expressions/Lookup/Getter_and_Setter_Lookup/definition_t10.dart
@@ -10,14 +10,19 @@
/// up getter (respectively setter) m in S with respect to L. Otherwise, we say
/// that the lookup has failed.
/// @description Checks that an implicit setter cannot be looked up dynamically.
-/// @compile-error
/// @author sgrekhov@unipro.ru
class A {
Object? test() {
a = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
return a;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Maps/constant_map_key_value_t01.dart b/Language/Expressions/Maps/constant_map_key_value_t01.dart
index edd1476..2527472 100644
--- a/Language/Expressions/Maps/constant_map_key_value_t01.dart
+++ b/Language/Expressions/Maps/constant_map_key_value_t01.dart
@@ -6,11 +6,13 @@
/// entry in a constant map literal is not a compile-time constant.
/// @description Checks that it is a compile-time error if the key is not a
/// constant string.
-/// @compile-error
/// @author hlodvig
main() {
var x;
var arr = const {"$x": 1};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Maps/constant_map_key_value_t03.dart b/Language/Expressions/Maps/constant_map_key_value_t03.dart
index b93b33d..73d2fcd 100644
--- a/Language/Expressions/Maps/constant_map_key_value_t03.dart
+++ b/Language/Expressions/Maps/constant_map_key_value_t03.dart
@@ -6,11 +6,13 @@
/// entry in a constant map literal is not a compile-time constant.
/// @description Checks that it is a compile-time error if the key is some
/// object.
-/// @compile-error
/// @author hlodvig
class A{}
main() {
var arr = const {new A(): 1};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Maps/constant_map_t01.dart b/Language/Expressions/Maps/constant_map_t01.dart
index 2ce5256..84ef6bb 100644
--- a/Language/Expressions/Maps/constant_map_t01.dart
+++ b/Language/Expressions/Maps/constant_map_t01.dart
@@ -6,11 +6,13 @@
/// in a constant map literal is not a compile-time constant.
/// @description Checks that it is a compile-error if a key of an entry
/// in a constant map literal is not a compile-time constant.
-/// @compile-error
/// @author msyabro
main() {
var x;
const {"$x": 1};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Maps/constant_map_t02.dart b/Language/Expressions/Maps/constant_map_t02.dart
index 93d67fc..608d038 100644
--- a/Language/Expressions/Maps/constant_map_t02.dart
+++ b/Language/Expressions/Maps/constant_map_t02.dart
@@ -6,11 +6,13 @@
/// in a constant map literal is not a compile-time constant.
/// @description Checks that it is a compile-error if a value of an entry
/// in a constant map literal is not a compile-time constant.
-/// @compile-error
/// @author msyabro
main() {
Object o = [1, 2];
const { "key": o };
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Maps/key_value_equals_operator_t01.dart b/Language/Expressions/Maps/key_value_equals_operator_t01.dart
index 789aa90..a60b54e 100644
--- a/Language/Expressions/Maps/key_value_equals_operator_t01.dart
+++ b/Language/Expressions/Maps/key_value_equals_operator_t01.dart
@@ -9,7 +9,6 @@
/// @description Checks that compile-error is produced for const
/// Map<dynamic,dynamic> literal that contains a non-string, non-integer key
/// whose class implements operator ==.
-/// @compile-error
/// @author ilya
@@ -20,4 +19,7 @@
main() {
var x = const {const C(): 1};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Maps/static_type_dynamic_t01.dart b/Language/Expressions/Maps/static_type_dynamic_t01.dart
index 6248406..31b0e26 100644
--- a/Language/Expressions/Maps/static_type_dynamic_t01.dart
+++ b/Language/Expressions/Maps/static_type_dynamic_t01.dart
@@ -7,7 +7,6 @@
/// Map<dynamic, dynamic>.
/// @description Checks that static type of map literal with omitted type
/// arguments is indeed Map<dynamic, dynamic>. No static warnings expected.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Maps/static_type_t01.dart b/Language/Expressions/Maps/static_type_t01.dart
index caafddd..98b1456 100644
--- a/Language/Expressions/Maps/static_type_t01.dart
+++ b/Language/Expressions/Maps/static_type_t01.dart
@@ -8,7 +8,6 @@
/// @description Checks that the static type of a map literal is Map<String, V>
/// by ensuring there're no static warnings when assigning such map to a
/// variable of appropriate type.
-/// @static-clean
/// @author msyabro
diff --git a/Language/Expressions/Maps/static_type_t02.dart b/Language/Expressions/Maps/static_type_t02.dart
index f1fb72a..fe1bb15 100644
--- a/Language/Expressions/Maps/static_type_t02.dart
+++ b/Language/Expressions/Maps/static_type_t02.dart
@@ -7,10 +7,12 @@
/// Map<K, V>.
/// @description Checks that a compile error occurs when assigning a constant
/// map literal to an int variable.
-/// @compile-error
/// @author msyabro
main() {
int i = const <String, String> {};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Maps/static_type_t03.dart b/Language/Expressions/Maps/static_type_t03.dart
index 237788c..1e30f85 100644
--- a/Language/Expressions/Maps/static_type_t03.dart
+++ b/Language/Expressions/Maps/static_type_t03.dart
@@ -7,10 +7,12 @@
/// Map<K, V>.
/// @description Checks that a compile error occurs when assigning a map literal
/// to a String variable.
-/// @compile-error
/// @author msyabro
main() {
String s = <String, String> {};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Maps/static_type_t04.dart b/Language/Expressions/Maps/static_type_t04.dart
index cec2730..7850920 100644
--- a/Language/Expressions/Maps/static_type_t04.dart
+++ b/Language/Expressions/Maps/static_type_t04.dart
@@ -8,10 +8,12 @@
/// @description Checks that a compile error occurs when assigning a
/// <String, int> constant map literal to a variable with declared type
/// Map<int, int> (non-constant).
-/// @compile-error
/// @author iefremov
main() {
Map<int, int> i = const <String, int> {};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Maps/static_type_t05.dart b/Language/Expressions/Maps/static_type_t05.dart
index d4d1893..e607f3b 100644
--- a/Language/Expressions/Maps/static_type_t05.dart
+++ b/Language/Expressions/Maps/static_type_t05.dart
@@ -7,10 +7,12 @@
/// Map<K, V>.
/// @description Checks that a compile error occurs when assigning a
/// <String, int> map literal to a variable with declared type Map<int, int>.
-/// @compile-error
/// @author iefremov
main() {
Map<int, int> i = <String, int> {};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Maps/syntax_t03.dart b/Language/Expressions/Maps/syntax_t03.dart
index cb32ac6..47b35a2 100644
--- a/Language/Expressions/Maps/syntax_t03.dart
+++ b/Language/Expressions/Maps/syntax_t03.dart
@@ -14,12 +14,14 @@
/// value. Each key and each value is denoted by an expression.
/// @description Checks that it is a compile-time error if map entries
/// are not separated by a comma.
-/// @compile-error
/// @author msyabro
main() {
try {
{"1": 1 "2" : 2};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Maps/syntax_t04.dart b/Language/Expressions/Maps/syntax_t04.dart
index a06a9fd..6862bb8 100644
--- a/Language/Expressions/Maps/syntax_t04.dart
+++ b/Language/Expressions/Maps/syntax_t04.dart
@@ -14,10 +14,12 @@
/// value. Each key and each value is denoted by an expression.
/// @description Checks that it is a compile-time error if a key and a value are
/// not separated by a colon.
-/// @compile-error
/// @author msyabro
main() {
var map = {"1" 1};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Maps/syntax_t05.dart b/Language/Expressions/Maps/syntax_t05.dart
index ac14c9a..e7e1651 100644
--- a/Language/Expressions/Maps/syntax_t05.dart
+++ b/Language/Expressions/Maps/syntax_t05.dart
@@ -13,10 +13,12 @@
/// A map literal consists of zero or more entries. Each entry has a key and a
/// value. Each key and each value is denoted by an expression.
/// @description Checks that a map literal can't contain an empty entry.
-/// @compile-error
/// @author msyabro
main() {
<String, int>{"key1": 1, "key2" : 2,,"key3":3};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Maps/syntax_t06.dart b/Language/Expressions/Maps/syntax_t06.dart
index a3a528e..fcdc7bf 100644
--- a/Language/Expressions/Maps/syntax_t06.dart
+++ b/Language/Expressions/Maps/syntax_t06.dart
@@ -13,10 +13,12 @@
/// A map literal consists of zero or more entries. Each entry has a key and a
/// value. Each key and each value is denoted by an expression.
/// @description Checks that a map literal can't begin with an empty entry.
-/// @compile-error
/// @author msyabro
main() {
var map = <String, int>{, "key1": 1, "key2" : 2, "key3": 3};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Maps/syntax_t07.dart b/Language/Expressions/Maps/syntax_t07.dart
index 68541e1..5632dbf 100644
--- a/Language/Expressions/Maps/syntax_t07.dart
+++ b/Language/Expressions/Maps/syntax_t07.dart
@@ -14,10 +14,15 @@
/// value. Each key and each value is denoted by an expression.
/// @description Checks that it is a compile-time error if a map literal
/// does not begin with '{'.
-/// @compile-error
/// @author msyabro
main() {
"key": 1 };
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Expressions/Maps/syntax_t08.dart b/Language/Expressions/Maps/syntax_t08.dart
index 4590af0..e0406f5 100644
--- a/Language/Expressions/Maps/syntax_t08.dart
+++ b/Language/Expressions/Maps/syntax_t08.dart
@@ -14,10 +14,19 @@
/// value. Each key and each value is denoted by an expression.
/// @description Checks that it is a compile-time error if a map literal
/// does not end with '}'.
-/// @compile-error
/// @author msyabro
main() {
+// ^
+// [cfe] unspecified
var x = {"key1": true, "key2":false;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 32, column 0]
+// [analyzer] unspecified
\ No newline at end of file
diff --git a/Language/Expressions/Maps/syntax_t09.dart b/Language/Expressions/Maps/syntax_t09.dart
index 2580ef4..455db38 100644
--- a/Language/Expressions/Maps/syntax_t09.dart
+++ b/Language/Expressions/Maps/syntax_t09.dart
@@ -14,10 +14,12 @@
/// value. Each key and each value is denoted by an expression.
/// @description Checks that it is a compile-time error if a key in a map
/// literal is not a valid expression.
-/// @compile-error
/// @author kaigorodov
main() {
var x = {1{}: 1};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Maps/syntax_t10.dart b/Language/Expressions/Maps/syntax_t10.dart
index 2cbc4b5..0b3f886 100644
--- a/Language/Expressions/Maps/syntax_t10.dart
+++ b/Language/Expressions/Maps/syntax_t10.dart
@@ -14,10 +14,15 @@
/// value. Each key and each value is denoted by an expression.
/// @description Checks that it is a compile-time error if a const map literal
/// does not begin with '{'.
-/// @compile-error
/// @author kaigorodov
main() {
var x = const <String, int> "key": 1 };
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t02.dart b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t02.dart
index 8839c80..76601c3 100644
--- a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t02.dart
+++ b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t02.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if '..' is not followed
/// by a suffix.
-/// @compile-error
/// @author msyabro
@@ -24,5 +23,8 @@
main() {
var o = new C();
o..;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t03.dart b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t03.dart
index 76ac3e6..d3d6526 100644
--- a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t03.dart
+++ b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t03.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if '..' is not followed
/// by a suffix.
-/// @compile-error
/// @author msyabro
@@ -26,5 +25,8 @@
main() {
var o = new C();
o..m1()..m1()..;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t04.dart b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t04.dart
index cebd4f8..406f4ec 100644
--- a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t04.dart
+++ b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t04.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if '..' is followed by
/// another '..'.
-/// @compile-error
/// @author msyabro
@@ -26,5 +25,8 @@
main() {
var o = new C();
o.. ..m1();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t05.dart b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t05.dart
index aff49b4..427ab60 100644
--- a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t05.dart
+++ b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t05.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if method is invoked
/// via '...' in a cascaded invocation.
-/// @compile-error
/// @author msyabro
@@ -26,5 +25,8 @@
main() {
var o = new C();
o...m1();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t06.dart b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t06.dart
index dfe89c7..142e2d2 100644
--- a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t06.dart
+++ b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t06.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if suffix is a number
/// literal.
-/// @compile-error
/// @author msyabro
@@ -26,5 +25,8 @@
main() {
var o = new C();
o..1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t07.dart b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t07.dart
index 52a436d..1a04a38 100644
--- a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t07.dart
+++ b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t07.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if suffix is a string
/// literal.
-/// @compile-error
/// @author msyabro
@@ -26,5 +25,8 @@
main() {
var o = new C();
o..'';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t08.dart b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t08.dart
index 51b1b73..7310b9c 100644
--- a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t08.dart
+++ b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t08.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if suffix is a list
/// literal.
-/// @compile-error
/// @author msyabro
@@ -26,5 +25,8 @@
main() {
var o = new C();
o..[1, 2, 3];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t09.dart b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t09.dart
index 9f8afda..2183f97 100644
--- a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t09.dart
+++ b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t09.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if suffix is a map
/// literal.
-/// @compile-error
/// @author msyabro
@@ -26,5 +25,8 @@
main() {
var o = new C();
o..{'k1': 1, 'k2': 2};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t10.dart b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t10.dart
index d730a1d..763ec0e 100644
--- a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t10.dart
+++ b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t10.dart
@@ -14,7 +14,6 @@
/// identifier
/// ;
/// @description Checks that it is a compile-time error if suffix is null.
-/// @compile-error
/// @author msyabro
@@ -25,5 +24,8 @@
main() {
var o = new C();
o..null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t11.dart b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t11.dart
index bb4e870..a03808f 100644
--- a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t11.dart
+++ b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t11.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if suffix is a boolean
/// literal.
-/// @compile-error
/// @author msyabro
@@ -26,5 +25,8 @@
main() {
var o = new C();
o..false;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t12.dart b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t12.dart
index 566a64b..4aaf563 100644
--- a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t12.dart
+++ b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t12.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if suffix is another
/// cascaded invocation.
-/// @compile-error
/// @author msyabro
@@ -26,5 +25,8 @@
main() {
var c = new C();
c..m1()..(c..m1())..m1();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t13.dart b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t13.dart
index aaeda54..142321c 100644
--- a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t13.dart
+++ b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t13.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if suffix is an
/// instance creation expression.
-/// @compile-error
/// @author msyabro
@@ -26,5 +25,8 @@
main() {
var c = new C();
c..new C();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t14.dart b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t14.dart
index d81aad3..b6dbbac 100644
--- a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t14.dart
+++ b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t14.dart
@@ -14,13 +14,15 @@
/// identifier
/// ;
/// @description Checks that it is a compile-time error if suffix is this.
-/// @compile-error
/// @author msyabro
class C {
test() {
this..this;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t15.dart b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t15.dart
index 580e75c..acc5140 100644
--- a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t15.dart
+++ b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t15.dart
@@ -14,13 +14,15 @@
/// identifier
/// ;
/// @description Checks that it is a compile-time error if suffix is super.
-/// @compile-error
/// @author msyabro
class C {
test() {
this..super;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t17.dart b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t17.dart
index a085637..2b9098c 100644
--- a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t17.dart
+++ b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t17.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if suffix is an
/// additive expression.
-/// @compile-error
/// @author msyabro
@@ -25,5 +24,8 @@
var a = 1;
var b = 0;
new C().. a + b;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t18.dart b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t18.dart
index 50508c5..14b8cf4 100644
--- a/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t18.dart
+++ b/Language/Expressions/Method_Invocation/Cascaded_Invocations/syntax_t18.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if suffix is an unary
/// expression.
-/// @compile-error
/// @author msyabro
@@ -24,4 +23,7 @@
main() {
var a = 1;
C()..a++;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t01.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t01.dart
index 72f3c16..0fe9ef6 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t01.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t01.dart
@@ -17,7 +17,6 @@
/// to its subtypes.
/// @description Checks that it is a compile error if T does not have an
/// instance member named m.
-/// @compile-error
/// @author msyabro
@@ -26,5 +25,8 @@
main() {
C o = new C();
o.nonExistingMethod();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t02.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t02.dart
index 2cf529a..64b5a7d 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t02.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t02.dart
@@ -17,7 +17,6 @@
/// to its subtypes.
/// @description Checks that it is a compile error if member m exists in
/// T but is inaccessible.
-/// @compile-error
/// @author msyabro
@@ -26,4 +25,7 @@
main() {
C o = new C();
o._func();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t03.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t03.dart
index b924956..bf37f53 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t03.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t03.dart
@@ -17,7 +17,6 @@
/// to its subtypes.
/// @description Checks that there is a compile error if T does not
/// have an instance member named m
-/// @compile-error
/// @author kaigorodov
class C {}
@@ -25,4 +24,7 @@
main() {
C o = new C();
o.nonExistingMethod();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t05.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t05.dart
index 33cf7d1..f089e71 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t05.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t05.dart
@@ -17,7 +17,6 @@
/// to its subtypes.
/// @description Checks that there is no static type warning if T is a constant
/// type literal and the class corresponding to e has a static getter named m.
-/// @static-clean
/// @author ngl@unipro.ru
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t06.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t06.dart
index 834dd8f..7d96939 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t06.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t06.dart
@@ -17,7 +17,6 @@
/// to its subtypes.
/// @description Checks that there is no static type warning if T is Function
/// and m is call.
-/// @static-clean
/// @author ngl@unipro.ru
import '../../../../Utils/expect.dart';
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t08.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t08.dart
index 4b5e238..733893d 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t08.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t08.dart
@@ -18,7 +18,6 @@
/// @description Checks that there is no static warning if T is a local function
/// and m is a method call. Local function is declared in an instance method of
/// a class that extends class Function and implements method call.
-/// @static-clean
/// @author ngl@unipro.ru
import '../../../../Utils/expect.dart';
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t09.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t09.dart
index 5596d89..c9585ec 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t09.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/accessible_instance_member_t09.dart
@@ -17,7 +17,6 @@
/// to its subtypes.
/// @description Checks that there is no static type warning if T is a constant
/// type literal and the class corresponding to e has a static getter named m.
-/// @static-clean
/// @author ngl@unipro.ru
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/conditional_static_type_t01.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/conditional_static_type_t01.dart
index 67bda73..8eea7b5 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/conditional_static_type_t01.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/conditional_static_type_t01.dart
@@ -8,7 +8,6 @@
/// The static type of e is the same as the static type of
/// o.m(a1, . . . , an, xn+1 : an+1, . . . , xn+k : an+k).
/// @description Check that static type of the o?.m() is the same as o.m().
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/conditional_warning_t02.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/conditional_warning_t02.dart
index 3118853..587da7a 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/conditional_warning_t02.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/conditional_warning_t02.dart
@@ -7,7 +7,6 @@
/// in the case of o?.m(a1, . . . , an, xn+1 : an+1, . . . , xn+k : an+k).
/// @description Check that if o.m() produces no static type warning then o?.m()
/// produces no warning as well
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/function_type_t01.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/function_type_t01.dart
index 77215b3..9130750 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/function_type_t01.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/function_type_t01.dart
@@ -8,15 +8,20 @@
/// assigned to a function type.
/// @description Checks that it is a compile error if T.m cannot be
/// assigned to a function type.
-/// @compile-error
/// @author msyabro
class C {
int m;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C o;
o.m();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/function_type_t02.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/function_type_t02.dart
index cac9f38..9004571 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/function_type_t02.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/function_type_t02.dart
@@ -9,14 +9,19 @@
/// @description Checks static invocations, when T denotes a class C declared
/// in the current scope. It is a compile error if the type of C.m can not
/// be assigned to a function type.
-/// @compile-error
/// @author msyabro
class C {
static int m;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.m();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t08.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t08.dart
index be3ab21..8fe2ef3 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t08.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t08.dart
@@ -21,10 +21,12 @@
/// im, and the result of this invocation is the result of evaluating i.
/// @description Checks static invocations when C does not denote a class in
/// the current scope. This causes a compile error
-/// @compile-error
/// @author msyabro
main() {
C.func();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t09.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t09.dart
index db630c1..5f0ffe9 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t09.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t09.dart
@@ -21,7 +21,6 @@
/// im, and the result of this invocation is the result of evaluating i.
/// @description Checks static invocations when class C does not declare any
/// members named m. This causes a compile error
-/// @compile-error
/// @author msyabro
@@ -29,4 +28,7 @@
main() {
C.m();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t10.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t10.dart
index a00900a..478049e 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t10.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t10.dart
@@ -21,7 +21,6 @@
/// im, and the result of this invocation is the result of evaluating i.
/// @description Checks that it is a compile error when class C does not declare
/// a static method m even though its superclass does.
-/// @compile-error
/// @author msyabro
@@ -33,4 +32,7 @@
main() {
C.m();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t11.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t11.dart
index 5ecc900..0a5eb8f 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t11.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t11.dart
@@ -21,7 +21,6 @@
/// im, and the result of this invocation is the result of evaluating i.
/// @description Checks static invocations when class C declares an instance
/// method with the name m instead of a static one. This causes a compile error
-/// @compile-error
/// @author msyabro
@@ -31,4 +30,7 @@
main() {
C.m();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t12.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t12.dart
index bfa5938..1453aa0 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t12.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t12.dart
@@ -21,7 +21,6 @@
/// im, and the result of this invocation is the result of evaluating i.
/// @description Checks static invocations when interface C does not declare
/// a static method or getter m. This causes a compile error
-/// @compile-error
/// @author msyabro
@@ -31,4 +30,7 @@
main() {
C.m();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t13.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t13.dart
index d19cd65..81d4d2d 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t13.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t13.dart
@@ -22,7 +22,6 @@
/// @description Checks static invocations when class C inherits an instance
/// method with the name m instead of declaring a static one. It is a compile
/// error
-/// @compile-error
/// @author rodionov
class S {
@@ -33,4 +32,7 @@
main() {
C.m();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t14.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t14.dart
index 4408ec6..ab8536c 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t14.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t14.dart
@@ -21,7 +21,6 @@
/// im, and the result of this invocation is the result of evaluating i.
/// @description Checks static invocations when class C has an instance getter
/// named m instead of a static method. This causes a compile error
-/// @compile-error
/// @author rodionov
@@ -31,4 +30,7 @@
main() {
C.m();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t15.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t15.dart
index b740d17..79a753a 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t15.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t15.dart
@@ -22,7 +22,6 @@
/// @description Checks static invocations when class C inherits an instance
/// getter named m instead of declaring a static method. This causes a compile
/// error
-/// @compile-error
/// @author rodionov
@@ -34,4 +33,7 @@
main() {
C.m();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t16.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t16.dart
index 76eb3ae..4c2555b 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t16.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t16.dart
@@ -21,7 +21,6 @@
/// im, and the result of this invocation is the result of evaluating i.
/// @description Checks that it is a compile error if m is not null and not
/// function and getter is declared implicitly.
-/// @compile-error
/// @author msyabro
@@ -31,4 +30,7 @@
main() {
C.func();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t19.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t19.dart
index 6988ad4..c35553a 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t19.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t19.dart
@@ -22,7 +22,6 @@
/// @description Checks that it is a compile error if C does not
/// denote a class in the current scope, or if C does not declare a static
/// method or getter with the required name.
-/// @compile-error
/// @author rodionov
import "../../../../Utils/expect.dart";
@@ -35,5 +34,11 @@
main() {
Expect.throws(() {C.func();}, (e) => e is NoSuchMethodError);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
Expect.throws(() {C.getter;}, (e) => e is NoSuchMethodError);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t21.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t21.dart
index 74aedab..bc9abc4 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t21.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t21.dart
@@ -23,7 +23,6 @@
/// C.m() is equivalent to the expression C.m(...), which in turn is
/// equivalent to C.m.call(...). It's a compile error if there are any parameters
/// mismatch
-/// @compile-error
/// @author rodionov
@@ -41,5 +40,11 @@
main() {
C.m();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
C.m(1, 2, 3);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t22.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t22.dart
index 76a5c1c..ba66de9 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t22.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/method_lookup_failed_t22.dart
@@ -21,7 +21,6 @@
/// im, and the result of this invocation is the result of evaluating i.
/// @description Checks that it's a compile error if C does not denote a class in
/// the current scope
-/// @compile-error
/// @author rodionov
@@ -33,4 +32,7 @@
main() {
NonExistentClass.func();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/object_method_invocation_t01.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/object_method_invocation_t01.dart
index c6afbad..eeca51d 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/object_method_invocation_t01.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/object_method_invocation_t01.dart
@@ -7,7 +7,6 @@
/// followed by the token ‘.’.
/// @description Checks that there is a compile error if any of the methods of
/// class Object is invoking on prefix object.
-/// @compile-error
/// @issue #25496
/// @author ngl@unipro.ru
@@ -15,4 +14,7 @@
main() {
lb.toString();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/object_method_invocation_t02.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/object_method_invocation_t02.dart
index acf5019..183fb02 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/object_method_invocation_t02.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/object_method_invocation_t02.dart
@@ -7,7 +7,6 @@
/// followed by the token ‘.’.
/// @description Checks that there is a compile error if any of the methods of
/// class Object is invoking on a constant type literal.
-/// @compile-error
/// @issue #25496
/// @author ngl@unipro.ru
@@ -15,4 +14,7 @@
main() {
A.toString();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/static_type_t01.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/static_type_t01.dart
index 84103e4..839e994 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/static_type_t01.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/static_type_t01.dart
@@ -10,7 +10,6 @@
/// dynamic when F is not a function type (but can be assigned to it) by
/// ensuring that there're no static warnings when a result of such invocation
/// is being assigned to variables with various declared types.
-/// @static-clean
/// @author rodionov
// Requirements=nnbd-strong
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/static_type_t02.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/static_type_t02.dart
index b32dd9a..632f9a9 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/static_type_t02.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/static_type_t02.dart
@@ -8,7 +8,6 @@
/// is Dynamic; otherwise the static type of i is the declared return type of F.
/// @description Checks that the static type of a method invocation is the
/// declared return type of F.
-/// @static-clean
/// @author msyabro
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/static_type_t03.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/static_type_t03.dart
index a07d426..78d4f38 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/static_type_t03.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/static_type_t03.dart
@@ -9,7 +9,6 @@
/// @description Checks static invocations, when T denotes a class in the
/// current scope. Static type of a static method invocation is the declared
/// return type of F.
-/// @static-clean
/// @author msyabro
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/static_type_t04.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/static_type_t04.dart
index 751c439..7759d64 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/static_type_t04.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/static_type_t04.dart
@@ -11,7 +11,6 @@
/// is not a function type (but can be assigned to it) by ensuring that there
/// are no static warnings when a result of such invocation is being assigned
/// to variables with various declared types.
-/// @static-clean
/// @author rodionov
// Requirements=nnbd-strong
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/syntax_t02.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/syntax_t02.dart
index 3798f43..025ccaf 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/syntax_t02.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/syntax_t02.dart
@@ -6,11 +6,13 @@
/// o.m(a1, ..., an, xn+1 : an+1, ..., xn+k : an+k).
/// @description Checks that it is a compile-time error if named arguments
/// precede positional arguments.
-/// @compile-error
/// @author msyabro
main() {
var o;
o.f(name: null, 1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/syntax_t03.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/syntax_t03.dart
index 4711782..3506a97 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/syntax_t03.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/syntax_t03.dart
@@ -6,11 +6,13 @@
/// o.m(a1, ..., an, xn+1 : an+1, ..., xn+k : an+k).
/// @description Checks that it is a compile-time error if named arguments
/// placed in between positional arguments.
-/// @compile-error
/// @author msyabro
main() {
var o;
o.f(1, name: null, 1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/syntax_t04.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/syntax_t04.dart
index 005ae32..70a85d9 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/syntax_t04.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/syntax_t04.dart
@@ -5,11 +5,13 @@
/// @assertion An unconditional ordinary method invocation i has the form
/// o.m(a1, ..., an, xn+1 : an+1, ..., xn+k : an+k).
/// @description Checks that arguments must be separated with comma.
-/// @compile-error
/// @author msyabro
main() {
var o;
o.f(1 2);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/syntax_t07.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/syntax_t07.dart
index a445ca0..7efa70d 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/syntax_t07.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/syntax_t07.dart
@@ -7,7 +7,6 @@
/// @description Checks static invocations, when o denotes a class in the
/// current scope. It is a compile-time error if named arguments precede
/// positional arguments.
-/// @compile-error
/// @author msyabro
@@ -17,4 +16,7 @@
main() {
C.f(name: null, 1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/syntax_t08.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/syntax_t08.dart
index 41b0219..41bb0b4 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/syntax_t08.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/syntax_t08.dart
@@ -7,7 +7,6 @@
/// @description Checks static invocations, when o denotes a class in the
/// current scope. It is a compile-time error if named arguments placed in
/// between positional arguments.
-/// @compile-error
/// @author msyabro
@@ -17,4 +16,7 @@
main() {
C.f(1, name: null, 1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Ordinary_Invocation/syntax_t09.dart b/Language/Expressions/Method_Invocation/Ordinary_Invocation/syntax_t09.dart
index 2dc5acb..3e0e25f 100644
--- a/Language/Expressions/Method_Invocation/Ordinary_Invocation/syntax_t09.dart
+++ b/Language/Expressions/Method_Invocation/Ordinary_Invocation/syntax_t09.dart
@@ -6,7 +6,6 @@
/// o.m(a1, ..., an, xn+1 : an+1, ..., xn+k : an+k).
/// @description Checks static invocations, when o denotes a class in the
/// current scope. Arguments must be separated with a comma.
-/// @compile-error
/// @author msyabro
@@ -16,4 +15,7 @@
main() {
C.f(1 2);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/accessible_instance_member_t01.dart b/Language/Expressions/Method_Invocation/Super_Invocation/accessible_instance_member_t01.dart
index 28f4c04..816dd9a 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/accessible_instance_member_t01.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/accessible_instance_member_t01.dart
@@ -9,7 +9,6 @@
/// defined in dart:core.
/// @description Checks that it is a compile error if S does not have
/// an instance member named m.
-/// @compile-error
/// @author msyabro
@@ -18,6 +17,9 @@
class A extends S {
test() {
super.m();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/accessible_instance_member_t02.dart b/Language/Expressions/Method_Invocation/Super_Invocation/accessible_instance_member_t02.dart
index 9b4c31e..6efc992 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/accessible_instance_member_t02.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/accessible_instance_member_t02.dart
@@ -9,7 +9,6 @@
/// defined in dart:core.
/// @description Checks that it is a compile error if member m in S is
/// inaccessible.
-/// @compile-error
/// @author msyabro
@@ -18,6 +17,9 @@
class A extends C {
test() {
super._func();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/accessible_instance_member_t03.dart b/Language/Expressions/Method_Invocation/Super_Invocation/accessible_instance_member_t03.dart
index ca33028..e9d8e27 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/accessible_instance_member_t03.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/accessible_instance_member_t03.dart
@@ -9,7 +9,6 @@
/// defined in dart:core.
/// @description Checks that it is a compile error if superclass
/// does not have an instance member named m
-/// @compile-error
/// @author kaigorodov
class S {}
@@ -17,6 +16,9 @@
class A extends S {
test() {
super.nonExistingMethod();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/accessible_instance_member_t04.dart b/Language/Expressions/Method_Invocation/Super_Invocation/accessible_instance_member_t04.dart
index c68f583..b2b9131 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/accessible_instance_member_t04.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/accessible_instance_member_t04.dart
@@ -9,7 +9,6 @@
/// defined in dart:core.
/// @description Checks that there is a compile error if superclass
/// does not have an instance member named m
-/// @compile-error
/// @author kaigorodov
class I {}
@@ -19,6 +18,9 @@
class A extends S {
test() {
super.nonExistingMethod();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/accessible_instance_member_t05.dart b/Language/Expressions/Method_Invocation/Super_Invocation/accessible_instance_member_t05.dart
index 0f9eccb..b7f4086 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/accessible_instance_member_t05.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/accessible_instance_member_t05.dart
@@ -9,7 +9,6 @@
/// defined in dart:core.
/// @description Checks that there is a compile error if superclass
/// does not have an instance member named m
-/// @compile-error
/// @author kaigorodov
class I {}
@@ -19,6 +18,9 @@
class A extends S {
test() {
super.nonExistingMethod();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/evaluation_t05.dart b/Language/Expressions/Method_Invocation/Super_Invocation/evaluation_t05.dart
index 05d9bec..ca80bdc 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/evaluation_t05.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/evaluation_t05.dart
@@ -22,7 +22,6 @@
/// @description Checks that it's a compile error if a form super.m() has a
/// parameters mismatch listed above with the enclosing class's instance method.
/// Test less positional parameters
-/// @compile-error
/// @author ilya
@@ -33,6 +32,9 @@
class C extends S {
test() {
super.positional(1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/evaluation_t06.dart b/Language/Expressions/Method_Invocation/Super_Invocation/evaluation_t06.dart
index fbd8655..1ee6fc3 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/evaluation_t06.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/evaluation_t06.dart
@@ -22,7 +22,6 @@
/// @description Checks that it's a compile error if a form super.m() has a
/// parameters mismatch listed above with the enclosing class's instance method.
/// Test more positional parameters
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -33,6 +32,9 @@
class C extends S {
test() {
super.positional(1, 2, 3, 4, 5);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/evaluation_t07.dart b/Language/Expressions/Method_Invocation/Super_Invocation/evaluation_t07.dart
index d5cfacc..fea14e4 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/evaluation_t07.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/evaluation_t07.dart
@@ -22,7 +22,6 @@
/// @description Checks that it's a compile error if a form super.m() has a
/// parameters mismatch listed above with the enclosing class's instance method.
/// Test named parameters
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -33,6 +32,9 @@
class C extends S {
test() {
super.named(1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/evaluation_t08.dart b/Language/Expressions/Method_Invocation/Super_Invocation/evaluation_t08.dart
index 6ad8ea6..55fa4bd 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/evaluation_t08.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/evaluation_t08.dart
@@ -22,7 +22,6 @@
/// @description Checks that it's a compile error if a form super.m() has a
/// parameters mismatch listed above with the enclosing class's instance method.
/// Test more named parameters
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -33,6 +32,9 @@
class C extends S {
test() {
super.named(1, 2, 3);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/evaluation_t09.dart b/Language/Expressions/Method_Invocation/Super_Invocation/evaluation_t09.dart
index f74c183..ecf27aa 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/evaluation_t09.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/evaluation_t09.dart
@@ -22,7 +22,6 @@
/// @description Checks that it's a compile error if a form super.m() has a
/// parameters mismatch listed above with the enclosing class's instance method.
/// Test named parameters mismatch
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -33,6 +32,9 @@
class C extends S {
test() {
super.named(1, 2, foo:0, a:1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/getter_lookup_failed_t01.dart b/Language/Expressions/Method_Invocation/Super_Invocation/getter_lookup_failed_t01.dart
index d37b513..3b8a988 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/getter_lookup_failed_t01.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/getter_lookup_failed_t01.dart
@@ -16,7 +16,6 @@
/// @description Checks that it is a compile error if there're no members,
/// instance or static, with the required name in the invoking class's
/// superclass.
-/// @compile-error
/// @author msyabro
class TestException {}
@@ -30,6 +29,9 @@
class A extends S {
test() {
super.nonExistingMethod();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/getter_lookup_failed_t03.dart b/Language/Expressions/Method_Invocation/Super_Invocation/getter_lookup_failed_t03.dart
index b5409c4..b835e72 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/getter_lookup_failed_t03.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/getter_lookup_failed_t03.dart
@@ -15,7 +15,6 @@
/// evaluating i.
/// @description Checks that it is a compile error if there's a static method
/// named m in the invoking class's superclass.
-/// @compile-error
/// @author rodionov
@@ -28,6 +27,9 @@
class A extends S {
test() {
super.sm();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/getter_lookup_failed_t04.dart b/Language/Expressions/Method_Invocation/Super_Invocation/getter_lookup_failed_t04.dart
index 8bd633c..1137b24 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/getter_lookup_failed_t04.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/getter_lookup_failed_t04.dart
@@ -15,7 +15,6 @@
/// evaluating i.
/// @description Checks that it is a compile error if there's a static getter
/// named m in the invoking class's superclass.
-/// @compile-error
/// @author rodionov
@@ -28,6 +27,9 @@
class A extends S {
test() {
super.sm();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t01.dart b/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t01.dart
index 8efb1b0..ffa8d81 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t01.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t01.dart
@@ -8,10 +8,12 @@
/// or in a static method or variable initializer.
/// @description Checks that it is a compile-time error if a super method
/// invocation occurs in a top-level function.
-/// @compile-error
/// @author msyabro
main() {
super.f();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t02.dart b/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t02.dart
index 7004b1f..9788bcf 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t02.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t02.dart
@@ -8,7 +8,6 @@
/// or in a static method or variable initializer.
/// @description Checks that it is a compile-time error if a super method
/// invocation occurs in an instance variable initializer.
-/// @compile-error
/// @author msyabro
@@ -18,6 +17,9 @@
class A extends S {
A(): super(), x = super.f();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
var x;
}
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t03.dart b/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t03.dart
index c7d4429..2d06a3b 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t03.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t03.dart
@@ -8,7 +8,6 @@
/// or in a static method or variable initializer.
/// @description Checks that it is a compile-time error if a super method
/// invocation occurs in a constructor initializer.
-/// @compile-error
/// @author msyabro
@@ -18,6 +17,9 @@
class A extends S {
A(): super(), super.f();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
var x;
}
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t04.dart b/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t04.dart
index 0c509b3..b920a60 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t04.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t04.dart
@@ -8,7 +8,6 @@
/// or in a static method or variable initializer.
/// @description Checks that it is a compile-time error if a super method
/// invocation occurs in a static method.
-/// @compile-error
/// @author msyabro
@@ -19,6 +18,9 @@
class A extends S {
static staticMethod() {
super.f();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t05.dart b/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t05.dart
index 5edf383..94931ae 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t05.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t05.dart
@@ -8,7 +8,6 @@
/// or in a static method or variable initializer.
/// @description Checks that it is a compile-time error if a super method
/// invocation occurs in a static variable initializer.
-/// @compile-error
/// @author msyabro
@@ -18,6 +17,9 @@
class A extends S {
static var v = super.f();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t06.dart b/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t06.dart
index 91b140f..5ab73a3 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t06.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t06.dart
@@ -8,11 +8,13 @@
/// or in a static method or variable initializer.
/// @description Checks that it is a compile-time error if a super method
/// invocation occurs in a top-level variable initializer.
-/// @compile-error
/// @author msyabro
var xx = super.f();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
xx;
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t07.dart b/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t07.dart
index 8968624..482d5e2 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t07.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/invocation_t07.dart
@@ -8,12 +8,14 @@
/// or in a static method or variable initializer.
/// @description Checks that it is a compile-time error if a super method
/// invocation occurs in a factory constructor.
-/// @compile-error
/// @author kaigorodov
abstract class I extends A {
factory I.foo() { return super.make(); }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
class A {
@@ -21,6 +23,9 @@
}
class C implements I {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
C() {}
}
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/method_lookup_failed_t02.dart b/Language/Expressions/Method_Invocation/Super_Invocation/method_lookup_failed_t02.dart
index 78f7a1d..29d5a2e 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/method_lookup_failed_t02.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/method_lookup_failed_t02.dart
@@ -9,7 +9,6 @@
/// with arguments v.g, [o1, ..., on], {xn+1:on+1, ..., xn+k:on+k}.
/// @description Checks that it is a compile error if an implicit getter
/// is invoked and its value is neither null, nor function.
-/// @compile-error
/// @author msyabro
/// @author sgrekhov@unipro.ru
@@ -21,6 +20,9 @@
class A extends S {
test() {
super.func();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/static_type_dynamic_t01.dart b/Language/Expressions/Method_Invocation/Super_Invocation/static_type_dynamic_t01.dart
index fc589fe..60773ed 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/static_type_dynamic_t01.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/static_type_dynamic_t01.dart
@@ -9,7 +9,6 @@
/// type of F.
/// @description Checks that the static type of a method invocation is the
/// declared return type of F.
-/// @static-clean
/// @author msyabro
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/static_type_dynamic_t02.dart b/Language/Expressions/Method_Invocation/Super_Invocation/static_type_dynamic_t02.dart
index 3db9ff7..382fc62 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/static_type_dynamic_t02.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/static_type_dynamic_t02.dart
@@ -11,7 +11,6 @@
/// when F is not a function type (but can be assigned to it) by ensuring that
/// there're no static warnings when a result of such invocation is being
/// assigned to variables with various declared types.
-/// @static-clean
/// @author rodionov
// Requirements=nnbd-strong
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/syntax_t02.dart b/Language/Expressions/Method_Invocation/Super_Invocation/syntax_t02.dart
index 69df6fa..24f2505 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/syntax_t02.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/syntax_t02.dart
@@ -6,7 +6,6 @@
/// super.m(a1, ... , an, xn+1 : an+1, ... , xn+k : an+k).
/// @description Checks that it is a compile-time error if named
/// arguments precede positional arguments.
-/// @compile-error
/// @author msyabro
@@ -17,6 +16,9 @@
class A extends S {
test() {
super.f(name: null, 1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/syntax_t03.dart b/Language/Expressions/Method_Invocation/Super_Invocation/syntax_t03.dart
index 2b96507..76eed82 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/syntax_t03.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/syntax_t03.dart
@@ -6,7 +6,6 @@
/// super.m(a1, ... , an, xn+1 : an+1, ... , xn+k : an+k).
/// @description Checks that it is a compile-time error if named
/// arguments placed in between positional arguments.
-/// @compile-error
/// @author msyabro
@@ -17,6 +16,9 @@
class A extends S {
test() {
super.f(1, name: null, 1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/syntax_t04.dart b/Language/Expressions/Method_Invocation/Super_Invocation/syntax_t04.dart
index ca6a750..63e775d 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/syntax_t04.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/syntax_t04.dart
@@ -5,7 +5,6 @@
/// @assertion A super method invocation i has the form
/// super.m(a1, ... , an, xn+1 : an+1, ... , xn+k : an+k).
/// @description Checks that arguments must be separated with comma.
-/// @compile-error
/// @author msyabro
@@ -16,6 +15,9 @@
class A extends S {
test() {
super.f(new Object() new Object());
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Method_Invocation/Super_Invocation/wrong_type_t01.dart b/Language/Expressions/Method_Invocation/Super_Invocation/wrong_type_t01.dart
index d6bdf46..a8b1774 100644
--- a/Language/Expressions/Method_Invocation/Super_Invocation/wrong_type_t01.dart
+++ b/Language/Expressions/Method_Invocation/Super_Invocation/wrong_type_t01.dart
@@ -8,17 +8,22 @@
/// Sstatic.m may not be assigned to a function type.
/// @description Checks that it is a compile error if S.m can not be
/// assigned to a function type.
-/// @compile-error
/// @author msyabro
class S {
int m;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
class A extends S {
test() {
super.m();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Multiplicative_Expressions/static_type_t01.dart b/Language/Expressions/Multiplicative_Expressions/static_type_t01.dart
index cbcc15b..bc8f4a1 100644
--- a/Language/Expressions/Multiplicative_Expressions/static_type_t01.dart
+++ b/Language/Expressions/Multiplicative_Expressions/static_type_t01.dart
@@ -16,7 +16,6 @@
/// int if the static type of e2 is int.
/// @description Checks special cases for static types of expressions
/// x * y, x % y, x ~/ y when x is int.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Multiplicative_Expressions/syntax_t02.dart b/Language/Expressions/Multiplicative_Expressions/syntax_t02.dart
index 482d2e6..d945d1a 100644
--- a/Language/Expressions/Multiplicative_Expressions/syntax_t02.dart
+++ b/Language/Expressions/Multiplicative_Expressions/syntax_t02.dart
@@ -19,10 +19,12 @@
/// argument e2.
/// @description Checks that expression of the form
/// [unaryExpression ('*' unaryExpression)*] must have at least two operands
-/// @compile-error
/// @author msyabro
main() {
1 *;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Multiplicative_Expressions/syntax_t03.dart b/Language/Expressions/Multiplicative_Expressions/syntax_t03.dart
index 8e43ea1..8a40a56 100644
--- a/Language/Expressions/Multiplicative_Expressions/syntax_t03.dart
+++ b/Language/Expressions/Multiplicative_Expressions/syntax_t03.dart
@@ -19,10 +19,12 @@
/// argument e2.
/// @description Checks that expression of the form
/// [unaryExpression ('/' unaryExpression)*] must have at least two operands
-/// @compile-error
/// @author msyabro
main() {
"" /;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Multiplicative_Expressions/syntax_t04.dart b/Language/Expressions/Multiplicative_Expressions/syntax_t04.dart
index 5e8d7bc..e5bc01c 100644
--- a/Language/Expressions/Multiplicative_Expressions/syntax_t04.dart
+++ b/Language/Expressions/Multiplicative_Expressions/syntax_t04.dart
@@ -19,10 +19,12 @@
/// argument e2.
/// @description Checks that expression of the form
/// [unaryExpression ('%' unaryExpression)*] must have at least two operands
-/// @compile-error
/// @author msyabro
main() {
[] %;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Multiplicative_Expressions/syntax_t05.dart b/Language/Expressions/Multiplicative_Expressions/syntax_t05.dart
index fa5cd88..03cfea9 100644
--- a/Language/Expressions/Multiplicative_Expressions/syntax_t05.dart
+++ b/Language/Expressions/Multiplicative_Expressions/syntax_t05.dart
@@ -19,10 +19,12 @@
/// argument e2.
/// @description Checks that expression of the form
/// [unaryExpression ('~/' unaryExpression)*] must have at least two operands
-/// @compile-error
/// @author msyabro
main() {
1 ~/;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Multiplicative_Expressions/syntax_t06.dart b/Language/Expressions/Multiplicative_Expressions/syntax_t06.dart
index 6d96c93..dbb111c 100644
--- a/Language/Expressions/Multiplicative_Expressions/syntax_t06.dart
+++ b/Language/Expressions/Multiplicative_Expressions/syntax_t06.dart
@@ -19,7 +19,6 @@
/// argument e2.
/// @description Checks that expression of the form
/// [super ('*' unaryExpression)+] must have at least two operands
-/// @compile-error
/// @author msyabro
@@ -30,6 +29,9 @@
class A extends S{
test() {
super *;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Multiplicative_Expressions/syntax_t07.dart b/Language/Expressions/Multiplicative_Expressions/syntax_t07.dart
index 5045796..ec54ff1 100644
--- a/Language/Expressions/Multiplicative_Expressions/syntax_t07.dart
+++ b/Language/Expressions/Multiplicative_Expressions/syntax_t07.dart
@@ -19,7 +19,6 @@
/// argument e2.
/// @description Checks that expression of the form
/// [super ('/' unaryExpression)+] must have at least two operands
-/// @compile-error
/// @author msyabro
@@ -30,6 +29,9 @@
class A extends S{
test() {
super /;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Multiplicative_Expressions/syntax_t08.dart b/Language/Expressions/Multiplicative_Expressions/syntax_t08.dart
index 4003ab0..d0e6982 100644
--- a/Language/Expressions/Multiplicative_Expressions/syntax_t08.dart
+++ b/Language/Expressions/Multiplicative_Expressions/syntax_t08.dart
@@ -19,7 +19,6 @@
/// argument e2.
/// @description Checks that expression of the form
/// [super ('%' unaryExpression)+] must have at least two operands
-/// @compile-error
/// @author msyabro
@@ -30,6 +29,9 @@
class A extends S{
test() {
super %;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Multiplicative_Expressions/syntax_t09.dart b/Language/Expressions/Multiplicative_Expressions/syntax_t09.dart
index ea667d5..77ea98a 100644
--- a/Language/Expressions/Multiplicative_Expressions/syntax_t09.dart
+++ b/Language/Expressions/Multiplicative_Expressions/syntax_t09.dart
@@ -19,7 +19,6 @@
/// argument e2.
/// @description Checks that expression of the form
/// [super ('~/' unaryExpression)+] must have at least two operands
-/// @compile-error
/// @author msyabro
@@ -30,6 +29,9 @@
class A extends S{
test() {
super ~/;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Multiplicative_Expressions/syntax_t10.dart b/Language/Expressions/Multiplicative_Expressions/syntax_t10.dart
index 6db4360..e1f9e3f 100644
--- a/Language/Expressions/Multiplicative_Expressions/syntax_t10.dart
+++ b/Language/Expressions/Multiplicative_Expressions/syntax_t10.dart
@@ -19,7 +19,6 @@
/// argument e2.
/// @description Checks that reference to a class declaration cannot be used
/// as the left operand of a multiplicative expression without a compile error.
-/// @compile-error
/// @author msyabro
@@ -27,4 +26,7 @@
main() {
A * 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Multiplicative_Expressions/syntax_t11.dart b/Language/Expressions/Multiplicative_Expressions/syntax_t11.dart
index 3a73161..48b4bed 100644
--- a/Language/Expressions/Multiplicative_Expressions/syntax_t11.dart
+++ b/Language/Expressions/Multiplicative_Expressions/syntax_t11.dart
@@ -19,7 +19,6 @@
/// argument e2.
/// @description Checks that reference to a class declaration cannot be used
/// as the right operand of a multiplicative expression without a compile error.
-/// @compile-error
/// @author msyabro
@@ -27,4 +26,7 @@
main() {
1 / A;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Multiplicative_Expressions/syntax_t14.dart b/Language/Expressions/Multiplicative_Expressions/syntax_t14.dart
index 2603b60..b5de039 100644
--- a/Language/Expressions/Multiplicative_Expressions/syntax_t14.dart
+++ b/Language/Expressions/Multiplicative_Expressions/syntax_t14.dart
@@ -20,7 +20,6 @@
/// @description Checks that reference to a function type alias name cannot be
/// used as the left operand of a multiplicative expression without a compile
/// error.
-/// @compile-error
/// @author msyabro
@@ -28,4 +27,7 @@
main() {
f * 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Multiplicative_Expressions/syntax_t15.dart b/Language/Expressions/Multiplicative_Expressions/syntax_t15.dart
index 65106e2..b70dd24 100644
--- a/Language/Expressions/Multiplicative_Expressions/syntax_t15.dart
+++ b/Language/Expressions/Multiplicative_Expressions/syntax_t15.dart
@@ -19,7 +19,6 @@
/// argument e2.
/// @description Checks that reference to a function type alias name cannot be
/// used as the right operand of a multiplicative expression without a compile error.
-/// @compile-error
/// @author msyabro
@@ -27,4 +26,7 @@
main() {
1 / f;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Multiplicative_Expressions/syntax_t16.dart b/Language/Expressions/Multiplicative_Expressions/syntax_t16.dart
index cef978d..1d5ef8d 100644
--- a/Language/Expressions/Multiplicative_Expressions/syntax_t16.dart
+++ b/Language/Expressions/Multiplicative_Expressions/syntax_t16.dart
@@ -19,13 +19,15 @@
/// argument e2.
/// @description Checks that a type parameter name cannot be used as the left
/// operand of a multiplicative expression without a compile error.
-/// @compile-error
/// @author msyabro
class A<T> {
test() {
T % 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Multiplicative_Expressions/syntax_t17.dart b/Language/Expressions/Multiplicative_Expressions/syntax_t17.dart
index 8f6c1c4..30a9f2b 100644
--- a/Language/Expressions/Multiplicative_Expressions/syntax_t17.dart
+++ b/Language/Expressions/Multiplicative_Expressions/syntax_t17.dart
@@ -19,13 +19,15 @@
/// argument e2.
/// @description Checks that a type parameter name cannot be used as the right
/// operand of a multiplicative expression without a compile error.
-/// @compile-error
/// @author msyabro
class A<T> {
test() {
1 ~/ T;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Multiplicative_Expressions/syntax_t18.dart b/Language/Expressions/Multiplicative_Expressions/syntax_t18.dart
index d77f763..5358a1e 100644
--- a/Language/Expressions/Multiplicative_Expressions/syntax_t18.dart
+++ b/Language/Expressions/Multiplicative_Expressions/syntax_t18.dart
@@ -19,10 +19,12 @@
/// argument e2.
/// @description Checks that a multiplicative expression can't start
/// with the multiplicative operator *.
-/// @compile-error
/// @author msyabro
main() {
* 1;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Multiplicative_Expressions/syntax_t19.dart b/Language/Expressions/Multiplicative_Expressions/syntax_t19.dart
index a79d06c..7b88489 100644
--- a/Language/Expressions/Multiplicative_Expressions/syntax_t19.dart
+++ b/Language/Expressions/Multiplicative_Expressions/syntax_t19.dart
@@ -19,10 +19,12 @@
/// argument e2.
/// @description Checks that a multiplicative expression can't start
/// with the multiplicative operator /.
-/// @compile-error
/// @author msyabro
main() {
/ 1;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Multiplicative_Expressions/syntax_t20.dart b/Language/Expressions/Multiplicative_Expressions/syntax_t20.dart
index 7a0b35d..bafb32a 100644
--- a/Language/Expressions/Multiplicative_Expressions/syntax_t20.dart
+++ b/Language/Expressions/Multiplicative_Expressions/syntax_t20.dart
@@ -19,10 +19,12 @@
/// argument e2.
/// @description Checks that a multiplicative expression can't start
/// with the multiplicative operator %.
-/// @compile-error
/// @author msyabro
main() {
% 1 * 2;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Multiplicative_Expressions/syntax_t21.dart b/Language/Expressions/Multiplicative_Expressions/syntax_t21.dart
index cf7c873..b5d3d08 100644
--- a/Language/Expressions/Multiplicative_Expressions/syntax_t21.dart
+++ b/Language/Expressions/Multiplicative_Expressions/syntax_t21.dart
@@ -19,10 +19,12 @@
/// argument e2.
/// @description Checks that a multiplicative expression can't start
/// with the multiplicative operator ~/.
-/// @compile-error
/// @author msyabro
main() {
~/ 0.5 ~/ 0.6;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Multiplicative_Expressions/syntax_t22.dart b/Language/Expressions/Multiplicative_Expressions/syntax_t22.dart
index c249626..978adcd 100644
--- a/Language/Expressions/Multiplicative_Expressions/syntax_t22.dart
+++ b/Language/Expressions/Multiplicative_Expressions/syntax_t22.dart
@@ -19,10 +19,12 @@
/// argument e2.
/// @description Checks that two multiplicative operators * can't be placed
/// one after another in a multiplicative expression.
-/// @compile-error
/// @author msyabro
main() {
1 * * 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Multiplicative_Expressions/syntax_t23.dart b/Language/Expressions/Multiplicative_Expressions/syntax_t23.dart
index 5945946..519335a 100644
--- a/Language/Expressions/Multiplicative_Expressions/syntax_t23.dart
+++ b/Language/Expressions/Multiplicative_Expressions/syntax_t23.dart
@@ -19,10 +19,12 @@
/// argument e2.
/// @description Checks that two multiplicative operators / can't be placed
/// one after another in a multiplicative expression.
-/// @compile-error
/// @author msyabro
main() {
0 / / 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Multiplicative_Expressions/syntax_t24.dart b/Language/Expressions/Multiplicative_Expressions/syntax_t24.dart
index 65d46e4..10ac399 100644
--- a/Language/Expressions/Multiplicative_Expressions/syntax_t24.dart
+++ b/Language/Expressions/Multiplicative_Expressions/syntax_t24.dart
@@ -19,10 +19,12 @@
/// argument e2.
/// @description Checks that two multiplicative operators % can't be placed
/// one after another in a multiplicative expression.
-/// @compile-error
/// @author msyabro
main() {
.0 % % 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Multiplicative_Expressions/syntax_t25.dart b/Language/Expressions/Multiplicative_Expressions/syntax_t25.dart
index 8f298e8..060ddda 100644
--- a/Language/Expressions/Multiplicative_Expressions/syntax_t25.dart
+++ b/Language/Expressions/Multiplicative_Expressions/syntax_t25.dart
@@ -19,10 +19,12 @@
/// argument e2.
/// @description Checks that two multiplicative operators ~/ can't be placed
/// one after another in a multiplicative expression.
-/// @compile-error
/// @author msyabro
main() {
2 ~/ ~/ 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Multiplicative_Expressions/syntax_t26.dart b/Language/Expressions/Multiplicative_Expressions/syntax_t26.dart
index 5b17142..efad70b 100644
--- a/Language/Expressions/Multiplicative_Expressions/syntax_t26.dart
+++ b/Language/Expressions/Multiplicative_Expressions/syntax_t26.dart
@@ -19,7 +19,6 @@
/// argument e2.
/// @description Checks that assignment expression cannot be used as the second
/// operand of a multiplicative expression.
-/// @compile-error
/// @author rodionov
@@ -27,4 +26,7 @@
main() {
var foo = 4;
1 * foo = 2;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Null/extend_or_implement_t01.dart b/Language/Expressions/Null/extend_or_implement_t01.dart
index a22da1e..1118f3c 100644
--- a/Language/Expressions/Null/extend_or_implement_t01.dart
+++ b/Language/Expressions/Null/extend_or_implement_t01.dart
@@ -5,11 +5,13 @@
/// @assertion It is a compile-time error for a class to
/// attempt to extend, mix in or implement Null.
/// @description Checks that Null cannot be extended by a class.
-/// @compile-error
/// @author hlodvig
class A extends Null {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
A();
diff --git a/Language/Expressions/Null/extend_or_implement_t02.dart b/Language/Expressions/Null/extend_or_implement_t02.dart
index 3be8003..1035916 100644
--- a/Language/Expressions/Null/extend_or_implement_t02.dart
+++ b/Language/Expressions/Null/extend_or_implement_t02.dart
@@ -5,11 +5,13 @@
/// @assertion It is a compile-time error for a class to
/// attempt to extend, mix in or implement Null.
/// @description Checks that Null cannot be implemented by a class.
-/// @compile-error
/// @author ilya
class A implements Null {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
A();
diff --git a/Language/Expressions/Null/extend_or_implement_t03.dart b/Language/Expressions/Null/extend_or_implement_t03.dart
index e9b90b6..7e525a0 100644
--- a/Language/Expressions/Null/extend_or_implement_t03.dart
+++ b/Language/Expressions/Null/extend_or_implement_t03.dart
@@ -5,13 +5,15 @@
/// @assertion It is a compile-time error for a class to
/// attempt to extend, mix in or implement Null.
/// @description Checks that Null cannot be mixed in
-/// @compile-error
/// @author sgrekhov@unipro.ru
class A {}
class C extends A with Null {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
A();
diff --git a/Language/Expressions/Null/extend_or_implement_t04.dart b/Language/Expressions/Null/extend_or_implement_t04.dart
index fb3e4ce..dd3263a 100644
--- a/Language/Expressions/Null/extend_or_implement_t04.dart
+++ b/Language/Expressions/Null/extend_or_implement_t04.dart
@@ -5,13 +5,15 @@
/// @assertion It is a compile-time error for a class to
/// attempt to extend, mix in or implement Null.
/// @description Checks that Null cannot be mixed in abstract class
-/// @compile-error
/// @author sgrekhov@unipro.ru
class A {}
abstract class C extends A with Null {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
C;
diff --git a/Language/Expressions/Null/extend_or_implement_t05.dart b/Language/Expressions/Null/extend_or_implement_t05.dart
index 670c817..93fd77b 100644
--- a/Language/Expressions/Null/extend_or_implement_t05.dart
+++ b/Language/Expressions/Null/extend_or_implement_t05.dart
@@ -5,13 +5,15 @@
/// @assertion It is a compile-time error for a class to
/// attempt to extend, mix in or implement Null.
/// @description Checks that Null cannot be mixed in. Test class C = M form
-/// @compile-error
/// @author sgrekhov@unipro.ru
class A {}
class C = A with Null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
C();
diff --git a/Language/Expressions/Null/instantiate_t01.dart b/Language/Expressions/Null/instantiate_t01.dart
index 914c160..e6f314d 100644
--- a/Language/Expressions/Null/instantiate_t01.dart
+++ b/Language/Expressions/Null/instantiate_t01.dart
@@ -4,10 +4,12 @@
/// @assertion Attempting to instantiate Null causes a run-time error.
/// @description Checks that Null cannot be instantiated.
-/// @compile-error
/// @author rodionov
main() {
new Null();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Null/static_type_t01.dart b/Language/Expressions/Null/static_type_t01.dart
index 3c72045..66b9988 100644
--- a/Language/Expressions/Null/static_type_t01.dart
+++ b/Language/Expressions/Null/static_type_t01.dart
@@ -7,7 +7,6 @@
/// everywhere without complaint by the static checker.
/// @description Checks that null is assignable to any nullable type without
/// static type warnings.
-/// @static-clean
/// @author hlodvig
diff --git a/Language/Expressions/Numbers/extend_or_implement_double_t01.dart b/Language/Expressions/Numbers/extend_or_implement_double_t01.dart
index 44406f5..e50f737 100644
--- a/Language/Expressions/Numbers/extend_or_implement_double_t01.dart
+++ b/Language/Expressions/Numbers/extend_or_implement_double_t01.dart
@@ -5,11 +5,13 @@
/// @assertion It is a compile-time error for a class to attempt to extend,
/// mix in or implement double.
/// @description Checks that a user-defined class cannot extend double.
-/// @compile-error
/// @author iefremov
class A extends double {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Expressions/Numbers/extend_or_implement_double_t02.dart b/Language/Expressions/Numbers/extend_or_implement_double_t02.dart
index aab4bdb..af8dbd0 100644
--- a/Language/Expressions/Numbers/extend_or_implement_double_t02.dart
+++ b/Language/Expressions/Numbers/extend_or_implement_double_t02.dart
@@ -5,11 +5,13 @@
/// @assertion It is a compile-time error for a class to attempt to extend,
/// mix in or implement double.
/// @description Checks that a user-defined class cannot implement double.
-/// @compile-error
/// @author iefremov
class A implements double {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Expressions/Numbers/extend_or_implement_double_t03.dart b/Language/Expressions/Numbers/extend_or_implement_double_t03.dart
index 86c2958..a1ce9a6 100644
--- a/Language/Expressions/Numbers/extend_or_implement_double_t03.dart
+++ b/Language/Expressions/Numbers/extend_or_implement_double_t03.dart
@@ -5,13 +5,18 @@
/// @assertion It is a compile-time error for a class to attempt to extend,
/// mix in or implement double.
/// @description Checks that a user-defined interface cannot extend double.
-/// @compile-error
/// @author iefremov
abstract class A extends double {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class B implements A {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new B();
diff --git a/Language/Expressions/Numbers/extend_or_implement_double_t04.dart b/Language/Expressions/Numbers/extend_or_implement_double_t04.dart
index 34151a5..cd50b79 100644
--- a/Language/Expressions/Numbers/extend_or_implement_double_t04.dart
+++ b/Language/Expressions/Numbers/extend_or_implement_double_t04.dart
@@ -5,13 +5,15 @@
/// @assertion It is a compile-time error for a class to attempt to extend,
/// mix in or implement double.
/// @description Checks that double cannot be mixed in
-/// @compile-error
/// @author sgrekhov@unipro.ru
class A {}
class C extends A with double {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Expressions/Numbers/extend_or_implement_double_t05.dart b/Language/Expressions/Numbers/extend_or_implement_double_t05.dart
index 7ac95be..52c828e 100644
--- a/Language/Expressions/Numbers/extend_or_implement_double_t05.dart
+++ b/Language/Expressions/Numbers/extend_or_implement_double_t05.dart
@@ -5,13 +5,15 @@
/// @assertion It is a compile-time error for a class to attempt to extend,
/// mix in or implement double.
/// @description Checks that double cannot be mixed in abstract class
-/// @compile-error
/// @author sgrekhov@unipro.ru
class A {}
abstract class C extends A with double {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
C? c = null;
diff --git a/Language/Expressions/Numbers/extend_or_implement_double_t06.dart b/Language/Expressions/Numbers/extend_or_implement_double_t06.dart
index a2b8e11..e92dfa9 100644
--- a/Language/Expressions/Numbers/extend_or_implement_double_t06.dart
+++ b/Language/Expressions/Numbers/extend_or_implement_double_t06.dart
@@ -5,13 +5,15 @@
/// @assertion It is a compile-time error for a class to attempt to extend,
/// mix in or implement double.
/// @description Checks that double cannot be mixed in. Test class C = M form
-/// @compile-error
/// @author sgrekhov@unipro.ru
class A {}
class C = A with double;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
C();
diff --git a/Language/Expressions/Numbers/extend_or_implement_int_t01.dart b/Language/Expressions/Numbers/extend_or_implement_int_t01.dart
index e9391cc..b6181ce 100644
--- a/Language/Expressions/Numbers/extend_or_implement_int_t01.dart
+++ b/Language/Expressions/Numbers/extend_or_implement_int_t01.dart
@@ -5,11 +5,13 @@
/// @assertion It is a compile-time error for a class to attempt to extend,
/// mix in or implement int
/// @description Checks that a user-defined class cannot extend int.
-/// @compile-error
/// @author iefremov
class A extends int {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Expressions/Numbers/extend_or_implement_int_t02.dart b/Language/Expressions/Numbers/extend_or_implement_int_t02.dart
index 97ff8ae..e263c8b 100644
--- a/Language/Expressions/Numbers/extend_or_implement_int_t02.dart
+++ b/Language/Expressions/Numbers/extend_or_implement_int_t02.dart
@@ -5,11 +5,13 @@
/// @assertion It is a compile-time error for a class to attempt to extend,
/// mix in or implement int
/// @description Checks that a user-defined class cannot implement int.
-/// @compile-error
/// @author iefremov
class A implements int {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Expressions/Numbers/extend_or_implement_int_t03.dart b/Language/Expressions/Numbers/extend_or_implement_int_t03.dart
index ecce290..34a52a1 100644
--- a/Language/Expressions/Numbers/extend_or_implement_int_t03.dart
+++ b/Language/Expressions/Numbers/extend_or_implement_int_t03.dart
@@ -5,13 +5,18 @@
/// @assertion It is a compile-time error for a class to attempt to extend,
/// mix in or implement int
/// @description Checks that a user-defined interface cannot extend int.
-/// @compile-error
/// @author iefremov
abstract class A extends int {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class B implements A {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new B();
diff --git a/Language/Expressions/Numbers/extend_or_implement_int_t04.dart b/Language/Expressions/Numbers/extend_or_implement_int_t04.dart
index b0d0130..3300729 100644
--- a/Language/Expressions/Numbers/extend_or_implement_int_t04.dart
+++ b/Language/Expressions/Numbers/extend_or_implement_int_t04.dart
@@ -5,13 +5,15 @@
/// @assertion It is a compile-time error for a class to attempt to extend,
/// mix in or implement int.
/// @description Checks that int cannot be mixed in
-/// @compile-error
/// @author sgrekhov@unipro.ru
class A {}
class C extends A with int {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Expressions/Numbers/extend_or_implement_int_t05.dart b/Language/Expressions/Numbers/extend_or_implement_int_t05.dart
index a71ca91..73bc360 100644
--- a/Language/Expressions/Numbers/extend_or_implement_int_t05.dart
+++ b/Language/Expressions/Numbers/extend_or_implement_int_t05.dart
@@ -5,13 +5,15 @@
/// @assertion It is a compile-time error for a class to attempt to extend,
/// mix in or implement int.
/// @description Checks that int cannot be mixed in abstract class
-/// @compile-error
/// @author sgrekhov@unipro.ru
class A {}
abstract class C extends A with int {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
C? c = null;
diff --git a/Language/Expressions/Numbers/extend_or_implement_int_t06.dart b/Language/Expressions/Numbers/extend_or_implement_int_t06.dart
index 22b729f..523e932 100644
--- a/Language/Expressions/Numbers/extend_or_implement_int_t06.dart
+++ b/Language/Expressions/Numbers/extend_or_implement_int_t06.dart
@@ -5,13 +5,15 @@
/// @assertion It is a compile-time error for a class to attempt to extend,
/// mix in or implement int.
/// @description Checks that int cannot be mixed in. Test class C = M form
-/// @compile-error
/// @author sgrekhov@unipro.ru
class A {}
class C = A with int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Expressions/Numbers/implement_num_t01.dart b/Language/Expressions/Numbers/implement_num_t01.dart
index d60ce33..956b1a1 100644
--- a/Language/Expressions/Numbers/implement_num_t01.dart
+++ b/Language/Expressions/Numbers/implement_num_t01.dart
@@ -5,11 +5,13 @@
/// @assertion It is a compile-time error for any type other than the types
/// int and double to attempt to extend, mix in or implement num.
/// @description Checks that a user-defined class can not extend num.
-/// @compile-error
/// @author iefremov
class A extends num {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Expressions/Numbers/implement_num_t02.dart b/Language/Expressions/Numbers/implement_num_t02.dart
index 236d4bd..6681c5a 100644
--- a/Language/Expressions/Numbers/implement_num_t02.dart
+++ b/Language/Expressions/Numbers/implement_num_t02.dart
@@ -5,11 +5,13 @@
/// @assertion It is a compile-time error for any type other than the types
/// int and double to attempt to extend, mix in or implement num.
/// @description Checks that a user-defined class can not implement num.
-/// @compile-error
/// @author iefremov
class A implements num {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Expressions/Numbers/implement_num_t03.dart b/Language/Expressions/Numbers/implement_num_t03.dart
index 2628ff4..add3c14 100644
--- a/Language/Expressions/Numbers/implement_num_t03.dart
+++ b/Language/Expressions/Numbers/implement_num_t03.dart
@@ -5,13 +5,18 @@
/// @assertion It is a compile-time error for any type other than the types
/// int and double to attempt to extend, mix in or implement num.
/// @description Checks that a user-defined interface can not extend num.
-/// @compile-error
/// @author iefremov
abstract class A extends num {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class B implements A {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new B();
diff --git a/Language/Expressions/Numbers/implement_num_t04.dart b/Language/Expressions/Numbers/implement_num_t04.dart
index f2936a9..3d82308 100644
--- a/Language/Expressions/Numbers/implement_num_t04.dart
+++ b/Language/Expressions/Numbers/implement_num_t04.dart
@@ -5,13 +5,15 @@
/// @assertion It is a compile-time error for any type other than the types
/// int and double to attempt to extend, mix in or implement num.
/// @description Checks that num cannot be mixed in
-/// @compile-error
/// @author sgrekhov@unipro.ru
class A {}
class C extends A with num {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Expressions/Numbers/implement_num_t05.dart b/Language/Expressions/Numbers/implement_num_t05.dart
index e1877c9..5d8f6bc 100644
--- a/Language/Expressions/Numbers/implement_num_t05.dart
+++ b/Language/Expressions/Numbers/implement_num_t05.dart
@@ -5,13 +5,15 @@
/// @assertion It is a compile-time error for any type other than the types
/// int and double to attempt to extend, mix in or implement num.
/// @description Checks that num cannot be mixed in abstract class
-/// @compile-error
/// @author sgrekhov@unipro.ru
class A {}
abstract class C extends A with num {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
C? c = null;
diff --git a/Language/Expressions/Numbers/implement_num_t06.dart b/Language/Expressions/Numbers/implement_num_t06.dart
index da46439..84a5596 100644
--- a/Language/Expressions/Numbers/implement_num_t06.dart
+++ b/Language/Expressions/Numbers/implement_num_t06.dart
@@ -5,13 +5,15 @@
/// @assertion It is a compile-time error for any type other than the types
/// int and double to attempt to extend, mix in or implement num.
/// @description Checks that num cannot be mixed in. Test class C = M form
-/// @compile-error
/// @author sgrekhov@unipro.ru
class A {}
class C = A with num;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Expressions/Numbers/integer_size_t01.dart b/Language/Expressions/Numbers/integer_size_t01.dart
index 49ebdda..6b9b49c 100644
--- a/Language/Expressions/Numbers/integer_size_t01.dart
+++ b/Language/Expressions/Numbers/integer_size_t01.dart
@@ -6,10 +6,12 @@
/// compile-time error unless -2^63 <= i <= 2^64
/// @description Checks that it is a compile error if a hexadecimal integer
/// literal with numeric value more than 2^64
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() {
int i = 0x7FFFFFFFFFFFFFFF0;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Numbers/integer_size_t02.dart b/Language/Expressions/Numbers/integer_size_t02.dart
index e5ae945..9c1833a 100644
--- a/Language/Expressions/Numbers/integer_size_t02.dart
+++ b/Language/Expressions/Numbers/integer_size_t02.dart
@@ -6,10 +6,12 @@
/// compile-time error unless -2^63 <= i <= 2^64
/// @description Checks that it is a compile error if a hexadecimal integer
/// literal with numeric value less than -2^63
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() {
int i = 0x80000000000000000;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Numbers/static_type_of_double_t01.dart b/Language/Expressions/Numbers/static_type_of_double_t01.dart
index 6f99dab..36b3ca3 100644
--- a/Language/Expressions/Numbers/static_type_of_double_t01.dart
+++ b/Language/Expressions/Numbers/static_type_of_double_t01.dart
@@ -5,7 +5,6 @@
/// @assertion The static type of a literal double is double.
/// @description Checks that no static warnings are produced when assigning
/// double literals to a typed double variable.
-/// @static-clean
/// @author iefremov
diff --git a/Language/Expressions/Numbers/static_type_of_double_t02.dart b/Language/Expressions/Numbers/static_type_of_double_t02.dart
index 285c7c0..9869876 100644
--- a/Language/Expressions/Numbers/static_type_of_double_t02.dart
+++ b/Language/Expressions/Numbers/static_type_of_double_t02.dart
@@ -5,10 +5,12 @@
/// @assertion The static type of a literal double is double.
/// @description Checks that it is a compile error to assign a double literal
/// to a typed int variable.
-/// @compile-error
/// @author iefremov
main() {
int d = 1.1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Numbers/static_type_of_int_t01.dart b/Language/Expressions/Numbers/static_type_of_int_t01.dart
index 8564d24..05c1162 100644
--- a/Language/Expressions/Numbers/static_type_of_int_t01.dart
+++ b/Language/Expressions/Numbers/static_type_of_int_t01.dart
@@ -5,7 +5,6 @@
/// @assertion The static type of an integer literal is int.
/// @description Checks that no static warnings are produced when assigning an
/// integer literal to a typed int variable.
-/// @static-clean
/// @author iefremov
diff --git a/Language/Expressions/Numbers/static_type_of_int_t02.dart b/Language/Expressions/Numbers/static_type_of_int_t02.dart
index cb9b85a..088a7b0 100644
--- a/Language/Expressions/Numbers/static_type_of_int_t02.dart
+++ b/Language/Expressions/Numbers/static_type_of_int_t02.dart
@@ -5,10 +5,12 @@
/// @assertion The static type of an integer literal is int.
/// @description Checks that it is a compile error to assign an integer literal
/// to a typed bool variable.
-/// @compile-error
/// @author iefremov
main() {
bool b = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Numbers/syntax_t16.dart b/Language/Expressions/Numbers/syntax_t16.dart
index 0853a36..21fa8b4 100644
--- a/Language/Expressions/Numbers/syntax_t16.dart
+++ b/Language/Expressions/Numbers/syntax_t16.dart
@@ -27,11 +27,13 @@
/// ;
/// @description Checks that it is a compile-time error if a numeric literal
/// does not have any digits after the decimal point.
-/// @compile-error
/// @author hlodvig
///
main() {
var i = 0.;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Numbers/syntax_t17.dart b/Language/Expressions/Numbers/syntax_t17.dart
index e7179e2..76698a6 100644
--- a/Language/Expressions/Numbers/syntax_t17.dart
+++ b/Language/Expressions/Numbers/syntax_t17.dart
@@ -27,10 +27,12 @@
/// ;
/// @description Checks that it is a compile-time error if the exponent part of
/// a numeric literal contains a decimal point.
-/// @compile-error
/// @author hlodvig
main() {
var i = 0e1.0;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Numbers/syntax_t18.dart b/Language/Expressions/Numbers/syntax_t18.dart
index e891bff..052e4b2 100644
--- a/Language/Expressions/Numbers/syntax_t18.dart
+++ b/Language/Expressions/Numbers/syntax_t18.dart
@@ -27,10 +27,12 @@
/// ;
/// @description Checks that it is a compile-time error if a numeric literal
/// does not contain a mantissa.
-/// @compile-error
/// @author hlodvig
main() {
var i = +e1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Numbers/syntax_t21.dart b/Language/Expressions/Numbers/syntax_t21.dart
index df5c5a5..1d1595f 100644
--- a/Language/Expressions/Numbers/syntax_t21.dart
+++ b/Language/Expressions/Numbers/syntax_t21.dart
@@ -27,10 +27,12 @@
/// ;
/// @description Checks that exponent part without digits is not accepted as
/// numeric literal.
-/// @compile-error
/// @author hlodvig
main() {
var i = 1e;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Numbers/syntax_t22.dart b/Language/Expressions/Numbers/syntax_t22.dart
index aa7f210..53b4e03 100644
--- a/Language/Expressions/Numbers/syntax_t22.dart
+++ b/Language/Expressions/Numbers/syntax_t22.dart
@@ -27,10 +27,12 @@
/// ;
/// @description Checks that a plus sign without digits does not make a numeric
/// literal.
-/// @compile-error
/// @author iefremov
main() {
var i = +;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Numbers/syntax_t23.dart b/Language/Expressions/Numbers/syntax_t23.dart
index 41423d2..c78e710 100644
--- a/Language/Expressions/Numbers/syntax_t23.dart
+++ b/Language/Expressions/Numbers/syntax_t23.dart
@@ -27,10 +27,12 @@
/// ;
/// @description Checks that a dot without digits does not make a numeric
/// literal.
-/// @compile-error
/// @author iefremov
main() {
var i = .;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Numbers/syntax_t24.dart b/Language/Expressions/Numbers/syntax_t24.dart
index dbf9d74..220f5c4 100644
--- a/Language/Expressions/Numbers/syntax_t24.dart
+++ b/Language/Expressions/Numbers/syntax_t24.dart
@@ -27,10 +27,12 @@
/// ;
/// @description Checks that it is a compile-time error when there're
/// whitespace characters between an unary plus and the following digits.
-/// @compile-error
/// @author iefremov
main() {
var i = + 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Numbers/syntax_t25.dart b/Language/Expressions/Numbers/syntax_t25.dart
index f7a068e..74c4e04 100644
--- a/Language/Expressions/Numbers/syntax_t25.dart
+++ b/Language/Expressions/Numbers/syntax_t25.dart
@@ -27,10 +27,12 @@
/// ;
/// @description Checks that it is a compile-time error if the exponent part of
/// a numeric literal contains both '+' and '-' signs.
-/// @compile-error
/// @author iefremov
main() {
var i = 1e+-1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Numbers/syntax_t26.dart b/Language/Expressions/Numbers/syntax_t26.dart
index e26b030..2118654 100644
--- a/Language/Expressions/Numbers/syntax_t26.dart
+++ b/Language/Expressions/Numbers/syntax_t26.dart
@@ -27,10 +27,12 @@
/// ;
/// @description Checks that the exponent part of a literal must contain at
/// least one digit.
-/// @compile-error
/// @author iefremov
main() {
var i = 1e;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Numbers/syntax_t27.dart b/Language/Expressions/Numbers/syntax_t27.dart
index 0ccef80..525c04c 100644
--- a/Language/Expressions/Numbers/syntax_t27.dart
+++ b/Language/Expressions/Numbers/syntax_t27.dart
@@ -27,10 +27,12 @@
/// ;
/// @description Checks that the exponent part of a literal must contain at
/// least one digit.
-/// @compile-error
/// @author iefremov
main() {
var i = 1e+;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Numbers/syntax_t29.dart b/Language/Expressions/Numbers/syntax_t29.dart
index d9f5c24..eca1109 100644
--- a/Language/Expressions/Numbers/syntax_t29.dart
+++ b/Language/Expressions/Numbers/syntax_t29.dart
@@ -27,10 +27,12 @@
/// ;
/// @description Checks that a hex numeric literal must contain at least one
/// digit.
-/// @compile-error
/// @author iefremov
main() {
var i = 0x;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Numbers/syntax_t31.dart b/Language/Expressions/Numbers/syntax_t31.dart
index ce34792..e7783a6 100644
--- a/Language/Expressions/Numbers/syntax_t31.dart
+++ b/Language/Expressions/Numbers/syntax_t31.dart
@@ -27,10 +27,12 @@
/// ;
/// @description Checks that a decimal numeric literal cannot contain
/// non-decimal digits.
-/// @compile-error
/// @author iefremov
main() {
var i = 1f;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Numbers/syntax_t32.dart b/Language/Expressions/Numbers/syntax_t32.dart
index 2c44274..1c97d4a 100644
--- a/Language/Expressions/Numbers/syntax_t32.dart
+++ b/Language/Expressions/Numbers/syntax_t32.dart
@@ -27,10 +27,12 @@
/// ;
/// @description Checks that a hex numeric literal cannot contain
/// non-hexadecimal digits.
-/// @compile-error
/// @author kaigorodov
main() {
var i = 0x1g;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Numbers/syntax_t33.dart b/Language/Expressions/Numbers/syntax_t33.dart
index f4d8563..2ecbb28 100644
--- a/Language/Expressions/Numbers/syntax_t33.dart
+++ b/Language/Expressions/Numbers/syntax_t33.dart
@@ -26,10 +26,12 @@
/// DIGIT
/// ;
/// @description Checks that expression in form +(+num) can't be compiled.
-/// @compile-error
/// @author hlodvig
main() {
var x = +(+1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Postfix_Expressions/syntax_t02.dart b/Language/Expressions/Postfix_Expressions/syntax_t02.dart
index dab212f..cc1e084 100644
--- a/Language/Expressions/Postfix_Expressions/syntax_t02.dart
+++ b/Language/Expressions/Postfix_Expressions/syntax_t02.dart
@@ -22,11 +22,13 @@
/// getter invocation, or an invocation of a postfix operator on an expression e.
/// @description Checks that a reference to a function type alias name
/// cannot be used with postfixOperator without a compile error.
-/// @compile-error
/// @author msyabro
typedef f();
main() {
f++;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Postfix_Expressions/syntax_t03.dart b/Language/Expressions/Postfix_Expressions/syntax_t03.dart
index b40b0ad..9df8292 100644
--- a/Language/Expressions/Postfix_Expressions/syntax_t03.dart
+++ b/Language/Expressions/Postfix_Expressions/syntax_t03.dart
@@ -22,7 +22,6 @@
/// getter invocation, or an invocation of a postfix operator on an expression e.
/// @description Checks that a reference to a class declaration cannot be used
/// with postfixOperator without a compile error.
-/// @compile-error
/// @author msyabro
@@ -30,4 +29,7 @@
main() {
A++;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Postfix_Expressions/syntax_t05.dart b/Language/Expressions/Postfix_Expressions/syntax_t05.dart
index 63093ab..45a60c7 100644
--- a/Language/Expressions/Postfix_Expressions/syntax_t05.dart
+++ b/Language/Expressions/Postfix_Expressions/syntax_t05.dart
@@ -22,13 +22,15 @@
/// getter invocation, or an invocation of a postfix operator on an expression e.
/// @description Checks that a type parameter cannot be used with postfixOperator
/// without a compile error.
-/// @compile-error
/// @author msyabro
class A<T> {
test() {
T++;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Postfix_Expressions/syntax_t06.dart b/Language/Expressions/Postfix_Expressions/syntax_t06.dart
index db11911..9e26f4e 100644
--- a/Language/Expressions/Postfix_Expressions/syntax_t06.dart
+++ b/Language/Expressions/Postfix_Expressions/syntax_t06.dart
@@ -22,10 +22,12 @@
/// getter invocation, or an invocation of a postfix operator on an expression e.
/// @description Checks that an expression that is not assignable (e.g. numeric
/// literal) can't be used with postfixOperator.
-/// @compile-error
/// @author msyabro
main() {
1++;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Postfix_Expressions/syntax_t07.dart b/Language/Expressions/Postfix_Expressions/syntax_t07.dart
index d6d979a..bb095d3 100644
--- a/Language/Expressions/Postfix_Expressions/syntax_t07.dart
+++ b/Language/Expressions/Postfix_Expressions/syntax_t07.dart
@@ -22,11 +22,13 @@
/// getter invocation, or an invocation of a postfix operator on an expression e.
/// @description Checks that a postfixExpression can't be used with
/// postfixOperator.
-/// @compile-error
/// @author msyabro
main() {
var x = 1;
x++++;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Postfix_Expressions/syntax_t08.dart b/Language/Expressions/Postfix_Expressions/syntax_t08.dart
index 07e0ffe..e021257 100644
--- a/Language/Expressions/Postfix_Expressions/syntax_t08.dart
+++ b/Language/Expressions/Postfix_Expressions/syntax_t08.dart
@@ -21,7 +21,6 @@
/// A postfix expression is either a primary expression, a function, method or
/// getter invocation, or an invocation of a postfix operator on an expression e.
/// @description Checks that alone super can't be used with postfixOperator.
-/// @compile-error
/// @author msyabro
@@ -29,6 +28,9 @@
class A extends S {
test() {
super--;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Postfix_Expressions/syntax_t09.dart b/Language/Expressions/Postfix_Expressions/syntax_t09.dart
index c50e516..ba9f412 100644
--- a/Language/Expressions/Postfix_Expressions/syntax_t09.dart
+++ b/Language/Expressions/Postfix_Expressions/syntax_t09.dart
@@ -22,10 +22,12 @@
/// getter invocation, or an invocation of a postfix operator on an expression e.
/// @description Checks that a statement can't be used with postfixOperator.
/// This test is using a variable declaration statement.
-/// @compile-error
/// @author msyabro
main() {
var x;++;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Postfix_Expressions/syntax_t10.dart b/Language/Expressions/Postfix_Expressions/syntax_t10.dart
index 3075611..a1d6d16 100644
--- a/Language/Expressions/Postfix_Expressions/syntax_t10.dart
+++ b/Language/Expressions/Postfix_Expressions/syntax_t10.dart
@@ -22,11 +22,13 @@
/// getter invocation, or an invocation of a postfix operator on an expression e.
/// @description Checks that a statement can't be used with postfixOperator.
/// This test is using a block statement.
-/// @compile-error
/// @author msyabro
main() {
var x = 1;
{x;}--;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Postfix_Expressions/syntax_t11.dart b/Language/Expressions/Postfix_Expressions/syntax_t11.dart
index 58ac91d..0baa7d9 100644
--- a/Language/Expressions/Postfix_Expressions/syntax_t11.dart
+++ b/Language/Expressions/Postfix_Expressions/syntax_t11.dart
@@ -22,10 +22,12 @@
/// getter invocation, or an invocation of a postfix operator on an expression e.
/// @description Checks that a statement can't be used with postfixOperator.
/// This test is using a labeled for statement.
-/// @compile-error
/// @author msyabro
main() {
label: for (var i in []) {};++;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Postfix_Expressions/syntax_t12.dart b/Language/Expressions/Postfix_Expressions/syntax_t12.dart
index c975b64..563c281 100644
--- a/Language/Expressions/Postfix_Expressions/syntax_t12.dart
+++ b/Language/Expressions/Postfix_Expressions/syntax_t12.dart
@@ -25,10 +25,12 @@
/// `Operator []` of [Map] returns a nullable type, because it returns [null]
/// when the given argument isn't one of the keys of the map. That's why this is
/// a compile error here. Operator ?++ is not supported for Maps currently.
-/// @compile-error
/// @author iarkh
main() {
var a = {1: 1, 2: 2, 3: 3}[1]++;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t01.dart b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t01.dart
index f33e3b3..1d228ec 100644
--- a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t01.dart
+++ b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t01.dart
@@ -6,7 +6,6 @@
/// e is either a prefix object or a constant type literal.
/// @description Check that it is a compile-time error if in expression e.m
/// e is a library prefix and m is Object's hashCode property
-/// @compile-error
/// @issue 24332
/// @author sgrekhov@unipro.ru
@@ -14,4 +13,7 @@
main() {
var x = lib.hashCode;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t02.dart b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t02.dart
index 500c05b..83363c2 100644
--- a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t02.dart
+++ b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t02.dart
@@ -6,7 +6,6 @@
/// e is either a prefix object or a constant type literal.
/// @description Check that it is a compile-time error if in expression e.m
/// e is a library prefix and m is Object's runtimeType property
-/// @compile-error
/// @issue 24332
/// @author sgrekhov@unipro.ru
@@ -14,4 +13,7 @@
main() {
var x = lib.runtimeType;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t03.dart b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t03.dart
index 3efc2fe..2e1a82f 100644
--- a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t03.dart
+++ b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t03.dart
@@ -8,11 +8,13 @@
/// e is a library prefix and m is Object's noSuchMethod(Invocation invocation)
/// method
/// @issue 24332
-/// @compile-error
/// @author sgrekhov@unipro.ru
import 'instance_of_type_lib.dart' as lib;
main() {
var x = lib.noSuchMethod;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t04.dart b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t04.dart
index fc1ba12..690d54d 100644
--- a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t04.dart
+++ b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t04.dart
@@ -7,11 +7,13 @@
/// @description Check that it is a compile-time error if in expression e.m
/// e is a library prefix and m is Object's toString() method
/// @issue 24332
-/// @compile-error
/// @author sgrekhov@unipro.ru
import 'instance_of_type_lib.dart' as lib;
main() {
var x = lib.toString;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t05.dart b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t05.dart
index ac03056..4c2bb26 100644
--- a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t05.dart
+++ b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t05.dart
@@ -7,10 +7,12 @@
/// @description Check that it is a compile-time error if in expression e.m
/// e is a constant type literal and m is Object's hashCode property
/// @issue 24332
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() {
var x = int.hashCode;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t06.dart b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t06.dart
index 0518a3e..8732e08 100644
--- a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t06.dart
+++ b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t06.dart
@@ -7,10 +7,12 @@
/// @description Check that it is a compile-time error if in expression e.m
/// e is a constant type literal and m is Object's runtimeType property
/// @issue 24332
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() {
var x = int.runtimeType;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t07.dart b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t07.dart
index 772276a..de7121e 100644
--- a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t07.dart
+++ b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t07.dart
@@ -8,10 +8,12 @@
/// e is a constant type literal and m is Object's
/// noSuchMethod(Invocation invocation) method
/// @issue 24332
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() {
var x = int.noSuchMethod;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t08.dart b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t08.dart
index 21c4902..14863e0 100644
--- a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t08.dart
+++ b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/class_object_member_t08.dart
@@ -7,10 +7,12 @@
/// @description Check that it is a compile-time error if in expression e.m
/// e is a constant type literal and m is Object's toString method
/// @issue 24332
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() {
var x = int.toString;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/getter_value_t06.dart b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/getter_value_t06.dart
index 86a0062..48b01ed 100644
--- a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/getter_value_t06.dart
+++ b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/getter_value_t06.dart
@@ -7,7 +7,6 @@
/// @description Checks that it is a compile error if the getter in superclass is
/// called with this bound to the current value of this and the result is the
/// result of supper.m
-/// @compile-error
/// @author ilya
/// @author sgrekhov@unipro.ru
@@ -15,6 +14,9 @@
class A {
get field => this.x + 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
class C extends A {
diff --git a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_member_t01.dart b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_member_t01.dart
index 760a23a..453f957 100644
--- a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_member_t01.dart
+++ b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_member_t01.dart
@@ -11,7 +11,6 @@
/// has a static method or getter named m
/// @description Check that it is no static type warning if e is a constant type
/// literal and the class corresponding to e has a static method named m
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_member_t02.dart b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_member_t02.dart
index b547acc..833df7b 100644
--- a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_member_t02.dart
+++ b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_member_t02.dart
@@ -11,7 +11,6 @@
/// has a static method or getter named m
/// @description Check that it is no static type warning if e is a constant type
/// literal and the class corresponding to e has a static getter named m
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t01.dart b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t01.dart
index 4d80a61..f14a5f0 100644
--- a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t01.dart
+++ b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t01.dart
@@ -16,7 +16,6 @@
/// • The type dynamic otherwise.
/// @description Check that static type of the getter is getter's declared
/// return type
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t02.dart b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t02.dart
index 3a836a1..bcafe4e 100644
--- a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t02.dart
+++ b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t02.dart
@@ -16,7 +16,6 @@
/// • The type dynamic otherwise.
/// @description Check that static type of the static getter is getter's
/// declared return type
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t03.dart b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t03.dart
index 2740287..c9d0628 100644
--- a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t03.dart
+++ b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t03.dart
@@ -16,7 +16,6 @@
/// • The type dynamic otherwise.
/// @description Check that static type of an accessible instance method is
/// Function
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t04.dart b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t04.dart
index 48ae02e..99def82 100644
--- a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t04.dart
+++ b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t04.dart
@@ -16,7 +16,6 @@
/// • The type dynamic otherwise.
/// @description Check that static type of an accessible static method is
/// Function
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t05.dart b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t05.dart
index 96a5b17..c07e6df 100644
--- a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t05.dart
+++ b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t05.dart
@@ -16,7 +16,6 @@
/// • The type dynamic otherwise.
/// @description Check that static type is dynamic if no method or getter named
/// m found
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t06.dart b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t06.dart
index ac98e3d..38e327e 100644
--- a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t06.dart
+++ b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t06.dart
@@ -16,7 +16,6 @@
/// • The type dynamic otherwise.
/// @description Checks that the static type of a getter invocation expression
/// of the form C.m is the declared return type of the getter.
-/// @static-clean
/// @author msyabro
diff --git a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t07.dart b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t07.dart
index 3ccd2d0..0b1a0ca 100644
--- a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t07.dart
+++ b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t07.dart
@@ -16,7 +16,6 @@
/// • The type dynamic otherwise.
/// @description Checks that the static type of a getter invocation expression
/// is the declared return type of the getter.
-/// @static-clean
/// @author msyabro
/// @reviewer rodionov
diff --git a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t08.dart b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t08.dart
index 17e63c7..cd44c8a 100644
--- a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t08.dart
+++ b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_t08.dart
@@ -18,7 +18,6 @@
/// is dynamic if the getter does not exist. Checks by calling non-existed
/// methods from invocation result. If the static type is indeed dynamic there
/// should not be any static warnings.
-/// @static-clean
/// @author msyabro
/// @issue 3223
diff --git a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_warning_t01.dart b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_warning_t01.dart
index 8a2472c..912f257 100644
--- a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_warning_t01.dart
+++ b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_warning_t01.dart
@@ -8,7 +8,6 @@
/// have a method or getter named m
/// @description Check that it is a compile error if object instance
/// does not have a method or getter named m
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -18,4 +17,7 @@
main() {
C c = new C();
c.m;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_warning_t02.dart b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_warning_t02.dart
index 7079b79..a3ec9e2 100644
--- a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_warning_t02.dart
+++ b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_warning_t02.dart
@@ -8,7 +8,6 @@
/// have a method or getter named m
/// @description Check that it is a compile error if type T
/// does not have a static method or getter named m
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -17,4 +16,7 @@
main() {
C.m;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_warning_t03.dart b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_warning_t03.dart
index 36d8e11..7e7e218 100644
--- a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_warning_t03.dart
+++ b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_warning_t03.dart
@@ -9,7 +9,6 @@
/// @description Checks that it is a compile error if C does not declare,
/// explicitly or implicitly, a getter with the appropriate name and that such
/// code results in a NoSuchMethodError.
-/// @compile-error
/// @author msyabro
@@ -18,4 +17,7 @@
main() {
C.getter;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_warning_t04.dart b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_warning_t04.dart
index 511d1b0..7519232 100644
--- a/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_warning_t04.dart
+++ b/Language/Expressions/Property_Extraction/Getter_Access_and_Method_Extraction/static_type_warning_t04.dart
@@ -8,7 +8,6 @@
/// have a method or getter named m
/// @description Checks that it is a compile error if T does not have a
/// setter (method named m=) named m.
-/// @compile-error
/// @author msyabro
@@ -18,4 +17,7 @@
main() {
C o = new C();
o.v = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Property_Extraction/Super_Getter_Access_and_Method_Closurization/no_instance_t01.dart b/Language/Expressions/Property_Extraction/Super_Getter_Access_and_Method_Closurization/no_instance_t01.dart
index adbecab..fff8b3d 100644
--- a/Language/Expressions/Property_Extraction/Super_Getter_Access_and_Method_Closurization/no_instance_t01.dart
+++ b/Language/Expressions/Property_Extraction/Super_Getter_Access_and_Method_Closurization/no_instance_t01.dart
@@ -7,7 +7,6 @@
/// method or getter named m.
/// @description Check that It is a compile error if S does not have an
/// accessible instance method or getter named m.
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -19,6 +18,9 @@
void test() {
var i = super.m;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Property_Extraction/Super_Getter_Access_and_Method_Closurization/static_type_t01.dart b/Language/Expressions/Property_Extraction/Super_Getter_Access_and_Method_Closurization/static_type_t01.dart
index fc6a27d..1e42ed5 100644
--- a/Language/Expressions/Property_Extraction/Super_Getter_Access_and_Method_Closurization/static_type_t01.dart
+++ b/Language/Expressions/Property_Extraction/Super_Getter_Access_and_Method_Closurization/static_type_t01.dart
@@ -10,7 +10,6 @@
/// • The type dynamic otherwise.
/// @description Check that static type of the extracted getter is declared
/// return type of the getter.
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Expressions/Property_Extraction/Super_Getter_Access_and_Method_Closurization/static_type_t02.dart b/Language/Expressions/Property_Extraction/Super_Getter_Access_and_Method_Closurization/static_type_t02.dart
index 96dfc93..9b7b3bc 100644
--- a/Language/Expressions/Property_Extraction/Super_Getter_Access_and_Method_Closurization/static_type_t02.dart
+++ b/Language/Expressions/Property_Extraction/Super_Getter_Access_and_Method_Closurization/static_type_t02.dart
@@ -9,7 +9,6 @@
/// instance method named m.
/// • The type dynamic otherwise.
/// @description Check that static type of the extracted method is Function.
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Expressions/Property_Extraction/Super_Getter_Access_and_Method_Closurization/static_type_warning_t01.dart b/Language/Expressions/Property_Extraction/Super_Getter_Access_and_Method_Closurization/static_type_warning_t01.dart
index 7467a49..5f47f8b 100644
--- a/Language/Expressions/Property_Extraction/Super_Getter_Access_and_Method_Closurization/static_type_warning_t01.dart
+++ b/Language/Expressions/Property_Extraction/Super_Getter_Access_and_Method_Closurization/static_type_warning_t01.dart
@@ -7,7 +7,6 @@
/// method or getter named m.
/// @description Checks that it is a compile errorif the class of super in
/// a super.m invocation does not have a getter named m.
-/// @compile-error
/// @author ilya
@@ -16,6 +15,9 @@
class C extends S {
C() {
super.foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Property_Extraction/static_type_t01.dart b/Language/Expressions/Property_Extraction/static_type_t01.dart
index ded8aa4..182a3de 100644
--- a/Language/Expressions/Property_Extraction/static_type_t01.dart
+++ b/Language/Expressions/Property_Extraction/static_type_t01.dart
@@ -8,7 +8,6 @@
/// static type of e1.id.
/// @description Check that static type of the e?.id is the same as e.id. Test
/// getter
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Expressions/Property_Extraction/static_type_t02.dart b/Language/Expressions/Property_Extraction/static_type_t02.dart
index 47536cf..a178de1 100644
--- a/Language/Expressions/Property_Extraction/static_type_t02.dart
+++ b/Language/Expressions/Property_Extraction/static_type_t02.dart
@@ -8,7 +8,6 @@
/// static type of e1.id.
/// @description Check that static type of the e?.id is the same as e.id. Test
/// implicit getter
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Expressions/Property_Extraction/static_type_t03.dart b/Language/Expressions/Property_Extraction/static_type_t03.dart
index d4e5ba6..f20be23 100644
--- a/Language/Expressions/Property_Extraction/static_type_t03.dart
+++ b/Language/Expressions/Property_Extraction/static_type_t03.dart
@@ -8,7 +8,6 @@
/// static type of e1.id.
/// @description Check that static type of the e?.id is the same as e.id. Test
/// method
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Expressions/Relational_Expressions/syntax_t02.dart b/Language/Expressions/Relational_Expressions/syntax_t02.dart
index a5aff89..2562dc1 100644
--- a/Language/Expressions/Relational_Expressions/syntax_t02.dart
+++ b/Language/Expressions/Relational_Expressions/syntax_t02.dart
@@ -17,10 +17,12 @@
/// A relational expression is either a bitwise expression, or an invocation of
/// a relational operator on either super or an expression e1, with argument e2.
/// @description Checks that a relational expression can't start with operator <.
-/// @compile-error
/// @author msyabro
main() {
< 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Relational_Expressions/syntax_t03.dart b/Language/Expressions/Relational_Expressions/syntax_t03.dart
index e337f19..d7be9c9 100644
--- a/Language/Expressions/Relational_Expressions/syntax_t03.dart
+++ b/Language/Expressions/Relational_Expressions/syntax_t03.dart
@@ -17,10 +17,12 @@
/// A relational expression is either a bitwise expression, or an invocation of
/// a relational operator on either super or an expression e1, with argument e2.
/// @description Checks that a relational expression can't start with operator >.
-/// @compile-error
/// @author msyabro
main() {
> (1 + 1);
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Relational_Expressions/syntax_t04.dart b/Language/Expressions/Relational_Expressions/syntax_t04.dart
index 0996f2e..d5eee73 100644
--- a/Language/Expressions/Relational_Expressions/syntax_t04.dart
+++ b/Language/Expressions/Relational_Expressions/syntax_t04.dart
@@ -17,10 +17,12 @@
/// A relational expression is either a bitwise expression, or an invocation of
/// a relational operator on either super or an expression e1, with argument e2.
/// @description Checks that a relational expression can't start with operator >=.
-/// @compile-error
/// @author msyabro
main() {
>= (1 < 2);
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Relational_Expressions/syntax_t05.dart b/Language/Expressions/Relational_Expressions/syntax_t05.dart
index 867d087..8dbe777 100644
--- a/Language/Expressions/Relational_Expressions/syntax_t05.dart
+++ b/Language/Expressions/Relational_Expressions/syntax_t05.dart
@@ -17,10 +17,12 @@
/// A relational expression is either a bitwise expression, or an invocation of
/// a relational operator on either super or an expression e1, with argument e2.
/// @description Checks that a relational expression can't start with operator <=.
-/// @compile-error
/// @author msyabro
main() {
<= true;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Relational_Expressions/syntax_t06.dart b/Language/Expressions/Relational_Expressions/syntax_t06.dart
index 2abac09..b9460c3 100644
--- a/Language/Expressions/Relational_Expressions/syntax_t06.dart
+++ b/Language/Expressions/Relational_Expressions/syntax_t06.dart
@@ -18,10 +18,12 @@
/// a relational operator on either super or an expression e1, with argument e2.
/// @description Checks that a relational expression can't terminate with
/// operator <.
-/// @compile-error
/// @author msyabro
main() {
2 <;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Relational_Expressions/syntax_t07.dart b/Language/Expressions/Relational_Expressions/syntax_t07.dart
index cfadb5e..6c107bf 100644
--- a/Language/Expressions/Relational_Expressions/syntax_t07.dart
+++ b/Language/Expressions/Relational_Expressions/syntax_t07.dart
@@ -18,10 +18,12 @@
/// a relational operator on either super or an expression e1, with argument e2.
/// @description Checks that a relational expression can't terminate with
/// operator >.
-/// @compile-error
/// @author msyabro
main() {
1 >;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Relational_Expressions/syntax_t08.dart b/Language/Expressions/Relational_Expressions/syntax_t08.dart
index cc76cc2..b4f2856 100644
--- a/Language/Expressions/Relational_Expressions/syntax_t08.dart
+++ b/Language/Expressions/Relational_Expressions/syntax_t08.dart
@@ -18,10 +18,12 @@
/// a relational operator on either super or an expression e1, with argument e2.
/// @description Checks that a relational expression can't terminate with
/// operator >=.
-/// @compile-error
/// @author msyabro
main() {
1 / 1 >=;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Relational_Expressions/syntax_t09.dart b/Language/Expressions/Relational_Expressions/syntax_t09.dart
index 2666dc3..47f67a0 100644
--- a/Language/Expressions/Relational_Expressions/syntax_t09.dart
+++ b/Language/Expressions/Relational_Expressions/syntax_t09.dart
@@ -18,10 +18,12 @@
/// a relational operator on either super or an expression e1, with argument e2.
/// @description Checks that a relational expression can't terminate with
/// operator <=.
-/// @compile-error
/// @author msyabro
main() {
0 <=;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Relational_Expressions/syntax_t10.dart b/Language/Expressions/Relational_Expressions/syntax_t10.dart
index 83d2377..78d58a9 100644
--- a/Language/Expressions/Relational_Expressions/syntax_t10.dart
+++ b/Language/Expressions/Relational_Expressions/syntax_t10.dart
@@ -18,10 +18,12 @@
/// a relational operator on either super or an expression e1, with argument e2.
/// @description Checks that a relational expression cannot be the operand of
/// another relational expression.
-/// @compile-error
/// @author msyabro
main() {
1 < 2 < 3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Relational_Expressions/syntax_t11.dart b/Language/Expressions/Relational_Expressions/syntax_t11.dart
index 1d7e769..00be155 100644
--- a/Language/Expressions/Relational_Expressions/syntax_t11.dart
+++ b/Language/Expressions/Relational_Expressions/syntax_t11.dart
@@ -18,10 +18,12 @@
/// a relational operator on either super or an expression e1, with argument e2.
/// @description Checks that a relational expression cannot be the operand of
/// another relational expression.
-/// @compile-error
/// @author msyabro
main() {
1 > 2 > 3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Relational_Expressions/syntax_t12.dart b/Language/Expressions/Relational_Expressions/syntax_t12.dart
index 80c754f..f6a659b 100644
--- a/Language/Expressions/Relational_Expressions/syntax_t12.dart
+++ b/Language/Expressions/Relational_Expressions/syntax_t12.dart
@@ -18,10 +18,12 @@
/// a relational operator on either super or an expression e1, with argument e2.
/// @description Checks that a relational expression cannot be the operand of
/// another relational expression.
-/// @compile-error
/// @author msyabro
main() {
1 >= 2 >= 3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Relational_Expressions/syntax_t13.dart b/Language/Expressions/Relational_Expressions/syntax_t13.dart
index e087498..797fc1f 100644
--- a/Language/Expressions/Relational_Expressions/syntax_t13.dart
+++ b/Language/Expressions/Relational_Expressions/syntax_t13.dart
@@ -18,10 +18,12 @@
/// a relational operator on either super or an expression e1, with argument e2.
/// @description Checks that a relational expression cannot be the operand of
/// another relational expression.
-/// @compile-error
/// @author msyabro
main() {
1 <= 2 <= 3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Relational_Expressions/syntax_t14.dart b/Language/Expressions/Relational_Expressions/syntax_t14.dart
index a1d290f..045b974 100644
--- a/Language/Expressions/Relational_Expressions/syntax_t14.dart
+++ b/Language/Expressions/Relational_Expressions/syntax_t14.dart
@@ -17,10 +17,12 @@
/// A relational expression is either a bitwise expression, or an invocation of
/// a relational operator on either super or an expression e1, with argument e2.
/// @description Checks that two < operators can't be placed one after another.
-/// @compile-error
/// @author msyabro
main() {
1 < < 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Relational_Expressions/syntax_t15.dart b/Language/Expressions/Relational_Expressions/syntax_t15.dart
index f72ed95..fdaa037 100644
--- a/Language/Expressions/Relational_Expressions/syntax_t15.dart
+++ b/Language/Expressions/Relational_Expressions/syntax_t15.dart
@@ -17,10 +17,12 @@
/// A relational expression is either a bitwise expression, or an invocation of
/// a relational operator on either super or an expression e1, with argument e2.
/// @description Checks that two > operators can't be placed one after another.
-/// @compile-error
/// @author msyabro
main() {
1 > > 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Relational_Expressions/syntax_t16.dart b/Language/Expressions/Relational_Expressions/syntax_t16.dart
index 265a980..b692633 100644
--- a/Language/Expressions/Relational_Expressions/syntax_t16.dart
+++ b/Language/Expressions/Relational_Expressions/syntax_t16.dart
@@ -17,10 +17,12 @@
/// A relational expression is either a bitwise expression, or an invocation of
/// a relational operator on either super or an expression e1, with argument e2.
/// @description Checks that two >= operators can't be placed one after another.
-/// @compile-error
/// @author msyabro
main() {
1 >= >= 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Relational_Expressions/syntax_t17.dart b/Language/Expressions/Relational_Expressions/syntax_t17.dart
index 31e7c7c..57be9cc 100644
--- a/Language/Expressions/Relational_Expressions/syntax_t17.dart
+++ b/Language/Expressions/Relational_Expressions/syntax_t17.dart
@@ -17,10 +17,12 @@
/// A relational expression is either a bitwise expression, or an invocation of
/// a relational operator on either super or an expression e1, with argument e2.
/// @description Checks that two <= operators can't be placed one after another.
-/// @compile-error
/// @author msyabro
main() {
1 <= <= 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Relational_Expressions/syntax_t18.dart b/Language/Expressions/Relational_Expressions/syntax_t18.dart
index ae1cc75..9f5f58e 100644
--- a/Language/Expressions/Relational_Expressions/syntax_t18.dart
+++ b/Language/Expressions/Relational_Expressions/syntax_t18.dart
@@ -18,7 +18,6 @@
/// a relational operator on either super or an expression e1, with argument e2.
/// @description Checks that a reference to a class declaration cannot be used
/// as the first operand in a relational expression without a compile error.
-/// @compile-error
/// @author msyabro
@@ -27,4 +26,7 @@
main() {
A < 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Relational_Expressions/syntax_t19.dart b/Language/Expressions/Relational_Expressions/syntax_t19.dart
index 0f7d142..92d7684 100644
--- a/Language/Expressions/Relational_Expressions/syntax_t19.dart
+++ b/Language/Expressions/Relational_Expressions/syntax_t19.dart
@@ -18,7 +18,6 @@
/// a relational operator on either super or an expression e1, with argument e2.
/// @description Checks that a reference to a class declaration cannot be used
/// as the second operand in a relational expression without a compile error.
-/// @compile-error
/// @author msyabro
@@ -26,4 +25,7 @@
main() {
3 > A;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Relational_Expressions/syntax_t20.dart b/Language/Expressions/Relational_Expressions/syntax_t20.dart
index ba88bc1..38d2ce8 100644
--- a/Language/Expressions/Relational_Expressions/syntax_t20.dart
+++ b/Language/Expressions/Relational_Expressions/syntax_t20.dart
@@ -18,7 +18,6 @@
/// a relational operator on either super or an expression e1, with argument e2.
/// @description Checks that a reference to a type alias declaration cannot be
/// used as the first operand in a relational expression without a compile error.
-/// @compile-error
/// @author kaigorodov
@@ -26,4 +25,7 @@
main() {
proc <= 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Relational_Expressions/syntax_t21.dart b/Language/Expressions/Relational_Expressions/syntax_t21.dart
index 1da7fe9..3b9e63f 100644
--- a/Language/Expressions/Relational_Expressions/syntax_t21.dart
+++ b/Language/Expressions/Relational_Expressions/syntax_t21.dart
@@ -18,7 +18,6 @@
/// a relational operator on either super or an expression e1, with argument e2.
/// @description Checks that a type alias name cannot be used as the second
/// operand in a relational expression without a compile error.
-/// @compile-error
/// @author kaigorodov
@@ -26,4 +25,7 @@
main() {
1 >= proc;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Relational_Expressions/syntax_t22.dart b/Language/Expressions/Relational_Expressions/syntax_t22.dart
index 6203ff9..cc1344d 100644
--- a/Language/Expressions/Relational_Expressions/syntax_t22.dart
+++ b/Language/Expressions/Relational_Expressions/syntax_t22.dart
@@ -18,13 +18,15 @@
/// a relational operator on either super or an expression e1, with argument e2.
/// @description Checks that a type parameter cannot be used as the first operand
/// in a relational expression without a compile error.
-/// @compile-error
/// @author msyabro
class A<T> {
test() {
T < 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Relational_Expressions/syntax_t23.dart b/Language/Expressions/Relational_Expressions/syntax_t23.dart
index 6b22b76..323f7e1 100644
--- a/Language/Expressions/Relational_Expressions/syntax_t23.dart
+++ b/Language/Expressions/Relational_Expressions/syntax_t23.dart
@@ -18,13 +18,15 @@
/// a relational operator on either super or an expression e1, with argument e2.
/// @description Checks that a type parameter cannot be used as the second
/// operand in a relational expression without a compile error.
-/// @compile-error
/// @author msyabro
class A<T> {
test() {
1 > T;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Relational_Expressions/syntax_t24.dart b/Language/Expressions/Relational_Expressions/syntax_t24.dart
index b930377..c263da0 100644
--- a/Language/Expressions/Relational_Expressions/syntax_t24.dart
+++ b/Language/Expressions/Relational_Expressions/syntax_t24.dart
@@ -18,7 +18,6 @@
/// a relational operator on either super or an expression e1, with argument e2.
/// @description Checks that super can't be used as the second operand in a
/// relational expression without a compile error.
-/// @compile-error
/// @author msyabro
@@ -28,6 +27,9 @@
test() {
try {
1 >= super;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
}
diff --git a/Language/Expressions/Shift/syntax_t02.dart b/Language/Expressions/Shift/syntax_t02.dart
index 5197ad8..b74c642 100644
--- a/Language/Expressions/Shift/syntax_t02.dart
+++ b/Language/Expressions/Shift/syntax_t02.dart
@@ -16,10 +16,12 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that a shift expression of the form e1 op e2
/// can't terminate with the shift operator <<.
-/// @compile-error
/// @author msyabro
main() {
1 <<;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Shift/syntax_t03.dart b/Language/Expressions/Shift/syntax_t03.dart
index 26bda5f..cc78687 100644
--- a/Language/Expressions/Shift/syntax_t03.dart
+++ b/Language/Expressions/Shift/syntax_t03.dart
@@ -16,10 +16,12 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that a shift expression of the form e1 op e2
/// can't terminate with the shift operator >>.
-/// @compile-error
/// @author msyabro
main() {
1 << 2 >> 1 >>;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Shift/syntax_t04.dart b/Language/Expressions/Shift/syntax_t04.dart
index 607d2bf..52ff6ba 100644
--- a/Language/Expressions/Shift/syntax_t04.dart
+++ b/Language/Expressions/Shift/syntax_t04.dart
@@ -16,10 +16,12 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that a shift expression can't start with
/// the shift operator <<.
-/// @compile-error
/// @author msyabro
main() {
<< 1;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Shift/syntax_t05.dart b/Language/Expressions/Shift/syntax_t05.dart
index bd07637..82eb841 100644
--- a/Language/Expressions/Shift/syntax_t05.dart
+++ b/Language/Expressions/Shift/syntax_t05.dart
@@ -16,10 +16,12 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that a shift expression can't start with
/// the shift operator >>.
-/// @compile-error
/// @author msyabro
main() {
>> 2;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Shift/syntax_t06.dart b/Language/Expressions/Shift/syntax_t06.dart
index b7ed9e7..68396a8 100644
--- a/Language/Expressions/Shift/syntax_t06.dart
+++ b/Language/Expressions/Shift/syntax_t06.dart
@@ -16,10 +16,12 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that two shift operators << can't be placed
/// one after another in a shift expression.
-/// @compile-error
/// @author msyabro
main() {
1 << << 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Shift/syntax_t07.dart b/Language/Expressions/Shift/syntax_t07.dart
index 651d015..8e9ec75 100644
--- a/Language/Expressions/Shift/syntax_t07.dart
+++ b/Language/Expressions/Shift/syntax_t07.dart
@@ -16,10 +16,12 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that two shift operators >> can't be placed
/// one after another in a shift expression.
-/// @compile-error
/// @author msyabro
main() {
2 >> >> 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Shift/syntax_t08.dart b/Language/Expressions/Shift/syntax_t08.dart
index 7c3bf64..676f90a 100644
--- a/Language/Expressions/Shift/syntax_t08.dart
+++ b/Language/Expressions/Shift/syntax_t08.dart
@@ -16,7 +16,6 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that [super] can be used only as the first operand in
/// a shift expression.
-/// @compile-error
/// @author msyabro
@@ -25,6 +24,9 @@
class A extends S {
test() {
1 << super;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Shift/syntax_t09.dart b/Language/Expressions/Shift/syntax_t09.dart
index e7a0010..07772ad 100644
--- a/Language/Expressions/Shift/syntax_t09.dart
+++ b/Language/Expressions/Shift/syntax_t09.dart
@@ -16,7 +16,6 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that a reference to a class declaration cannot be used
/// as the first operand of a shift expression without a compile error.
-/// @compile-error
/// @author msyabro
@@ -24,4 +23,7 @@
main() {
A << 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Shift/syntax_t10.dart b/Language/Expressions/Shift/syntax_t10.dart
index 97c387a..e473cf0 100644
--- a/Language/Expressions/Shift/syntax_t10.dart
+++ b/Language/Expressions/Shift/syntax_t10.dart
@@ -16,7 +16,6 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that a reference to a class declaration cannot be used
/// as the second operand of a shift expression without a compile error.
-/// @compile-error
/// @author msyabro
@@ -24,4 +23,7 @@
main() {
1 >> A;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Shift/syntax_t11.dart b/Language/Expressions/Shift/syntax_t11.dart
index 3376a5f..1162201 100644
--- a/Language/Expressions/Shift/syntax_t11.dart
+++ b/Language/Expressions/Shift/syntax_t11.dart
@@ -16,7 +16,6 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that a reference to a type alias declaration cannot be
/// used as the first operand of a shift expression without a compile error
-/// @compile-error
/// @author kaigorodov
@@ -24,4 +23,7 @@
main() {
proc >> 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Shift/syntax_t12.dart b/Language/Expressions/Shift/syntax_t12.dart
index 22d8a49..4738d15 100644
--- a/Language/Expressions/Shift/syntax_t12.dart
+++ b/Language/Expressions/Shift/syntax_t12.dart
@@ -16,7 +16,6 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that a reference to a type alias declaration cannot be
/// used as the second operand of a shift expression without a compile error.
-/// @compile-error
/// @author kaigorodov
@@ -24,4 +23,7 @@
main() {
2 >> proc;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Shift/syntax_t13.dart b/Language/Expressions/Shift/syntax_t13.dart
index 7ffeba3..31eb416 100644
--- a/Language/Expressions/Shift/syntax_t13.dart
+++ b/Language/Expressions/Shift/syntax_t13.dart
@@ -16,13 +16,15 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that a type parameter cannot be used
/// as the first operand of a shift expression without a compile error.
-/// @compile-error
/// @author msyabro
class A<T> {
test() {
T << 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Shift/syntax_t14.dart b/Language/Expressions/Shift/syntax_t14.dart
index 4c334f7..0c2422a 100644
--- a/Language/Expressions/Shift/syntax_t14.dart
+++ b/Language/Expressions/Shift/syntax_t14.dart
@@ -16,13 +16,15 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that a type parameter cannot be used
/// as the second operand of a shift expression without a compile error.
-/// @compile-error
/// @author msyabro
class A<T> {
test() {
2 >> T;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Shift/syntax_t16.dart b/Language/Expressions/Shift/syntax_t16.dart
index ac65417..a900d5f 100644
--- a/Language/Expressions/Shift/syntax_t16.dart
+++ b/Language/Expressions/Shift/syntax_t16.dart
@@ -16,10 +16,12 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that a shift expression of the form e1 op e2
/// can't terminate with the shift operator >>.
-/// @compile-error
/// @author iarkh@unipro.ru
main() {
1 >>;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Shift/syntax_t17.dart b/Language/Expressions/Shift/syntax_t17.dart
index 1e44368..7b095ba 100644
--- a/Language/Expressions/Shift/syntax_t17.dart
+++ b/Language/Expressions/Shift/syntax_t17.dart
@@ -16,11 +16,13 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that a shift expression of the form e1 op e2
/// can't terminate with the triple shift operator >>>.
-/// @compile-error
/// @author iarkh@unipro.ru
// SharedOptions=--enable-experiment=triple-shift
main() {
1 >>>;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Shift/syntax_t18.dart b/Language/Expressions/Shift/syntax_t18.dart
index 141e5d5..6e07d8d 100644
--- a/Language/Expressions/Shift/syntax_t18.dart
+++ b/Language/Expressions/Shift/syntax_t18.dart
@@ -16,11 +16,13 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that a shift expression can't start with
/// the triple shift operator >>>.
-/// @compile-error
/// @author iarkh@unipro.ru
// SharedOptions=--enable-experiment=triple-shift
main() {
>>> 2;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Shift/syntax_t19.dart b/Language/Expressions/Shift/syntax_t19.dart
index 75b9afa..b095c8d 100644
--- a/Language/Expressions/Shift/syntax_t19.dart
+++ b/Language/Expressions/Shift/syntax_t19.dart
@@ -16,11 +16,13 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that two shift operators >>> can't be placed
/// one after another in a shift expression.
-/// @compile-error
/// @author iarkh@unipro.ru
// SharedOptions=--enable-experiment=triple-shift
main() {
2 >>> >>> 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Shift/syntax_t20.dart b/Language/Expressions/Shift/syntax_t20.dart
index 51059c3..55f5874 100644
--- a/Language/Expressions/Shift/syntax_t20.dart
+++ b/Language/Expressions/Shift/syntax_t20.dart
@@ -16,7 +16,6 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that [super] can be used only as the first operand in
/// a shift expression.
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -25,6 +24,9 @@
class A extends S {
test() {
1 >> super;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Shift/syntax_t21.dart b/Language/Expressions/Shift/syntax_t21.dart
index 855857c..824dbec 100644
--- a/Language/Expressions/Shift/syntax_t21.dart
+++ b/Language/Expressions/Shift/syntax_t21.dart
@@ -16,7 +16,6 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that [super] can be used only as the first operand in
/// a shift expression.
-/// @compile-error
/// @author iarkh@unipro.ru
// SharedOptions=--enable-experiment=triple-shift
@@ -26,6 +25,9 @@
class A extends S {
test() {
1 >>> super;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Shift/syntax_t22.dart b/Language/Expressions/Shift/syntax_t22.dart
index bf70832..91a5f7c 100644
--- a/Language/Expressions/Shift/syntax_t22.dart
+++ b/Language/Expressions/Shift/syntax_t22.dart
@@ -16,7 +16,6 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that a reference to a class declaration cannot be used
/// as the first operand of a shift expression without a compile error.
-/// @compile-error
/// @author iarkh@unipro.ru
// SharedOptions=--enable-experiment=triple-shift
@@ -25,4 +24,7 @@
main() {
A >>> 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Shift/syntax_t23.dart b/Language/Expressions/Shift/syntax_t23.dart
index 523238d..708625a 100644
--- a/Language/Expressions/Shift/syntax_t23.dart
+++ b/Language/Expressions/Shift/syntax_t23.dart
@@ -16,7 +16,6 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that a reference to a class declaration cannot be used
/// as the second operand of a shift expression without a compile error.
-/// @compile-error
/// @author iarkh@unipro.ru
// SharedOptions=--enable-experiment=triple-shift
@@ -25,4 +24,7 @@
main() {
1 >>> A;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Shift/syntax_t24.dart b/Language/Expressions/Shift/syntax_t24.dart
index d50ba30..21957b7 100644
--- a/Language/Expressions/Shift/syntax_t24.dart
+++ b/Language/Expressions/Shift/syntax_t24.dart
@@ -16,7 +16,6 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that a reference to a type alias declaration cannot be
/// used as the first operand of a shift expression without a compile error
-/// @compile-error
/// @author iarkh@unipro.ru
// SharedOptions=--enable-experiment=triple-shift
@@ -25,4 +24,7 @@
main() {
proc >>> 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Shift/syntax_t25.dart b/Language/Expressions/Shift/syntax_t25.dart
index 27658dd..9a30889 100644
--- a/Language/Expressions/Shift/syntax_t25.dart
+++ b/Language/Expressions/Shift/syntax_t25.dart
@@ -16,7 +16,6 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that a reference to a type alias declaration cannot be
/// used as the second operand of a shift expression without a compile error.
-/// @compile-error
/// @author iarkh@unipro.ru
// SharedOptions=--enable-experiment=triple-shift
@@ -25,4 +24,7 @@
main() {
2 >>> proc;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Shift/syntax_t26.dart b/Language/Expressions/Shift/syntax_t26.dart
index 01425e0..c2a195f 100644
--- a/Language/Expressions/Shift/syntax_t26.dart
+++ b/Language/Expressions/Shift/syntax_t26.dart
@@ -16,7 +16,6 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that a type parameter cannot be used
/// as the first operand of a shift expression without a compile error.
-/// @compile-error
/// @author iarkh@unipro.ru
// SharedOptions=--enable-experiment=triple-shift
@@ -24,6 +23,9 @@
class A<T> {
test() {
T >>> 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Shift/syntax_t27.dart b/Language/Expressions/Shift/syntax_t27.dart
index 4c9fb5c..e0e509c 100644
--- a/Language/Expressions/Shift/syntax_t27.dart
+++ b/Language/Expressions/Shift/syntax_t27.dart
@@ -16,7 +16,6 @@
/// of a shift operator on either super or an expression e1, with argument e2.
/// @description Checks that a type parameter cannot be used
/// as the second operand of a shift expression without a compile error.
-/// @compile-error
/// @author iarkh@unipro.ru
// SharedOptions=--enable-experiment=triple-shift
@@ -24,6 +23,9 @@
class A<T> {
test() {
2 >>> T;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Strings/String_Interpolation/double_quote_t04.dart b/Language/Expressions/Strings/String_Interpolation/double_quote_t04.dart
index 6e7df88..2a47745 100644
--- a/Language/Expressions/Strings/String_Interpolation/double_quote_t04.dart
+++ b/Language/Expressions/Strings/String_Interpolation/double_quote_t04.dart
@@ -6,12 +6,14 @@
/// concatenation of the strings "s1", e.toString() and "s2".
/// @description Checks that it is a compile error if e.toString() does not
/// return an object of type string.
-/// @compile-error
/// @author msyabro
class A {
toString() => 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Strings/String_Interpolation/single_quote_t03.dart b/Language/Expressions/Strings/String_Interpolation/single_quote_t03.dart
index 4884c6b..02b7cfa 100644
--- a/Language/Expressions/Strings/String_Interpolation/single_quote_t03.dart
+++ b/Language/Expressions/Strings/String_Interpolation/single_quote_t03.dart
@@ -6,12 +6,14 @@
/// concatenation of the strings 's1', e.toString() and 's2'.
/// @description Checks that it is a compile error if e.toString() does not
/// return an object of type string.
-/// @compile-error
/// @author msyabro
class A {
toString() => 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/Strings/String_Interpolation/syntax_t02.dart b/Language/Expressions/Strings/String_Interpolation/syntax_t02.dart
index 9b1cd91..2dad59a 100644
--- a/Language/Expressions/Strings/String_Interpolation/syntax_t02.dart
+++ b/Language/Expressions/Strings/String_Interpolation/syntax_t02.dart
@@ -13,10 +13,12 @@
/// @description Checks that it is a compile-time error when the expression in
/// string interpolation construct is invalid (an anonymous function expression
/// missing the semicolon at the end of its body).
-/// @compile-error
/// @author msyabro
main() {
'${() {return 1}}';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/String_Interpolation/syntax_t03.dart b/Language/Expressions/Strings/String_Interpolation/syntax_t03.dart
index 8d87088..a8749f1 100644
--- a/Language/Expressions/Strings/String_Interpolation/syntax_t03.dart
+++ b/Language/Expressions/Strings/String_Interpolation/syntax_t03.dart
@@ -14,11 +14,13 @@
/// string interpolation construct of the form '$' IDENTIFIER_NO_DOLLAR contains
/// the dollar character that is not a beginning of another string interpolation
/// construct.
-/// @compile-error
/// @author msyabro
main() {
var x$ = "dollar";
'$x$';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/String_Interpolation/syntax_t07.dart b/Language/Expressions/Strings/String_Interpolation/syntax_t07.dart
index bef10cc..71bc461 100644
--- a/Language/Expressions/Strings/String_Interpolation/syntax_t07.dart
+++ b/Language/Expressions/Strings/String_Interpolation/syntax_t07.dart
@@ -12,10 +12,12 @@
/// ;
/// @description Checks that it is a compile error if the identifier used in a
/// string interpolation construct is not declared in the current scope.
-/// @compile-error
/// @author msyabro
main() {
"${nonExistingVariable}";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/String_Interpolation/syntax_t08.dart b/Language/Expressions/Strings/String_Interpolation/syntax_t08.dart
index 2261a7b..1116fba 100644
--- a/Language/Expressions/Strings/String_Interpolation/syntax_t08.dart
+++ b/Language/Expressions/Strings/String_Interpolation/syntax_t08.dart
@@ -12,10 +12,19 @@
/// ;
/// @description Checks that it is a compile-time error if a string
/// interpolation construct does not have the closing brace.
-/// @compile-error
/// @author msyabro
main() {
+// ^
+// [cfe] unspecified
"${1";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
+//^
+// [analyzer] unspecified
+// [error line 30, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
\ No newline at end of file
diff --git a/Language/Expressions/Strings/String_Interpolation/syntax_t09.dart b/Language/Expressions/Strings/String_Interpolation/syntax_t09.dart
index 54ec12a..0ce36c4 100644
--- a/Language/Expressions/Strings/String_Interpolation/syntax_t09.dart
+++ b/Language/Expressions/Strings/String_Interpolation/syntax_t09.dart
@@ -13,10 +13,12 @@
/// @description Checks that it is a compile-time error if a string
/// interpolation construct does not start with IDENTIFIER_NO_DOLLAR or opening
/// brace.
-/// @compile-error
/// @author msyabro
main() {
"$1}";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/String_Interpolation/syntax_t10.dart b/Language/Expressions/Strings/String_Interpolation/syntax_t10.dart
index 0b55f5c..65aaf60 100644
--- a/Language/Expressions/Strings/String_Interpolation/syntax_t10.dart
+++ b/Language/Expressions/Strings/String_Interpolation/syntax_t10.dart
@@ -13,10 +13,12 @@
/// @description Checks that it is a compile-time error if a string
/// interpolation construct contains a statement (variable declaration) instead
/// of an expression.
-/// @compile-error
/// @author msyabro
main() {
"${var x = 1}";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/String_Interpolation/syntax_t11.dart b/Language/Expressions/Strings/String_Interpolation/syntax_t11.dart
index 0b6dbdc..bf1d720 100644
--- a/Language/Expressions/Strings/String_Interpolation/syntax_t11.dart
+++ b/Language/Expressions/Strings/String_Interpolation/syntax_t11.dart
@@ -13,10 +13,12 @@
/// @description Checks that it is a compile-time error if the identifier in a
/// string interpolation construct (without the curly braces) is invalid
/// (contains prohibited characters).
-/// @compile-error
/// @author msyabro
main() {
"$#x";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/String_Interpolation/syntax_t14.dart b/Language/Expressions/Strings/String_Interpolation/syntax_t14.dart
index 67938ac..2308e81 100644
--- a/Language/Expressions/Strings/String_Interpolation/syntax_t14.dart
+++ b/Language/Expressions/Strings/String_Interpolation/syntax_t14.dart
@@ -13,7 +13,6 @@
/// @description Checks that it is a compile-time error when the identifier in
/// string interpolation construct of the form '$' IDENTIFIER_NO_DOLLAR starts
/// with the dollar character.
-/// @compile-error
/// @author kaigorodov
@@ -21,4 +20,7 @@
var $x = "dollar";
var x = "dollar";
'$$x';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/String_Interpolation/syntax_t15.dart b/Language/Expressions/Strings/String_Interpolation/syntax_t15.dart
index 86c6bc8..b0ed728 100644
--- a/Language/Expressions/Strings/String_Interpolation/syntax_t15.dart
+++ b/Language/Expressions/Strings/String_Interpolation/syntax_t15.dart
@@ -12,11 +12,13 @@
/// ;
/// @description Checks that it is a compile-time error when an interpolation
/// construct is split between two adjacent string literals.
-/// @compile-error
/// @author msyabro
main() {
var x = "dollar";
'$' 'x';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/String_Interpolation/syntax_t16.dart b/Language/Expressions/Strings/String_Interpolation/syntax_t16.dart
index 6cd8421..3eb9ac5 100644
--- a/Language/Expressions/Strings/String_Interpolation/syntax_t16.dart
+++ b/Language/Expressions/Strings/String_Interpolation/syntax_t16.dart
@@ -12,10 +12,12 @@
/// ;
/// @description Checks that it is a compile-time error when an interpolation is
/// separated between three adjacent string literals.
-/// @compile-error
/// @author msyabro
main() {
'${1' '+' '1}';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/escape_hexadecimal_digits_t01.dart b/Language/Expressions/Strings/escape_hexadecimal_digits_t01.dart
index 8004a99..d8f7435 100644
--- a/Language/Expressions/Strings/escape_hexadecimal_digits_t01.dart
+++ b/Language/Expressions/Strings/escape_hexadecimal_digits_t01.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error if a string literal
/// contains a character sequence of the form \x that is followed only by one
/// hexadecimal digit.
-/// @compile-error
/// @author msyabro
main() {
"\x1";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/escape_hexadecimal_digits_t02.dart b/Language/Expressions/Strings/escape_hexadecimal_digits_t02.dart
index 50e1892..929ecc8 100644
--- a/Language/Expressions/Strings/escape_hexadecimal_digits_t02.dart
+++ b/Language/Expressions/Strings/escape_hexadecimal_digits_t02.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error if a string literal
/// contains a character sequence of the form \x that is followed by characters
/// that are not hexadecimal digits.
-/// @compile-error
/// @author msyabro
main() {
"\xx";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/escape_hexadecimal_digits_t03.dart b/Language/Expressions/Strings/escape_hexadecimal_digits_t03.dart
index 7e59029..5dd758f 100644
--- a/Language/Expressions/Strings/escape_hexadecimal_digits_t03.dart
+++ b/Language/Expressions/Strings/escape_hexadecimal_digits_t03.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a string literal
/// contains a character sequence of the form \x that is not followed by
/// anything.
-/// @compile-error
/// @author msyabro
main() {
'\x';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/escape_unicode_scalar_value_t02.dart b/Language/Expressions/Strings/escape_unicode_scalar_value_t02.dart
index 18cc6b3..5cb71f6 100644
--- a/Language/Expressions/Strings/escape_unicode_scalar_value_t02.dart
+++ b/Language/Expressions/Strings/escape_unicode_scalar_value_t02.dart
@@ -13,10 +13,12 @@
/// ;
/// @description Checks that it is a compile-time error when the value
/// of the HEX_DIGIT_SEQUENCE is too long.
-/// @compile-error
/// @author msyabro
main() {
'\u{121341}';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/escape_unicode_scalar_value_t03.dart b/Language/Expressions/Strings/escape_unicode_scalar_value_t03.dart
index c9e32d1..0c9717a 100644
--- a/Language/Expressions/Strings/escape_unicode_scalar_value_t03.dart
+++ b/Language/Expressions/Strings/escape_unicode_scalar_value_t03.dart
@@ -13,10 +13,12 @@
/// ;
/// @description Checks that it is a compile-time error when the value
/// of the HEX_DIGIT_SEQUENCE contains other symbols than HEX_DIGIT.
-/// @compile-error
/// @author msyabro
main() {
'\u{ffg}';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/extend_or_implement_t01.dart b/Language/Expressions/Strings/extend_or_implement_t01.dart
index 3ecff32..c69d738 100644
--- a/Language/Expressions/Strings/extend_or_implement_t01.dart
+++ b/Language/Expressions/Strings/extend_or_implement_t01.dart
@@ -6,11 +6,13 @@
/// mix in or implement String.
/// @description Checks that it is a compile-time error for a class to attempt
/// to implement String.
-/// @compile-error
/// @author msyabro
class C implements String {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
C();
diff --git a/Language/Expressions/Strings/extend_or_implement_t02.dart b/Language/Expressions/Strings/extend_or_implement_t02.dart
index 3526721..70abc30 100644
--- a/Language/Expressions/Strings/extend_or_implement_t02.dart
+++ b/Language/Expressions/Strings/extend_or_implement_t02.dart
@@ -6,12 +6,17 @@
/// mix in or implement String.
/// @description Checks that it is a compile-time error for an interface to
/// attempt to extend String.
-/// @compile-error
/// @author msyabro
abstract class I extends String {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class C implements I {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Expressions/Strings/extend_or_implement_t03.dart b/Language/Expressions/Strings/extend_or_implement_t03.dart
index 739cc5a..21232e1 100644
--- a/Language/Expressions/Strings/extend_or_implement_t03.dart
+++ b/Language/Expressions/Strings/extend_or_implement_t03.dart
@@ -5,12 +5,14 @@
/// @assertion It is a compile-time error for a class to attempt to extend,
/// mix in or implement String.
/// @description Checks that String cannot be mixed in
-/// @compile-error
/// @author sgrekhov@unipro.ru
class A {}
class C extends A with String {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Expressions/Strings/extend_or_implement_t04.dart b/Language/Expressions/Strings/extend_or_implement_t04.dart
index 3fd40ee..7d2eba2 100644
--- a/Language/Expressions/Strings/extend_or_implement_t04.dart
+++ b/Language/Expressions/Strings/extend_or_implement_t04.dart
@@ -5,12 +5,14 @@
/// @assertion It is a compile-time error for a class to attempt to extend,
/// mix in or implement String.
/// @description Checks that String cannot be mixed in abstract class
-/// @compile-error
/// @author sgrekhov@unipro.ru
class A {}
abstract class C extends A with String {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
C? c = null;
diff --git a/Language/Expressions/Strings/extend_or_implement_t05.dart b/Language/Expressions/Strings/extend_or_implement_t05.dart
index 1b1875c..2ce5103 100644
--- a/Language/Expressions/Strings/extend_or_implement_t05.dart
+++ b/Language/Expressions/Strings/extend_or_implement_t05.dart
@@ -5,12 +5,14 @@
/// @assertion It is a compile-time error for a class to attempt to extend,
/// mix in or implement String.
/// @description Checks that String cannot be mixed in. Test class C = M form
-/// @compile-error
/// @author sgrekhov@unipro.ru
class A {}
class C = A with String;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Expressions/Strings/multi_line_t02.dart b/Language/Expressions/Strings/multi_line_t02.dart
index 9ded086..0119532 100644
--- a/Language/Expressions/Strings/multi_line_t02.dart
+++ b/Language/Expressions/Strings/multi_line_t02.dart
@@ -22,12 +22,24 @@
/// ;
/// @description Checks that it is a compile-time error when a multi-line
/// double-quotes string literal contains another triplet of double quotes.
-/// @compile-error
/// @author msyabro
main() {
+// ^
+// [cfe] unspecified
+// [error line 34, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
"""
incorrect """ string
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 44, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 45, column 0]
+// [analyzer] unspecified
""";
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t03.dart b/Language/Expressions/Strings/multi_line_t03.dart
index b28dfbd..c900d20 100644
--- a/Language/Expressions/Strings/multi_line_t03.dart
+++ b/Language/Expressions/Strings/multi_line_t03.dart
@@ -22,14 +22,29 @@
/// ;
/// @description Checks that it is a compile-time error when a multi-line
/// single-quotes string literal contains another triplet of single quotes.
-/// @compile-error
/// @author msyabro
main() {
+// ^
+// [cfe] unspecified
try {
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 38, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
'''
incorrect ''' string
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 48, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 50, column 0]
+// [analyzer] unspecified
''';
} catch (e) {}
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t04.dart b/Language/Expressions/Strings/multi_line_t04.dart
index b6d70ce..e5485c2 100644
--- a/Language/Expressions/Strings/multi_line_t04.dart
+++ b/Language/Expressions/Strings/multi_line_t04.dart
@@ -22,12 +22,25 @@
/// ;
/// @description Checks that it is a compile-time error when a raw multi-line
/// double-quotes string literal contains another triplet of double quotes.
-/// @compile-error
/// @author msyabro
main() {
+// ^
+// [cfe] unspecified
+// [error line 40, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 45, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 46, column 0]
+// [analyzer] unspecified
+
r"""
incorrect """ string
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
""";
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t05.dart b/Language/Expressions/Strings/multi_line_t05.dart
index 25bc002..5393509 100644
--- a/Language/Expressions/Strings/multi_line_t05.dart
+++ b/Language/Expressions/Strings/multi_line_t05.dart
@@ -22,12 +22,24 @@
/// ;
/// @description Checks that it is a compile-time error when a raw multi-line
/// single-quotes string literal contains another triplet of single quotes.
-/// @compile-error
/// @author msyabro
main() {
+// ^
+// [cfe] unspecified
+// [error line 39, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 44, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 45, column 0]
+// [analyzer] unspecified
r'''
incorrect ''' string
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
''';
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t06.dart b/Language/Expressions/Strings/multi_line_t06.dart
index 78cc294..ff4daa5 100644
--- a/Language/Expressions/Strings/multi_line_t06.dart
+++ b/Language/Expressions/Strings/multi_line_t06.dart
@@ -22,12 +22,18 @@
/// ;
/// @description Checks that it is a compile-time error when a multi-line
/// string literal begins with double quotes and ends with single ones.
-/// @compile-error
/// @author msyabro
main() {
+// ^
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 39, column 0]
+// [analyzer] unspecified
"""
incorrect string
''';
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t07.dart b/Language/Expressions/Strings/multi_line_t07.dart
index 683f8c5..72fa1dd 100644
--- a/Language/Expressions/Strings/multi_line_t07.dart
+++ b/Language/Expressions/Strings/multi_line_t07.dart
@@ -22,12 +22,18 @@
/// ;
/// @description Checks that it is a compile-time error when a multi-line
/// string literal begins with single quotes and ends with double ones.
-/// @compile-error
/// @author msyabro
main() {
+// ^
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 39, column 0]
+// [analyzer] unspecified
'''
incorrect string
""";
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t08.dart b/Language/Expressions/Strings/multi_line_t08.dart
index 6a98e72..94ca357 100644
--- a/Language/Expressions/Strings/multi_line_t08.dart
+++ b/Language/Expressions/Strings/multi_line_t08.dart
@@ -22,12 +22,19 @@
/// ;
/// @description Checks that it is a compile-time error when a raw multi-line
/// string literal begins with double quotes and ends with single ones.
-/// @compile-error
/// @author msyabro
main() {
+// ^
+// [cfe] unspecified
+// [error line 37, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 40, column 0]
+// [analyzer] unspecified
+
r"""
incorrect string
''';
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t09.dart b/Language/Expressions/Strings/multi_line_t09.dart
index ca64c30..55b1e6d 100644
--- a/Language/Expressions/Strings/multi_line_t09.dart
+++ b/Language/Expressions/Strings/multi_line_t09.dart
@@ -22,12 +22,18 @@
/// ;
/// @description Checks that it is a compile-time error when a raw multi-line
/// string literal begins with single quotes and ends with double ones.
-/// @compile-error
/// @author msyabro
main() {
+// ^
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 39, column 0]
+// [analyzer] unspecified
r'''
incorrect string
""";
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t10.dart b/Language/Expressions/Strings/multi_line_t10.dart
index 637e31b..7fb71e6 100644
--- a/Language/Expressions/Strings/multi_line_t10.dart
+++ b/Language/Expressions/Strings/multi_line_t10.dart
@@ -22,11 +22,17 @@
/// ;
/// @description Checks that it is a compile-time error when a multi-line
/// double-quotes string literal does not have the closing triplet.
-/// @compile-error
/// @author msyabro
main() {
+// ^
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 38, column 0]
+// [analyzer] unspecified
"""
incorrect string;
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t11.dart b/Language/Expressions/Strings/multi_line_t11.dart
index 96c661d..fb6cd71 100644
--- a/Language/Expressions/Strings/multi_line_t11.dart
+++ b/Language/Expressions/Strings/multi_line_t11.dart
@@ -22,10 +22,16 @@
/// ;
/// @description Checks that it is a compile-time error when a multi-line
/// double-quotes string literal does not have the opening triplet.
-/// @compile-error
/// @author msyabro
main() {
+// ^
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 37, column 0]
+// [analyzer] unspecified
incorrect string""";
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t12.dart b/Language/Expressions/Strings/multi_line_t12.dart
index 7454ef3..68c4f09 100644
--- a/Language/Expressions/Strings/multi_line_t12.dart
+++ b/Language/Expressions/Strings/multi_line_t12.dart
@@ -22,10 +22,16 @@
/// ;
/// @description Checks that it is a compile-time error when a multi-line
/// single-quotes string literal does not have the opening triplet.
-/// @compile-error
/// @author msyabro
main() {
+// ^
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 37, column 0]
+// [analyzer] unspecified
incorrect string''';
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t13.dart b/Language/Expressions/Strings/multi_line_t13.dart
index 55465f9..64a5139 100644
--- a/Language/Expressions/Strings/multi_line_t13.dart
+++ b/Language/Expressions/Strings/multi_line_t13.dart
@@ -22,10 +22,16 @@
/// ;
/// @description Checks that it is a compile-time error when a multi-line
/// single-quotes string literal does not have the closing triplet.
-/// @compile-error
/// @author msyabro
main() {
+// ^
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 37, column 0]
+// [analyzer] unspecified
'''incorrect string;
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t14.dart b/Language/Expressions/Strings/multi_line_t14.dart
index 671b26f..67a0ec7 100644
--- a/Language/Expressions/Strings/multi_line_t14.dart
+++ b/Language/Expressions/Strings/multi_line_t14.dart
@@ -22,11 +22,17 @@
/// ;
/// @description Checks that it is a compile-time error when a raw multi-line
/// double-quotes string literal does not have the closing triplet.
-/// @compile-error
/// @author msyabro
main() {
+// ^
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 38, column 0]
+// [analyzer] unspecified
r"""
incorrect string;
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t15.dart b/Language/Expressions/Strings/multi_line_t15.dart
index bbef577..57bddad 100644
--- a/Language/Expressions/Strings/multi_line_t15.dart
+++ b/Language/Expressions/Strings/multi_line_t15.dart
@@ -22,10 +22,16 @@
/// ;
/// @description Checks that it is a compile-time error when a raw multi-line
/// double-quotes string literal does not have the opening triplet.
-/// @compile-error
/// @author msyabro
main() {
+// ^
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 37, column 0]
+// [analyzer] unspecified
r incorrect string""";
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t16.dart b/Language/Expressions/Strings/multi_line_t16.dart
index ea9679b..748eb58 100644
--- a/Language/Expressions/Strings/multi_line_t16.dart
+++ b/Language/Expressions/Strings/multi_line_t16.dart
@@ -22,10 +22,16 @@
/// ;
/// @description Checks that it is a compile-time error when a raw multi-line
/// single-quotes string literal does not have the opening triplet.
-/// @compile-error
/// @author msyabro
main() {
+// ^
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 37, column 0]
+// [analyzer] unspecified
r incorrect string''';
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t17.dart b/Language/Expressions/Strings/multi_line_t17.dart
index 45578b3..c185900 100644
--- a/Language/Expressions/Strings/multi_line_t17.dart
+++ b/Language/Expressions/Strings/multi_line_t17.dart
@@ -22,10 +22,16 @@
/// ;
/// @description Checks that it is a compile-time error when a raw multi-line
/// single-quotes string literal does not have the closing triplet.
-/// @compile-error
/// @author msyabro
main() {
+// ^
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 37, column 0]
+// [analyzer] unspecified
r'''incorrect string;
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t18.dart b/Language/Expressions/Strings/multi_line_t18.dart
index 23366e9..29b4a79 100644
--- a/Language/Expressions/Strings/multi_line_t18.dart
+++ b/Language/Expressions/Strings/multi_line_t18.dart
@@ -22,10 +22,16 @@
/// ;
/// @description Checks that it is a compile-time error when a multi-line
/// single-quotes string literal has fewer than 3 closing quotes.
-/// @compile-error
/// @author rodionov
main() {
+// ^
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 37, column 0]
+// [analyzer] unspecified
'''foo'';
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t19.dart b/Language/Expressions/Strings/multi_line_t19.dart
index cdfa159..fdcc4b9 100644
--- a/Language/Expressions/Strings/multi_line_t19.dart
+++ b/Language/Expressions/Strings/multi_line_t19.dart
@@ -22,10 +22,16 @@
/// ;
/// @description Checks that it is a compile-time error when a raw multi-line
/// single-quotes string literal has fewer than 3 closing quotes.
-/// @compile-error
/// @author rodionov
main() {
+// ^
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 37, column 0]
+// [analyzer] unspecified
r'''foo'';
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t20.dart b/Language/Expressions/Strings/multi_line_t20.dart
index 090be18..b7f01fc 100644
--- a/Language/Expressions/Strings/multi_line_t20.dart
+++ b/Language/Expressions/Strings/multi_line_t20.dart
@@ -22,10 +22,16 @@
/// ;
/// @description Checks that it is a compile-time error when a multi-line
/// single-quotes string literal has fewer than 3 opening quotes.
-/// @compile-error
/// @author rodionov
main() {
+// ^
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 37, column 0]
+// [analyzer] unspecified
''foo''';
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t21.dart b/Language/Expressions/Strings/multi_line_t21.dart
index a9fb182..1228b8a 100644
--- a/Language/Expressions/Strings/multi_line_t21.dart
+++ b/Language/Expressions/Strings/multi_line_t21.dart
@@ -22,10 +22,16 @@
/// ;
/// @description Checks that it is a compile-time error when a raw multi-line
/// single-quotes string literal has fewer than 3 opening quotes.
-/// @compile-error
/// @author rodionov
main() {
+// ^
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 37, column 0]
+// [analyzer] unspecified
r''foo''';
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t22.dart b/Language/Expressions/Strings/multi_line_t22.dart
index bbaa6bc..49ddb2e 100644
--- a/Language/Expressions/Strings/multi_line_t22.dart
+++ b/Language/Expressions/Strings/multi_line_t22.dart
@@ -22,10 +22,16 @@
/// ;
/// @description Checks that it is a compile-time error when a multi-line
/// double-quotes string literal has fewer than 3 closing quotes.
-/// @compile-error
/// @author rodionov
main() {
+// ^
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 37, column 0]
+// [analyzer] unspecified
"""foo"";
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t23.dart b/Language/Expressions/Strings/multi_line_t23.dart
index 4d77e49..ad09c55 100644
--- a/Language/Expressions/Strings/multi_line_t23.dart
+++ b/Language/Expressions/Strings/multi_line_t23.dart
@@ -22,10 +22,16 @@
/// ;
/// @description Checks that it is a compile-time error when a raw multi-line
/// double-quotes string literal has fewer than 3 closing quotes.
-/// @compile-error
/// @author rodionov
main() {
+// ^
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 37, column 0]
+// [analyzer] unspecified
r"""foo"";
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t24.dart b/Language/Expressions/Strings/multi_line_t24.dart
index bedfe51..2680d9e 100644
--- a/Language/Expressions/Strings/multi_line_t24.dart
+++ b/Language/Expressions/Strings/multi_line_t24.dart
@@ -22,10 +22,16 @@
/// ;
/// @description Checks that it is a compile-time error when a multi-line
/// double-quotes string literal has fewer than 3 opening quotes.
-/// @compile-error
/// @author rodionov
main() {
+// ^
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 37, column 0]
+// [analyzer] unspecified
""foo""";
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t25.dart b/Language/Expressions/Strings/multi_line_t25.dart
index 251acab..f77b67d 100644
--- a/Language/Expressions/Strings/multi_line_t25.dart
+++ b/Language/Expressions/Strings/multi_line_t25.dart
@@ -22,10 +22,16 @@
/// ;
/// @description Checks that it is a compile-time error when a raw multi-line
/// double-quotes string literal has fewer than 3 opening quotes.
-/// @compile-error
/// @author rodionov
main() {
+// ^
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 37, column 0]
+// [analyzer] unspecified
r""foo""";
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t26.dart b/Language/Expressions/Strings/multi_line_t26.dart
index b5504db..4a3069f 100644
--- a/Language/Expressions/Strings/multi_line_t26.dart
+++ b/Language/Expressions/Strings/multi_line_t26.dart
@@ -22,10 +22,12 @@
/// ;
/// @description Checks that it is a compile-time error if a multi-line
/// double-quoted string opens with one single quote.
-/// @compile-error
/// @author msyabro
main() {
's""";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/multi_line_t27.dart b/Language/Expressions/Strings/multi_line_t27.dart
index 631fecc..b1f0eb8 100644
--- a/Language/Expressions/Strings/multi_line_t27.dart
+++ b/Language/Expressions/Strings/multi_line_t27.dart
@@ -22,10 +22,12 @@
/// ;
/// @description Checks that it is a compile-time error if a raw multi-line
/// double-quoted string opens with one single quote.
-/// @compile-error
/// @author msyabro
main() {
r's""";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/multi_line_t28.dart b/Language/Expressions/Strings/multi_line_t28.dart
index b15dab0..b81913e 100644
--- a/Language/Expressions/Strings/multi_line_t28.dart
+++ b/Language/Expressions/Strings/multi_line_t28.dart
@@ -22,10 +22,16 @@
/// ;
/// @description Checks that it is a compile-time error if a multi-line
/// double-quoted string closes with one single quote.
-/// @compile-error
/// @author msyabro
main() {
+// ^
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 37, column 0]
+// [analyzer] unspecified
"""s';
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t29.dart b/Language/Expressions/Strings/multi_line_t29.dart
index f404a13..5c2d0c4 100644
--- a/Language/Expressions/Strings/multi_line_t29.dart
+++ b/Language/Expressions/Strings/multi_line_t29.dart
@@ -22,10 +22,16 @@
/// ;
/// @description Checks that it is a compile-time error if a raw multi-line
/// double-quoted string closes with one single quote.
-/// @compile-error
/// @author msyabro
main() {
+// ^
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 37, column 0]
+// [analyzer] unspecified
r"""s';
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t30.dart b/Language/Expressions/Strings/multi_line_t30.dart
index ecbd49a..2e1d0d5 100644
--- a/Language/Expressions/Strings/multi_line_t30.dart
+++ b/Language/Expressions/Strings/multi_line_t30.dart
@@ -22,10 +22,12 @@
/// ;
/// @description Checks that it is a compile-time error if a multi-line
/// single-quoted string opens with one double quote.
-/// @compile-error
/// @author msyabro
main() {
"s''';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/multi_line_t31.dart b/Language/Expressions/Strings/multi_line_t31.dart
index f0d1d45..9179eaf 100644
--- a/Language/Expressions/Strings/multi_line_t31.dart
+++ b/Language/Expressions/Strings/multi_line_t31.dart
@@ -22,10 +22,12 @@
/// ;
/// @description Checks that it is a compile-time error if a raw multi-line
/// single-quoted string opens with one double quote.
-/// @compile-error
/// @author msyabro
main() {
r"s''';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/multi_line_t32.dart b/Language/Expressions/Strings/multi_line_t32.dart
index 1a31d64..ca66317 100644
--- a/Language/Expressions/Strings/multi_line_t32.dart
+++ b/Language/Expressions/Strings/multi_line_t32.dart
@@ -22,10 +22,16 @@
/// ;
/// @description Checks that it is a compile-time error if a multi-line
/// single-quoted string closes with one double quote.
-/// @compile-error
/// @author msyabro
main() {
+// ^
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 37, column 0]
+// [analyzer] unspecified
'''s";
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t33.dart b/Language/Expressions/Strings/multi_line_t33.dart
index 6f06241..f64ba3c 100644
--- a/Language/Expressions/Strings/multi_line_t33.dart
+++ b/Language/Expressions/Strings/multi_line_t33.dart
@@ -22,10 +22,16 @@
/// ;
/// @description Checks that it is a compile-time error if a raw multi-line
/// single-quoted string closes with one double quote.
-/// @compile-error
/// @author msyabro
main() {
+// ^
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 37, column 0]
+// [analyzer] unspecified
r'''s";
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t34.dart b/Language/Expressions/Strings/multi_line_t34.dart
index 560e728..9449dc5 100644
--- a/Language/Expressions/Strings/multi_line_t34.dart
+++ b/Language/Expressions/Strings/multi_line_t34.dart
@@ -22,10 +22,12 @@
/// ;
/// @description Checks that multi-line strings that contain character sequences
/// prohibited by this grammar, cause compile-time errors.
-/// @compile-error
/// @author rodionov
main() {
"""$""";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/multi_line_t36.dart b/Language/Expressions/Strings/multi_line_t36.dart
index 619d0a5..c2533f7 100644
--- a/Language/Expressions/Strings/multi_line_t36.dart
+++ b/Language/Expressions/Strings/multi_line_t36.dart
@@ -22,10 +22,12 @@
/// ;
/// @description Checks that multi-line strings that contain characters and
/// sequences prohibited by this grammar, cause compile-time errors.
-/// @compile-error
/// @author rodionov
main() {
'''$''';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/multi_line_t38.dart b/Language/Expressions/Strings/multi_line_t38.dart
index ead02ca..e584b61 100644
--- a/Language/Expressions/Strings/multi_line_t38.dart
+++ b/Language/Expressions/Strings/multi_line_t38.dart
@@ -21,10 +21,16 @@
/// stringInterpolation
/// ;
/// @description Checks that unbalanced string cause compile-time erros.
-/// @compile-error
/// @author rodionov
main() {
+// ^
+// [cfe] unspecified
+// [error line 35, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
"""\""";
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t40.dart b/Language/Expressions/Strings/multi_line_t40.dart
index a4fc200..d9d1461 100644
--- a/Language/Expressions/Strings/multi_line_t40.dart
+++ b/Language/Expressions/Strings/multi_line_t40.dart
@@ -21,11 +21,17 @@
/// stringInterpolation
/// ;
/// @description Checks that unbalanced string cause compile-time erros.
-/// @compile-error
/// @reviewer iefremov
/// @author rodionov
main() {
+// ^
+// [cfe] unspecified
+// [error line 36, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 37, column 0]
+// [analyzer] unspecified
'''\''';
-}
+}
\ No newline at end of file
diff --git a/Language/Expressions/Strings/multi_line_t42.dart b/Language/Expressions/Strings/multi_line_t42.dart
index 4f398ec..820adda 100644
--- a/Language/Expressions/Strings/multi_line_t42.dart
+++ b/Language/Expressions/Strings/multi_line_t42.dart
@@ -22,10 +22,12 @@
/// ;
/// @description Checks that multi-line strings that contain characters and
/// sequences prohibited by this grammar, cause compile-time errors.
-/// @compile-error
/// @author rodionov
main() {
"""^_$""";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/multi_line_t44.dart b/Language/Expressions/Strings/multi_line_t44.dart
index d9850d5..29a51b4 100644
--- a/Language/Expressions/Strings/multi_line_t44.dart
+++ b/Language/Expressions/Strings/multi_line_t44.dart
@@ -23,9 +23,11 @@
/// @description Checks that multi-line strings that contain characters and
/// sequences prohibited by this grammar, cause compile-time errors.
/// @author rodionov
-/// @compile-error
main() {
'''^_$''';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/static_type_t01.dart b/Language/Expressions/Strings/static_type_t01.dart
index 64d7d90..1b0e248 100644
--- a/Language/Expressions/Strings/static_type_t01.dart
+++ b/Language/Expressions/Strings/static_type_t01.dart
@@ -6,7 +6,6 @@
/// @description Checks that the static type of a string literal is String by
/// ensuring there're no static warnings when a string literal is being assigned
/// to a String variable.
-/// @static-clean
/// @author msyabro
diff --git a/Language/Expressions/Strings/static_type_t02.dart b/Language/Expressions/Strings/static_type_t02.dart
index cbba8aa..d0534a7 100644
--- a/Language/Expressions/Strings/static_type_t02.dart
+++ b/Language/Expressions/Strings/static_type_t02.dart
@@ -5,10 +5,12 @@
/// @assertion The static type of a string literal is String.
/// @description Checks that a compile error occurs when assigning
/// a single-quoted string literal to an int variable.
-/// @compile-error
/// @author msyabro
main() {
int i = '';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/static_type_t03.dart b/Language/Expressions/Strings/static_type_t03.dart
index c284d52..7030376 100644
--- a/Language/Expressions/Strings/static_type_t03.dart
+++ b/Language/Expressions/Strings/static_type_t03.dart
@@ -5,10 +5,12 @@
/// @assertion The static type of a string literal is String.
/// @description Checks that a compile error occurs when assigning
/// a double-quoted string literal to an int variable.
-/// @compile-error
/// @author msyabro
main() {
int i = "string";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/static_type_t04.dart b/Language/Expressions/Strings/static_type_t04.dart
index 70333f4..cd52ea2 100644
--- a/Language/Expressions/Strings/static_type_t04.dart
+++ b/Language/Expressions/Strings/static_type_t04.dart
@@ -5,10 +5,12 @@
/// @assertion The static type of a string literal is String.
/// @description Checks that a compile error occurs when assigning
/// a raw double-quoted string literal to an int variable.
-/// @compile-error
/// @author msyabro
main() {
int i = r"string";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/static_type_t05.dart b/Language/Expressions/Strings/static_type_t05.dart
index da1219e..4cf6026 100644
--- a/Language/Expressions/Strings/static_type_t05.dart
+++ b/Language/Expressions/Strings/static_type_t05.dart
@@ -5,10 +5,12 @@
/// @assertion The static type of a string literal is String.
/// @description Checks that a compile error occurs when assigning
/// a raw single-quoted string literal to an int variable.
-/// @compile-error
/// @author msyabro
main() {
int i = r'string';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/static_type_t06.dart b/Language/Expressions/Strings/static_type_t06.dart
index 0474645..f382adf 100644
--- a/Language/Expressions/Strings/static_type_t06.dart
+++ b/Language/Expressions/Strings/static_type_t06.dart
@@ -5,10 +5,12 @@
/// @assertion The static type of a string literal is String.
/// @description Checks that a compile error occurs when assigning
/// a multiline single-quoted string literal to an int variable.
-/// @compile-error
/// @author msyabro
main() {
int i = '''abc''';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/static_type_t07.dart b/Language/Expressions/Strings/static_type_t07.dart
index 6f1e4cc..64f0751 100644
--- a/Language/Expressions/Strings/static_type_t07.dart
+++ b/Language/Expressions/Strings/static_type_t07.dart
@@ -5,10 +5,12 @@
/// @assertion The static type of a string literal is String.
/// @description Checks that a compile error occurs when assigning
/// a multiline double-quoted string literal to an int variable.
-/// @compile-error
/// @author msyabro
main() {
int i = """abc""";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/static_type_t08.dart b/Language/Expressions/Strings/static_type_t08.dart
index ca50d3e..61423fd 100644
--- a/Language/Expressions/Strings/static_type_t08.dart
+++ b/Language/Expressions/Strings/static_type_t08.dart
@@ -5,10 +5,12 @@
/// @assertion The static type of a string literal is String.
/// @description Checks that a compile error occurs when assigning
/// a raw multiline double-quoted string literal to an int variable.
-/// @compile-error
/// @author msyabro
main() {
int i = r"""abc""";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/static_type_t09.dart b/Language/Expressions/Strings/static_type_t09.dart
index fcdb6fe..a94c564 100644
--- a/Language/Expressions/Strings/static_type_t09.dart
+++ b/Language/Expressions/Strings/static_type_t09.dart
@@ -5,10 +5,12 @@
/// @assertion The static type of a string literal is String.
/// @description Checks that a compile error occurs when assigning
/// a raw multiline single-quoted string literal to an int variable.
-/// @compile-error
/// @author msyabro
main() {
int i = r'''abc''';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t02.dart b/Language/Expressions/Strings/string_literal_t02.dart
index c24d76c..44c9225 100644
--- a/Language/Expressions/Strings/string_literal_t02.dart
+++ b/Language/Expressions/Strings/string_literal_t02.dart
@@ -28,11 +28,16 @@
/// ;
/// @description Checks that it is a compile-time error when a newline character
/// is used in a single-line string literal.
-/// @compile-error
/// @author msyabro
main() {
"str
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
ing";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t03.dart b/Language/Expressions/Strings/string_literal_t03.dart
index eabf15f..e4cd8ac 100644
--- a/Language/Expressions/Strings/string_literal_t03.dart
+++ b/Language/Expressions/Strings/string_literal_t03.dart
@@ -28,11 +28,16 @@
/// ;
/// @description Checks that it is a compile-time error when a newline character
/// is used in a single-line string literal.
-/// @compile-error
/// @author msyabro
main() {
'str
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
ing';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t04.dart b/Language/Expressions/Strings/string_literal_t04.dart
index e99c1dc..3ae8bf5 100644
--- a/Language/Expressions/Strings/string_literal_t04.dart
+++ b/Language/Expressions/Strings/string_literal_t04.dart
@@ -29,10 +29,12 @@
/// @description Checks that it is a compile-time error when a backslash
/// character is not followed by another character in in a single-line
/// double-quotes string literal that isn't raw.
-/// @compile-error
/// @author msyabro
main() {
"\";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t05.dart b/Language/Expressions/Strings/string_literal_t05.dart
index 72485bc..7361dec 100644
--- a/Language/Expressions/Strings/string_literal_t05.dart
+++ b/Language/Expressions/Strings/string_literal_t05.dart
@@ -29,10 +29,12 @@
/// @description Checks that it is a compile-time error when a backslash
/// character is not followed by another character in in a single-line
/// single-quotes string literal that isn't raw.
-/// @compile-error
/// @author msyabro
main() {
'\';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t06.dart b/Language/Expressions/Strings/string_literal_t06.dart
index b58d1b5..204dfb2 100644
--- a/Language/Expressions/Strings/string_literal_t06.dart
+++ b/Language/Expressions/Strings/string_literal_t06.dart
@@ -29,12 +29,17 @@
/// @description Checks that it is a compile-time error when a newline character
/// in a single-line double-quotes string literal is preceded by a backslash
/// character.
-/// @compile-error
/// @author msyabro
/// @note http://code.google.com/p/dart/issues/detail?id=1549
main() {
"new\
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
line";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t07.dart b/Language/Expressions/Strings/string_literal_t07.dart
index 27e53fc..4da8e22 100644
--- a/Language/Expressions/Strings/string_literal_t07.dart
+++ b/Language/Expressions/Strings/string_literal_t07.dart
@@ -29,11 +29,16 @@
/// @description Checks that it is a compile-time error when a newline character
/// in a single-line single-quotes string literal is preceded by a backslash
/// character.
-/// @compile-error
/// @author msyabro
main() {
'new\
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
line';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t10.dart b/Language/Expressions/Strings/string_literal_t10.dart
index a243eb3..38bff57 100644
--- a/Language/Expressions/Strings/string_literal_t10.dart
+++ b/Language/Expressions/Strings/string_literal_t10.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that a double-quotes string literal can't contain a
/// double quote character that is not escaped using a backslash character.
-/// @compile-error
/// @author msyabro
main() {
"invalid " string";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t11.dart b/Language/Expressions/Strings/string_literal_t11.dart
index b656642..ee6d51c 100644
--- a/Language/Expressions/Strings/string_literal_t11.dart
+++ b/Language/Expressions/Strings/string_literal_t11.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that a single-quotes string literal can't contain a
/// single quote character that is not escaped using a backslash character.
-/// @compile-error
/// @author msyabro
main() {
'invalid ' string';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t12.dart b/Language/Expressions/Strings/string_literal_t12.dart
index 451d4f7..b4acf78 100644
--- a/Language/Expressions/Strings/string_literal_t12.dart
+++ b/Language/Expressions/Strings/string_literal_t12.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that a string literal can't begin with a single quote
/// and end with double.
-/// @compile-error
/// @author msyabro
main() {
'string";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t13.dart b/Language/Expressions/Strings/string_literal_t13.dart
index fe2b363..d3261bf 100644
--- a/Language/Expressions/Strings/string_literal_t13.dart
+++ b/Language/Expressions/Strings/string_literal_t13.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that a string literal can't begin with a double quote
/// and end with single.
-/// @compile-error
/// @author msyabro
main() {
"string';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t14.dart b/Language/Expressions/Strings/string_literal_t14.dart
index f3eca1a..8086b8e 100644
--- a/Language/Expressions/Strings/string_literal_t14.dart
+++ b/Language/Expressions/Strings/string_literal_t14.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that it is a compile-time error when a double-quotes
/// string literal does not have the closing quote.
-/// @compile-error
/// @author msyabro
main() {
"string;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t15.dart b/Language/Expressions/Strings/string_literal_t15.dart
index 30d56f3..06f89e8 100644
--- a/Language/Expressions/Strings/string_literal_t15.dart
+++ b/Language/Expressions/Strings/string_literal_t15.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that it is a compile-time error when a double-quotes
/// string literal does not have the opening quote.
-/// @compile-error
/// @author msyabro
main() {
string";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t16.dart b/Language/Expressions/Strings/string_literal_t16.dart
index 04aca45..c803be1 100644
--- a/Language/Expressions/Strings/string_literal_t16.dart
+++ b/Language/Expressions/Strings/string_literal_t16.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that it is a compile-time error when a single-quotes
/// string literal does not have the opening quote.
-/// @compile-error
/// @author msyabro
main() {
string';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t17.dart b/Language/Expressions/Strings/string_literal_t17.dart
index b0c4322..7154e59 100644
--- a/Language/Expressions/Strings/string_literal_t17.dart
+++ b/Language/Expressions/Strings/string_literal_t17.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that it is a compile-time error when a single-quotes
/// string literal does not have the closing quote.
-/// @compile-error
/// @author msyabro
main() {
'string;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t18.dart b/Language/Expressions/Strings/string_literal_t18.dart
index c6d2900..9ab2311 100644
--- a/Language/Expressions/Strings/string_literal_t18.dart
+++ b/Language/Expressions/Strings/string_literal_t18.dart
@@ -28,12 +28,17 @@
/// ;
/// @description Checks that newline characters are not allowed in a
/// raw double-quotes string literal.
-/// @compile-error
/// @author msyabro
/// @note http://code.google.com/p/dart/issues/detail?id=1551
main() {
r"str
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
ing";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t19.dart b/Language/Expressions/Strings/string_literal_t19.dart
index 1e6fa9d..0da4cf7 100644
--- a/Language/Expressions/Strings/string_literal_t19.dart
+++ b/Language/Expressions/Strings/string_literal_t19.dart
@@ -28,12 +28,17 @@
/// ;
/// @description Checks that newline characters are not allowed in a
/// raw single-quotes string literal.
-/// @compile-error
/// @author msyabro
/// @note http://code.google.com/p/dart/issues/detail?id=1551
main() {
r'str
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
ing';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t20.dart b/Language/Expressions/Strings/string_literal_t20.dart
index 4c745ae..f69d725 100644
--- a/Language/Expressions/Strings/string_literal_t20.dart
+++ b/Language/Expressions/Strings/string_literal_t20.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that a raw double-quotes string literal can't
/// contain another double quote.
-/// @compile-error
/// @author msyabro
main() {
r"invalid " string";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t21.dart b/Language/Expressions/Strings/string_literal_t21.dart
index ba968bf..6e4a894 100644
--- a/Language/Expressions/Strings/string_literal_t21.dart
+++ b/Language/Expressions/Strings/string_literal_t21.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that a raw single-quotes string can't
/// contain another single quote.
-/// @compile-error
/// @author msyabro
main() {
r'invalid ' string';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t22.dart b/Language/Expressions/Strings/string_literal_t22.dart
index a74cab4..03b2212 100644
--- a/Language/Expressions/Strings/string_literal_t22.dart
+++ b/Language/Expressions/Strings/string_literal_t22.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that a raw string literal can't begin with a single
/// quote and end with double.
-/// @compile-error
/// @author msyabro
main() {
r'string";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t23.dart b/Language/Expressions/Strings/string_literal_t23.dart
index 5d7fe1d..5bfc87d 100644
--- a/Language/Expressions/Strings/string_literal_t23.dart
+++ b/Language/Expressions/Strings/string_literal_t23.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that a raw string literal can't begin with a double
/// quote and end with single.
-/// @compile-error
/// @author msyabro
main() {
r"string';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t24.dart b/Language/Expressions/Strings/string_literal_t24.dart
index 00f9a89..14a06d5 100644
--- a/Language/Expressions/Strings/string_literal_t24.dart
+++ b/Language/Expressions/Strings/string_literal_t24.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that it is a compile-time error when a raw double-quotes
/// string literal does not have the closing quote.
-/// @compile-error
/// @author msyabro
main() {
r"string;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t25.dart b/Language/Expressions/Strings/string_literal_t25.dart
index f107bc7..7a9f03f 100644
--- a/Language/Expressions/Strings/string_literal_t25.dart
+++ b/Language/Expressions/Strings/string_literal_t25.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that it is a compile-time error when a raw double-quotes
/// string literal does not have the opening quote.
-/// @compile-error
/// @author msyabro
main() {
r string";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t26.dart b/Language/Expressions/Strings/string_literal_t26.dart
index ea8e05a..000b2b1 100644
--- a/Language/Expressions/Strings/string_literal_t26.dart
+++ b/Language/Expressions/Strings/string_literal_t26.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that it is a compile-time error when a raw single-quotes
/// string literal does not have the opening quote.
-/// @compile-error
/// @author msyabro
main() {
r string';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t27.dart b/Language/Expressions/Strings/string_literal_t27.dart
index 9b82367..b002eea 100644
--- a/Language/Expressions/Strings/string_literal_t27.dart
+++ b/Language/Expressions/Strings/string_literal_t27.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that it is a compile-time error when a raw single-quotes
/// string literal does not have the closing quote.
-/// @compile-error
/// @author msyabro
main() {
r'string;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t28.dart b/Language/Expressions/Strings/string_literal_t28.dart
index 2f2b6a2..78a76e1 100644
--- a/Language/Expressions/Strings/string_literal_t28.dart
+++ b/Language/Expressions/Strings/string_literal_t28.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that it is a compile-time error when a backtick
/// character is used as a string delimiter.
-/// @compile-error
/// @author kaigorodov
main() {
`string`;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t29.dart b/Language/Expressions/Strings/string_literal_t29.dart
index 2cc3882..803a2f1 100644
--- a/Language/Expressions/Strings/string_literal_t29.dart
+++ b/Language/Expressions/Strings/string_literal_t29.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that it is a compile-time error when a backtick
/// character is used as a raw string delimiter.
-/// @compile-error
/// @author kaigorodov
main() {
r`string`;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t30.dart b/Language/Expressions/Strings/string_literal_t30.dart
index 337355b..cb1f420 100644
--- a/Language/Expressions/Strings/string_literal_t30.dart
+++ b/Language/Expressions/Strings/string_literal_t30.dart
@@ -28,11 +28,16 @@
/// ;
/// @description Checks that it is a compile-time error if a single-quoted
/// string contains \r.
-/// @compile-error
/// @author msyabro
main() {
'stri
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
ng';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t31.dart b/Language/Expressions/Strings/string_literal_t31.dart
index 7bda765..877e2f5 100644
--- a/Language/Expressions/Strings/string_literal_t31.dart
+++ b/Language/Expressions/Strings/string_literal_t31.dart
@@ -28,11 +28,16 @@
/// ;
/// @description Checks that it is a compile-time error if a double-quoted
/// string contains \r.
-/// @compile-error
/// @author msyabro
main() {
"stri
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
ng";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t32.dart b/Language/Expressions/Strings/string_literal_t32.dart
index 46fd3cb..cfdda1a 100644
--- a/Language/Expressions/Strings/string_literal_t32.dart
+++ b/Language/Expressions/Strings/string_literal_t32.dart
@@ -28,11 +28,16 @@
/// ;
/// @description Checks that it is a compile-time error if a raw double-quoted
/// string contains \r.
-/// @compile-error
/// @author msyabro
main() {
r"stri
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
g";
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/string_literal_t33.dart b/Language/Expressions/Strings/string_literal_t33.dart
index b2dd8b3..36d31b3 100644
--- a/Language/Expressions/Strings/string_literal_t33.dart
+++ b/Language/Expressions/Strings/string_literal_t33.dart
@@ -28,11 +28,16 @@
/// ;
/// @description Checks that it is a compile-time error if a raw single-quoted
/// string contains \r.
-/// @compile-error
/// @author msyabro
main() {
r'stri
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
g';
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/u_four_hex_digits_t01.dart b/Language/Expressions/Strings/u_four_hex_digits_t01.dart
index d3081f1..2e5822e 100644
--- a/Language/Expressions/Strings/u_four_hex_digits_t01.dart
+++ b/Language/Expressions/Strings/u_four_hex_digits_t01.dart
@@ -9,10 +9,12 @@
/// @description Checks that it is a compile-time error when a string literal
/// contains a character sequence of the form \u that is followed by a character
/// that isn't a hexadecimal digit.
-/// @compile-error
/// @author msyabro
main() {
'some text\umore text';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/u_four_hex_digits_t02.dart b/Language/Expressions/Strings/u_four_hex_digits_t02.dart
index 39c1148..8c92634 100644
--- a/Language/Expressions/Strings/u_four_hex_digits_t02.dart
+++ b/Language/Expressions/Strings/u_four_hex_digits_t02.dart
@@ -9,10 +9,12 @@
/// @description Checks that it is a compile-time error when a string literal
/// contains a character sequence of the form \u that is followed by just 2
/// hexadecimal digits.
-/// @compile-error
/// @author msyabro
main() {
"\u1a";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/u_four_hex_digits_t03.dart b/Language/Expressions/Strings/u_four_hex_digits_t03.dart
index 88c8584..3eb9289 100644
--- a/Language/Expressions/Strings/u_four_hex_digits_t03.dart
+++ b/Language/Expressions/Strings/u_four_hex_digits_t03.dart
@@ -9,10 +9,12 @@
/// @description Checks that it is a compile-time error when a string literal
/// contains a character sequence of the form \u that is not followed by
/// anything.
-/// @compile-error
/// @author msyabro
main() {
"just \u";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Strings/u_four_hex_digits_t04.dart b/Language/Expressions/Strings/u_four_hex_digits_t04.dart
index b2debf1..e107826 100644
--- a/Language/Expressions/Strings/u_four_hex_digits_t04.dart
+++ b/Language/Expressions/Strings/u_four_hex_digits_t04.dart
@@ -9,10 +9,12 @@
/// @description Checks that it is a compile-time error when a string literal
/// contains a character sequence of the form \u that is followed empty curly
/// braces.
-/// @compile-error
/// @author msyabro
main() {
"empty \u{}";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/This/definition_t01.dart b/Language/Expressions/This/definition_t01.dart
index 0503cdd..d3e56b8 100644
--- a/Language/Expressions/This/definition_t01.dart
+++ b/Language/Expressions/This/definition_t01.dart
@@ -9,10 +9,12 @@
/// ;
/// @description Checks that word 'this' cannot be used to declare a variable.
/// @author hlodvig
-/// @compile-error
/// @reviewer kaigorodov
main() {
var this;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/This/definition_t05.dart b/Language/Expressions/This/definition_t05.dart
index 923e0fe..611cee9 100644
--- a/Language/Expressions/This/definition_t05.dart
+++ b/Language/Expressions/This/definition_t05.dart
@@ -8,10 +8,12 @@
/// this
/// ;
/// @description Checks that word 'this' cannot be used in a non-instance context.
-/// @compile-error
/// @author hlodvig
main() {
var x = this;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/This/placement_t01.dart b/Language/Expressions/This/placement_t01.dart
index 2285452..60ceaa7 100644
--- a/Language/Expressions/This/placement_t01.dart
+++ b/Language/Expressions/This/placement_t01.dart
@@ -8,11 +8,13 @@
/// initializer of an instance variable.
/// @description Checks that it is a compile-error if 'this' appears in the body
/// of a top-level function.
-/// @compile-error
/// @author msyabro
func(p1, p2) => this;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
func(1, 2);
diff --git a/Language/Expressions/This/placement_t02.dart b/Language/Expressions/This/placement_t02.dart
index bee8ec3..b7908d8 100644
--- a/Language/Expressions/This/placement_t02.dart
+++ b/Language/Expressions/This/placement_t02.dart
@@ -8,12 +8,16 @@
/// initializer of an instance variable.
/// @description Checks that it is a compile-error if 'this' appears in the
/// parameters list of a top-level function.
-/// @compile-error
/// @author msyabro
func(this, p) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
func(1, 2);
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Expressions/This/placement_t03.dart b/Language/Expressions/This/placement_t03.dart
index 9f9ca69..5448bdf 100644
--- a/Language/Expressions/This/placement_t03.dart
+++ b/Language/Expressions/This/placement_t03.dart
@@ -8,11 +8,13 @@
/// initializer of an instance variable.
/// @description Checks that it is a compile-error if 'this' appears in a
/// top-level variable initializer.
-/// @compile-error
/// @author msyabro
var x = this;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
print(x);
diff --git a/Language/Expressions/This/placement_t04.dart b/Language/Expressions/This/placement_t04.dart
index 2fa8274..4905906 100644
--- a/Language/Expressions/This/placement_t04.dart
+++ b/Language/Expressions/This/placement_t04.dart
@@ -8,12 +8,14 @@
/// initializer of an instance variable.
/// @description Checks that it is a compile-error if 'this' appears in an
/// instance variable initializer.
-/// @compile-error
/// @author msyabro
class C {
var x = this;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/This/placement_t05.dart b/Language/Expressions/This/placement_t05.dart
index e55122a..ea9576b 100644
--- a/Language/Expressions/This/placement_t05.dart
+++ b/Language/Expressions/This/placement_t05.dart
@@ -8,12 +8,14 @@
/// initializer of an instance variable.
/// @description Checks that it is a compile-error if 'this' appears in a static
/// variable initializer.
-/// @compile-error
/// @author msyabro
class C {
static var x = this;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/This/placement_t06.dart b/Language/Expressions/This/placement_t06.dart
index d9b22b7..841ab49 100644
--- a/Language/Expressions/This/placement_t06.dart
+++ b/Language/Expressions/This/placement_t06.dart
@@ -8,12 +8,14 @@
/// initializer of an instance variable.
/// @description Checks that it is a compile-error if 'this' appears in a static
/// method.
-/// @compile-error
/// @author msyabro
class C {
static method() => this;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Expressions/This/placement_t07.dart b/Language/Expressions/This/placement_t07.dart
index 3bbf7e4..1ead19f 100644
--- a/Language/Expressions/This/placement_t07.dart
+++ b/Language/Expressions/This/placement_t07.dart
@@ -8,13 +8,18 @@
/// initializer of an instance variable.
/// @description Checks that it is a compile-error if 'this' appears in a
/// factory constructor.
-/// @compile-error
/// @author msyabro
class C {
factory C() {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
x = this;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
var x;
diff --git a/Language/Expressions/This/placement_t08.dart b/Language/Expressions/This/placement_t08.dart
index 155a214..c832911 100644
--- a/Language/Expressions/This/placement_t08.dart
+++ b/Language/Expressions/This/placement_t08.dart
@@ -8,11 +8,13 @@
/// initializer of an instance variable.
/// @description Checks that it is a compile-error if 'this' appears in a
/// top-level variable initializer.
-/// @compile-error
/// @author kaigorodov
var x = this.a;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
print(x);
diff --git a/Language/Expressions/This/static_type_t02.dart b/Language/Expressions/This/static_type_t02.dart
index 7f8ce5c..00bbe76 100644
--- a/Language/Expressions/This/static_type_t02.dart
+++ b/Language/Expressions/This/static_type_t02.dart
@@ -5,7 +5,6 @@
/// @assertion The static type of this is the interface of the immediately
/// enclosing class.
/// @description Checks that type of 'this' is the class itself.
-/// @static-clean
/// @author hlodvig
diff --git a/Language/Expressions/Throw/no_catch_clause_t01.dart b/Language/Expressions/Throw/no_catch_clause_t01.dart
index 6850767..b9114ab 100644
--- a/Language/Expressions/Throw/no_catch_clause_t01.dart
+++ b/Language/Expressions/Throw/no_catch_clause_t01.dart
@@ -11,10 +11,12 @@
/// ;
/// @description Checks that it is a compile-error if to use throw with no
/// expression in main method.
-/// @compile-error
/// @author rodionov
main() {
throw;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Throw/no_catch_clause_t02.dart b/Language/Expressions/Throw/no_catch_clause_t02.dart
index 53044ed..2d07ddb 100644
--- a/Language/Expressions/Throw/no_catch_clause_t02.dart
+++ b/Language/Expressions/Throw/no_catch_clause_t02.dart
@@ -11,12 +11,14 @@
/// ;
/// @description Checks that it is a compile-error if to use throw with no
/// expression in while statement.
-/// @compile-error
/// @author rodionov
main() {
while (false) {
throw;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Throw/no_catch_clause_t03.dart b/Language/Expressions/Throw/no_catch_clause_t03.dart
index ceb830c..acb6754 100644
--- a/Language/Expressions/Throw/no_catch_clause_t03.dart
+++ b/Language/Expressions/Throw/no_catch_clause_t03.dart
@@ -11,7 +11,6 @@
/// ;
/// @description Checks that it is a compile-error if to use throw with no
/// expression in switch statement.
-/// @compile-error
/// @author rodionov
@@ -21,6 +20,9 @@
break;
case 2:
throw;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
default:
}
}
diff --git a/Language/Expressions/Throw/no_catch_clause_t04.dart b/Language/Expressions/Throw/no_catch_clause_t04.dart
index a309daa..eb61b72 100644
--- a/Language/Expressions/Throw/no_catch_clause_t04.dart
+++ b/Language/Expressions/Throw/no_catch_clause_t04.dart
@@ -11,10 +11,12 @@
/// ;
/// @description Checks that it is a compile-error if to use throw with no
/// expression in function block of statements.
-/// @compile-error
/// @author rodionov
main() {
() {throw;} ();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Throw/no_catch_clause_t05.dart b/Language/Expressions/Throw/no_catch_clause_t05.dart
index cbc6de3..cd8732e 100644
--- a/Language/Expressions/Throw/no_catch_clause_t05.dart
+++ b/Language/Expressions/Throw/no_catch_clause_t05.dart
@@ -11,12 +11,14 @@
/// ;
/// @description Checks that it is a compile-error if to use throw with no
/// expression in try statement.
-/// @compile-error
/// @author vasya
main() {
try {
throw;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Throw/no_catch_clause_t06.dart b/Language/Expressions/Throw/no_catch_clause_t06.dart
index 7a32986..0f3262c 100644
--- a/Language/Expressions/Throw/no_catch_clause_t06.dart
+++ b/Language/Expressions/Throw/no_catch_clause_t06.dart
@@ -11,7 +11,6 @@
/// ;
/// @description Checks that it is a compile-error if to use throw with no
/// expression in a finally part of try statement.
-/// @compile-error
/// @author vasya
@@ -20,5 +19,8 @@
var foo = 1;
} finally {
throw;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Throw/static_type_t01.dart b/Language/Expressions/Throw/static_type_t01.dart
index 7bfadda..dd43658 100644
--- a/Language/Expressions/Throw/static_type_t01.dart
+++ b/Language/Expressions/Throw/static_type_t01.dart
@@ -7,7 +7,6 @@
/// throw expression is a subtype of any type.
/// Checks that no static warnings are produced when using throw expression
/// in typed contexts.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Throw/syntax_t02.dart b/Language/Expressions/Throw/syntax_t02.dart
index 93f551b..a7c8935 100644
--- a/Language/Expressions/Throw/syntax_t02.dart
+++ b/Language/Expressions/Throw/syntax_t02.dart
@@ -11,7 +11,6 @@
/// ;
/// @description The grammar does not allow throw with no expression. Checks
/// that this is a compile-error.
-/// @compile-error
/// @author ilya
@@ -19,5 +18,8 @@
try {
} catch (e) {
throw;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Top_level_Getter_Invocation/static_type_t01.dart b/Language/Expressions/Top_level_Getter_Invocation/static_type_t01.dart
index b2ba3ae..8fbef39 100644
--- a/Language/Expressions/Top_level_Getter_Invocation/static_type_t01.dart
+++ b/Language/Expressions/Top_level_Getter_Invocation/static_type_t01.dart
@@ -8,7 +8,6 @@
/// The static type of i is the declared return type of m.
/// @description Checks that the static type of a top-level getter invocation
/// expression is the declared return type of the getter.
-/// @static-clean
/// @author msyabro
/// @reviewer rodionov
diff --git a/Language/Expressions/Type_Cast/evaluation_t04.dart b/Language/Expressions/Type_Cast/evaluation_t04.dart
index b341103..d8a0407 100644
--- a/Language/Expressions/Type_Cast/evaluation_t04.dart
+++ b/Language/Expressions/Type_Cast/evaluation_t04.dart
@@ -11,10 +11,12 @@
/// In all other cases, a CastError is thrown.
/// @description Checks that if T is undeclared identifier, then compile error
/// occurs
-/// @compile-error
/// @author ilya
main() {
1 as Unknown;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Type_Cast/evaluation_t05.dart b/Language/Expressions/Type_Cast/evaluation_t05.dart
index d1b07ce..103cd82 100644
--- a/Language/Expressions/Type_Cast/evaluation_t05.dart
+++ b/Language/Expressions/Type_Cast/evaluation_t05.dart
@@ -11,10 +11,12 @@
/// In all other cases, a CastError is thrown.
/// @description Checks that if T is a parameterized type of the form
/// G<T1,...,Tn> and G is unknown type, then it is a compile error
-/// @compile-error
/// @author rodionov
main() {
1 as Unknown<int, bool>;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Type_Cast/evaluation_t07.dart b/Language/Expressions/Type_Cast/evaluation_t07.dart
index 86f9d84..2a8b624 100644
--- a/Language/Expressions/Type_Cast/evaluation_t07.dart
+++ b/Language/Expressions/Type_Cast/evaluation_t07.dart
@@ -12,7 +12,6 @@
/// @description Checks that if T is a parameterized type of the form
/// G<T1,...,Tn>, G is generic type and Ti are unknown type then compile error
/// occurs
-/// @compile-error
/// @author ilya
@@ -20,4 +19,7 @@
main() {
[] as G<Foo,Bar>;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Type_Cast/evaluation_t08.dart b/Language/Expressions/Type_Cast/evaluation_t08.dart
index a50e9fe..4fb893d 100644
--- a/Language/Expressions/Type_Cast/evaluation_t08.dart
+++ b/Language/Expressions/Type_Cast/evaluation_t08.dart
@@ -11,7 +11,6 @@
/// In all other cases, a CastError is thrown.
/// @description Checks that if T is not a parameterized type then cast in the
/// form G<T1,...,Tn> produces compile error
-/// @compile-error
/// @author ilya
@@ -19,4 +18,7 @@
main() {
[] as G<int, String>;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Type_Cast/evaluation_t09.dart b/Language/Expressions/Type_Cast/evaluation_t09.dart
index 8373ffe..db25806 100644
--- a/Language/Expressions/Type_Cast/evaluation_t09.dart
+++ b/Language/Expressions/Type_Cast/evaluation_t09.dart
@@ -12,7 +12,6 @@
/// @description Checks that if T is not a parametrized type then cast of the
/// form G<T1,...,Tn>, G is not generic type and Ti are malformed is a compile
/// error
-/// @compile-error
/// @author ilya
@@ -20,4 +19,7 @@
main() {
new G() as G<Foo,Bar>;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Type_Cast/evaluation_t10.dart b/Language/Expressions/Type_Cast/evaluation_t10.dart
index f2d4812..5f0a552 100644
--- a/Language/Expressions/Type_Cast/evaluation_t10.dart
+++ b/Language/Expressions/Type_Cast/evaluation_t10.dart
@@ -10,7 +10,6 @@
/// Otherwise, if v is null, the cast expression evaluates to v.
/// In all other cases, a CastError is thrown.
/// @description Checks that if T is deferred type, then a compile error occurs.
-/// @compile-error
/// @author ngl@unipro.ru
import '../lib.dart' deferred as lb;
@@ -19,4 +18,7 @@
main() {
new B() as lb.A;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Type_Cast/static_type_t01.dart b/Language/Expressions/Type_Cast/static_type_t01.dart
index dd64bbf..acc5e54 100644
--- a/Language/Expressions/Type_Cast/static_type_t01.dart
+++ b/Language/Expressions/Type_Cast/static_type_t01.dart
@@ -4,7 +4,6 @@
/// @assertion The static type of a cast expression e as T is T.
/// @description Checks that the static type of a cast expression e as T is T.
-/// @static-clean
/// @author rodionov
diff --git a/Language/Expressions/Type_Cast/syntax_t01.dart b/Language/Expressions/Type_Cast/syntax_t01.dart
index a34c004..82c4ca1 100644
--- a/Language/Expressions/Type_Cast/syntax_t01.dart
+++ b/Language/Expressions/Type_Cast/syntax_t01.dart
@@ -12,7 +12,6 @@
/// @description Checks that there're no errors or warnings when the type cast
/// operator is used correctly (testing simple types as well as generics and
/// function types).
-/// @static-clean
/// @author rodionov
import '../../../Utils/expect.dart';
diff --git a/Language/Expressions/Type_Cast/syntax_t02.dart b/Language/Expressions/Type_Cast/syntax_t02.dart
index 195dd74..4ea3cda 100644
--- a/Language/Expressions/Type_Cast/syntax_t02.dart
+++ b/Language/Expressions/Type_Cast/syntax_t02.dart
@@ -11,10 +11,12 @@
/// ;
/// @description Checks that it is a compile-time error when the type cast
/// operator is missing the first argument.
-/// @compile-error
/// @author rodionov
main() {
var x = (as int);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Type_Cast/syntax_t03.dart b/Language/Expressions/Type_Cast/syntax_t03.dart
index 94a8e46..2030f8b 100644
--- a/Language/Expressions/Type_Cast/syntax_t03.dart
+++ b/Language/Expressions/Type_Cast/syntax_t03.dart
@@ -11,10 +11,12 @@
/// ;
/// @description Checks that it is a compile-time error when the type cast
/// operator is missing the second argument.
-/// @compile-error
/// @author rodionov
main() {
1 as;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Type_Cast/syntax_t05.dart b/Language/Expressions/Type_Cast/syntax_t05.dart
index 6d1a169..c260ae7 100644
--- a/Language/Expressions/Type_Cast/syntax_t05.dart
+++ b/Language/Expressions/Type_Cast/syntax_t05.dart
@@ -11,10 +11,12 @@
/// ;
/// @description Checks that it is a compile-time error when the second argument
/// of a type cast operator is a shift expression rather than a type.
-/// @compile-error
/// @author rodionov
main() {
1 as 1 << 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Type_Cast/syntax_t06.dart b/Language/Expressions/Type_Cast/syntax_t06.dart
index 78625fb..330792a 100644
--- a/Language/Expressions/Type_Cast/syntax_t06.dart
+++ b/Language/Expressions/Type_Cast/syntax_t06.dart
@@ -11,10 +11,12 @@
/// ;
/// @description Checks that it is a compile-time error when the second argument
/// of a type cast operator is a function expression rather than a type.
-/// @compile-error
/// @author rodionov
main() {
(int x) => 1 as (num x) => 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Type_Test/definition_t03.dart b/Language/Expressions/Type_Test/definition_t03.dart
index 89e7ceb..ad9ef4f 100644
--- a/Language/Expressions/Type_Test/definition_t03.dart
+++ b/Language/Expressions/Type_Test/definition_t03.dart
@@ -7,7 +7,6 @@
/// type S of the expression v and both T != dynamic and S != dynamic.
/// @description Checks that if S is dynamic, is-expression does not show that
/// v has type T.
-/// @static-clean
/// @author ilya
import '../../../Utils/expect.dart';
diff --git a/Language/Expressions/Type_Test/definition_t09.dart b/Language/Expressions/Type_Test/definition_t09.dart
index 3be1392..2a518ea 100644
--- a/Language/Expressions/Type_Test/definition_t09.dart
+++ b/Language/Expressions/Type_Test/definition_t09.dart
@@ -7,7 +7,6 @@
/// type S of the expression v and both T != dynamic and S != dynamic.
/// @description Checks that if T is less specific than S, then is-expression
/// does not show that v has type T.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Type_Test/definition_t10.dart b/Language/Expressions/Type_Test/definition_t10.dart
index afd37d2..134449c 100644
--- a/Language/Expressions/Type_Test/definition_t10.dart
+++ b/Language/Expressions/Type_Test/definition_t10.dart
@@ -7,7 +7,6 @@
/// type S of the expression v and both T != dynamic and S != dynamic.
/// @description Checks that if T is more specific than S, and neither of them
/// is dynamic, then is-expression shows that v has type T.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Type_Test/definition_t11.dart b/Language/Expressions/Type_Test/definition_t11.dart
index f05df83..5e6bbd0 100644
--- a/Language/Expressions/Type_Test/definition_t11.dart
+++ b/Language/Expressions/Type_Test/definition_t11.dart
@@ -7,7 +7,6 @@
/// type S of the expression v and both T != dynamic and S != dynamic.
/// @description Checks that if T is more specific than S, and neither of them
/// is dynamic, then is-expression shows that v has type T. Nested case.
-/// @static-clean
/// @author ilya
diff --git a/Language/Expressions/Type_Test/evaluation_t03.dart b/Language/Expressions/Type_Test/evaluation_t03.dart
index 929ee0c..d9e752d 100644
--- a/Language/Expressions/Type_Test/evaluation_t03.dart
+++ b/Language/Expressions/Type_Test/evaluation_t03.dart
@@ -9,10 +9,12 @@
/// is-expression evaluates to true.
/// Otherwise it evaluates to false.
/// @description Checks that null is Undeclared causes compile error.
-/// @compile-error
/// @author msyabro
main() {
null is Undeclared;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Type_Test/evaluation_t04.dart b/Language/Expressions/Type_Test/evaluation_t04.dart
index b0ce861..a38afdd 100644
--- a/Language/Expressions/Type_Test/evaluation_t04.dart
+++ b/Language/Expressions/Type_Test/evaluation_t04.dart
@@ -10,10 +10,12 @@
/// Otherwise it evaluates to false.
/// @description Checks that if T is parameterized type and G is unknown, then
/// compile error occurs
-/// @compile-error
/// @author msyabro
main() {
1 is G<int, bool>;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Type_Test/evaluation_t05.dart b/Language/Expressions/Type_Test/evaluation_t05.dart
index a7fb041..89161ce 100644
--- a/Language/Expressions/Type_Test/evaluation_t05.dart
+++ b/Language/Expressions/Type_Test/evaluation_t05.dart
@@ -10,7 +10,6 @@
/// Otherwise it evaluates to false.
/// @description Checks that if T is generic type and G is generic type with
/// less then n type parameters, then it is a compile error
-/// @compile-error
/// @author msyabro
@@ -18,4 +17,7 @@
main() {
new G() is G<int, bool>;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Type_Test/evaluation_t06.dart b/Language/Expressions/Type_Test/evaluation_t06.dart
index 7f5344f..449bcbb 100644
--- a/Language/Expressions/Type_Test/evaluation_t06.dart
+++ b/Language/Expressions/Type_Test/evaluation_t06.dart
@@ -10,7 +10,6 @@
/// Otherwise it evaluates to false.
/// @description Checks that if T is parameterized type and G is generic type
/// which has more then n type parameters, then it is a compile error
-/// @compile-error
/// @author msyabro
@@ -18,4 +17,7 @@
main() {
new G() is G<int, bool>;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Type_Test/evaluation_t07.dart b/Language/Expressions/Type_Test/evaluation_t07.dart
index 4d248da..c56fae4 100644
--- a/Language/Expressions/Type_Test/evaluation_t07.dart
+++ b/Language/Expressions/Type_Test/evaluation_t07.dart
@@ -10,7 +10,6 @@
/// Otherwise it evaluates to false.
/// @description Checks that if T is parameterized type with malformed type
/// argument and G is generic type, then it is a compile error
-/// @compile-error
/// @author ilya
@@ -18,4 +17,7 @@
main() {
new G() is G<Unknown>;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Type_Test/evaluation_t08.dart b/Language/Expressions/Type_Test/evaluation_t08.dart
index babbf1e..7e1f906 100644
--- a/Language/Expressions/Type_Test/evaluation_t08.dart
+++ b/Language/Expressions/Type_Test/evaluation_t08.dart
@@ -10,7 +10,6 @@
/// Otherwise it evaluates to false.
/// @description Checks that if T is parameterized type and G is not generic
/// type, then it is a compile error
-/// @compile-error
/// @author ilya
@@ -18,4 +17,7 @@
main() {
new G() is G<bool>;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Type_Test/evaluation_t09.dart b/Language/Expressions/Type_Test/evaluation_t09.dart
index e3b155f..ba84425 100644
--- a/Language/Expressions/Type_Test/evaluation_t09.dart
+++ b/Language/Expressions/Type_Test/evaluation_t09.dart
@@ -10,7 +10,6 @@
/// Otherwise it evaluates to false.
/// @description Checks that if T is parameterized type with malformed type
/// argument and G is not generic type, then it is a compile error
-/// @compile-error
/// @author ilya
@@ -18,4 +17,7 @@
main() {
1 is G<Unknown>;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Type_Test/evaluation_t10.dart b/Language/Expressions/Type_Test/evaluation_t10.dart
index 661980c..b93c654 100644
--- a/Language/Expressions/Type_Test/evaluation_t10.dart
+++ b/Language/Expressions/Type_Test/evaluation_t10.dart
@@ -9,11 +9,13 @@
/// is-expression evaluates to true.
/// Otherwise it evaluates to false.
/// @description Checks that if T is deferred, then compile error occurs.
-/// @compile-error
/// @author ngl@unipro.ru
import '../lib.dart' deferred as lb;
main() {
1 is lb.A;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Type_Test/static_type_t01.dart b/Language/Expressions/Type_Test/static_type_t01.dart
index 27d4b1a..42fb6d0 100644
--- a/Language/Expressions/Type_Test/static_type_t01.dart
+++ b/Language/Expressions/Type_Test/static_type_t01.dart
@@ -5,7 +5,6 @@
/// @assertion The static type of an is-expression is bool.
/// @description Checks that the static checker does not raise warnings when
/// assigning the result of the is-expression to bool variables.
-/// @static-clean
/// @author msyabro
/// @reviewer kaigorodov
diff --git a/Language/Expressions/Type_Test/syntax_t03.dart b/Language/Expressions/Type_Test/syntax_t03.dart
index 74b0eab..99e95a7 100644
--- a/Language/Expressions/Type_Test/syntax_t03.dart
+++ b/Language/Expressions/Type_Test/syntax_t03.dart
@@ -11,10 +11,12 @@
/// ;
/// @description Checks that it is a compile-time error when using a value
/// literal in the right part of the expression.
-/// @compile-error
/// @author msyabro
main () {
1 is 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Type_Test/syntax_t05.dart b/Language/Expressions/Type_Test/syntax_t05.dart
index 116e9e4..79f4cdb 100644
--- a/Language/Expressions/Type_Test/syntax_t05.dart
+++ b/Language/Expressions/Type_Test/syntax_t05.dart
@@ -11,10 +11,12 @@
/// ;
/// @description Checks that it is a compile-time error if left part of the
/// expression is a statement.
-/// @compile-error
/// @author msyabro
main () {
if (1 < 2) {} is bool;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Unary_Expressions/syntax_t02.dart b/Language/Expressions/Unary_Expressions/syntax_t02.dart
index 5848d63..7f6ea5a 100644
--- a/Language/Expressions/Unary_Expressions/syntax_t02.dart
+++ b/Language/Expressions/Unary_Expressions/syntax_t02.dart
@@ -29,7 +29,6 @@
/// unary operator on either super or an expression e.
/// @description Checks that incrementOperator cannot be used with
/// a reference to a class declaration without a compile error.
-/// @compile-error
/// @author msyabro
@@ -37,4 +36,7 @@
main() {
--A;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Unary_Expressions/syntax_t04.dart b/Language/Expressions/Unary_Expressions/syntax_t04.dart
index 965cf93..66139d5 100644
--- a/Language/Expressions/Unary_Expressions/syntax_t04.dart
+++ b/Language/Expressions/Unary_Expressions/syntax_t04.dart
@@ -29,7 +29,6 @@
/// unary operator on either super or an expression e.
/// @description Checks that incrementOperator cannot be used with
/// a reference to function type alias name without a compile error.
-/// @compile-error
/// @author msyabro
@@ -37,4 +36,7 @@
main() {
--f;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Unary_Expressions/syntax_t05.dart b/Language/Expressions/Unary_Expressions/syntax_t05.dart
index 9a2d480..532d466 100644
--- a/Language/Expressions/Unary_Expressions/syntax_t05.dart
+++ b/Language/Expressions/Unary_Expressions/syntax_t05.dart
@@ -29,13 +29,15 @@
/// unary operator on either super or an expression e.
/// @description Checks that incrementOperator cannot be used with
/// a reference to a type parameter without a compile error.
-/// @compile-error
/// @author msyabro
class A <T> {
test() {
++T;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Unary_Expressions/syntax_t06.dart b/Language/Expressions/Unary_Expressions/syntax_t06.dart
index dbd6d21..310b99e 100644
--- a/Language/Expressions/Unary_Expressions/syntax_t06.dart
+++ b/Language/Expressions/Unary_Expressions/syntax_t06.dart
@@ -28,7 +28,6 @@
/// an invocation of a prefix operator on an expression or an invocation of a
/// unary operator on either super or an expression e.
/// @description Checks that incrementOperator can't be used with super
-/// @compile-error
/// @author msyabro
@@ -37,6 +36,9 @@
class A extends S {
test() {
++super;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Unary_Expressions/syntax_t07.dart b/Language/Expressions/Unary_Expressions/syntax_t07.dart
index c4b6eba..fd672ce 100644
--- a/Language/Expressions/Unary_Expressions/syntax_t07.dart
+++ b/Language/Expressions/Unary_Expressions/syntax_t07.dart
@@ -29,11 +29,13 @@
/// unary operator on either super or an expression e.
/// @description Checks that incrementOperator can't be used with
/// postfixExpression
-/// @compile-error
/// @author msyabro
main() {
var x = 1;
++x--;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Unary_Expressions/syntax_t08.dart b/Language/Expressions/Unary_Expressions/syntax_t08.dart
index 6190196..7bddea0 100644
--- a/Language/Expressions/Unary_Expressions/syntax_t08.dart
+++ b/Language/Expressions/Unary_Expressions/syntax_t08.dart
@@ -29,11 +29,13 @@
/// unary operator on either super or an expression e.
/// @description Checks that incrementOperator can't be used with an unary
/// expression of the form -e.
-/// @compile-error
/// @author msyabro
main() {
var x = 1;
++-x;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Unary_Expressions/syntax_t09.dart b/Language/Expressions/Unary_Expressions/syntax_t09.dart
index 1a736af..2e43092 100644
--- a/Language/Expressions/Unary_Expressions/syntax_t09.dart
+++ b/Language/Expressions/Unary_Expressions/syntax_t09.dart
@@ -29,11 +29,13 @@
/// unary operator on either super or an expression e.
/// @description Checks that incrementOperator can't be used with an unary
/// expression of the form ++e.
-/// @compile-error
/// @author msyabro
main() {
var x = 1;
++ ++x;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Unary_Expressions/syntax_t11.dart b/Language/Expressions/Unary_Expressions/syntax_t11.dart
index 4880916..bdef82b 100644
--- a/Language/Expressions/Unary_Expressions/syntax_t11.dart
+++ b/Language/Expressions/Unary_Expressions/syntax_t11.dart
@@ -29,7 +29,6 @@
/// unary operator on either super or an expression e.
/// @description Checks that '-' cannot be used with a reference to a class
/// declaration without a compile error.
-/// @compile-error
/// @author msyabro
@@ -37,4 +36,7 @@
main() {
-A;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Unary_Expressions/syntax_t12.dart b/Language/Expressions/Unary_Expressions/syntax_t12.dart
index a60862d..6699a23 100644
--- a/Language/Expressions/Unary_Expressions/syntax_t12.dart
+++ b/Language/Expressions/Unary_Expressions/syntax_t12.dart
@@ -29,7 +29,6 @@
/// unary operator on either super or an expression e.
/// @description Checks that '!' cannot be used with a reference to a class
/// declaration without a compile error.
-/// @compile-error
/// @author msyabro
@@ -37,4 +36,7 @@
main() {
!A;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Unary_Expressions/syntax_t13.dart b/Language/Expressions/Unary_Expressions/syntax_t13.dart
index 5586a8b..b3392a8 100644
--- a/Language/Expressions/Unary_Expressions/syntax_t13.dart
+++ b/Language/Expressions/Unary_Expressions/syntax_t13.dart
@@ -29,7 +29,6 @@
/// unary operator on either super or an expression e.
/// @description Checks that '~' cannot be used with
/// a reference to a class declaration without a compile error.
-/// @compile-error
/// @author msyabro
@@ -37,4 +36,7 @@
main() {
~A;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Unary_Expressions/syntax_t17.dart b/Language/Expressions/Unary_Expressions/syntax_t17.dart
index 78a0ea7..b973d61 100644
--- a/Language/Expressions/Unary_Expressions/syntax_t17.dart
+++ b/Language/Expressions/Unary_Expressions/syntax_t17.dart
@@ -29,7 +29,6 @@
/// unary operator on either super or an expression e.
/// @description Checks that '-' cannot be used with
/// a reference to a function type alias name without a compile error.
-/// @compile-error
/// @author msyabro
@@ -37,4 +36,7 @@
main() {
-f;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Unary_Expressions/syntax_t18.dart b/Language/Expressions/Unary_Expressions/syntax_t18.dart
index f1f5222..40a34d9 100644
--- a/Language/Expressions/Unary_Expressions/syntax_t18.dart
+++ b/Language/Expressions/Unary_Expressions/syntax_t18.dart
@@ -29,7 +29,6 @@
/// unary operator on either super or an expression e.
/// @description Checks that '!' cannot be used with
/// a reference to a function type alias name without a compile error.
-/// @compile-error
/// @author msyabro
@@ -37,4 +36,7 @@
main() {
!f;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Unary_Expressions/syntax_t19.dart b/Language/Expressions/Unary_Expressions/syntax_t19.dart
index 7377505..2139046 100644
--- a/Language/Expressions/Unary_Expressions/syntax_t19.dart
+++ b/Language/Expressions/Unary_Expressions/syntax_t19.dart
@@ -29,7 +29,6 @@
/// unary operator on either super or an expression e.
/// @description Checks that '~' cannot be used with
/// a reference to a function type alias name without a compile error.
-/// @compile-error
/// @author msyabro
@@ -37,4 +36,7 @@
main() {
~f;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Unary_Expressions/syntax_t20.dart b/Language/Expressions/Unary_Expressions/syntax_t20.dart
index d3836a0..66e1df9 100644
--- a/Language/Expressions/Unary_Expressions/syntax_t20.dart
+++ b/Language/Expressions/Unary_Expressions/syntax_t20.dart
@@ -29,13 +29,15 @@
/// unary operator on either super or an expression e.
/// @description Checks that '-' cannot be used with
/// a reference to a type parameter without a compile error.
-/// @compile-error
/// @author msyabro
class A <T> {
test() {
-T;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Unary_Expressions/syntax_t21.dart b/Language/Expressions/Unary_Expressions/syntax_t21.dart
index 1d8f302..0765f0f 100644
--- a/Language/Expressions/Unary_Expressions/syntax_t21.dart
+++ b/Language/Expressions/Unary_Expressions/syntax_t21.dart
@@ -29,13 +29,15 @@
/// unary operator on either super or an expression e.
/// @description Checks that '!' cannot be used with
/// a reference to a type parameter without a compile error.
-/// @compile-error
/// @author msyabro
class A <T> {
test() {
!T;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Unary_Expressions/syntax_t22.dart b/Language/Expressions/Unary_Expressions/syntax_t22.dart
index 0ff14b0..baff87a 100644
--- a/Language/Expressions/Unary_Expressions/syntax_t22.dart
+++ b/Language/Expressions/Unary_Expressions/syntax_t22.dart
@@ -29,13 +29,15 @@
/// unary operator on either super or an expression e.
/// @description Checks that '~' cannot be used with
/// a reference to a type parameter without a compile error.
-/// @compile-error
/// @author msyabro
class A <T> {
test() {
~T;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Expressions/Unary_Expressions/syntax_t24.dart b/Language/Expressions/Unary_Expressions/syntax_t24.dart
index 1661422..b9895ad 100644
--- a/Language/Expressions/Unary_Expressions/syntax_t24.dart
+++ b/Language/Expressions/Unary_Expressions/syntax_t24.dart
@@ -29,12 +29,14 @@
/// unary operator on either super or an expression e.
/// @description Checks that it's a compile-time error when a '~'
/// precedes a statement that isn't an expression (return statement).
-/// @compile-error
/// @author msyabro
main() {
try {
~return 0;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) {}
}
diff --git a/Language/Expressions/Unary_Expressions/syntax_t25.dart b/Language/Expressions/Unary_Expressions/syntax_t25.dart
index 07426d7..4744015 100644
--- a/Language/Expressions/Unary_Expressions/syntax_t25.dart
+++ b/Language/Expressions/Unary_Expressions/syntax_t25.dart
@@ -29,10 +29,12 @@
/// unary operator on either super or an expression e.
/// @description Checks that it's a compile-time error when a '!'
/// precedes a statement that isn't an expression (block statement).
-/// @compile-error
/// @author msyabro
main() {
!{int? x; x = 1;};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Expressions/Unary_Expressions/syntax_t26.dart b/Language/Expressions/Unary_Expressions/syntax_t26.dart
index 3927f2b..9098376 100644
--- a/Language/Expressions/Unary_Expressions/syntax_t26.dart
+++ b/Language/Expressions/Unary_Expressions/syntax_t26.dart
@@ -29,10 +29,12 @@
/// unary operator on either super or an expression e.
/// @description Checks that a non-expression statement can't be used with
/// incrementOperator. (Variable declaration statement)
-/// @compile-error
/// @author msyabro
main() {
++ var x;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Functions/Formal_Parameters/Optional_Formals/default_value_t01.dart b/Language/Functions/Formal_Parameters/Optional_Formals/default_value_t01.dart
index 4cbdbe8..8f0f609 100644
--- a/Language/Functions/Formal_Parameters/Optional_Formals/default_value_t01.dart
+++ b/Language/Functions/Formal_Parameters/Optional_Formals/default_value_t01.dart
@@ -6,11 +6,13 @@
/// parameter is not a compile-time constant.
/// @description Checks that it is a compile-time error if the default value
/// of an optional parameter is not a compile-time constant.
-/// @compile-error
/// @author msyabro
main() {
int x = 1;
void func([var y = x]) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Functions/Formal_Parameters/Optional_Formals/default_value_t02.dart b/Language/Functions/Formal_Parameters/Optional_Formals/default_value_t02.dart
index 183db77..996f438 100644
--- a/Language/Functions/Formal_Parameters/Optional_Formals/default_value_t02.dart
+++ b/Language/Functions/Formal_Parameters/Optional_Formals/default_value_t02.dart
@@ -6,11 +6,13 @@
/// parameter is not a compile-time constant.
/// @description Checks that it is a compile-time error if the default value
/// of an optional parameter is not a compile-time constant.
-/// @compile-error
/// @author rodionov
main() {
int x = 1;
void func({var y: x}) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Functions/Formal_Parameters/Optional_Formals/name_t01.dart b/Language/Functions/Formal_Parameters/Optional_Formals/name_t01.dart
index 74e80d7..b3304f5 100644
--- a/Language/Functions/Formal_Parameters/Optional_Formals/name_t01.dart
+++ b/Language/Functions/Formal_Parameters/Optional_Formals/name_t01.dart
@@ -6,7 +6,6 @@
/// optional parameter begins with an _ character.
/// @description Checks that it is a compile-time error if the name of a named
/// optional parameter begins with an '_' character.
-/// @compile-error
/// @author rodionov
/// @reviewer kaigorodov
@@ -14,6 +13,9 @@
main() {
try {
void func({var _x}) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
func(_x: 1);
} catch (x) {}
}
diff --git a/Language/Functions/Formal_Parameters/Optional_Formals/name_t02.dart b/Language/Functions/Formal_Parameters/Optional_Formals/name_t02.dart
index 69177a2..6b7c1e6 100644
--- a/Language/Functions/Formal_Parameters/Optional_Formals/name_t02.dart
+++ b/Language/Functions/Formal_Parameters/Optional_Formals/name_t02.dart
@@ -6,13 +6,15 @@
/// optional parameter begins with an _ character.
/// @description Checks that it is a compile-time error if the name of a named
/// optional parameter begins with an '_' character.
-/// @compile-error
/// @author rodionov
class A {
var _p;
A({this._p: ""}) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
print(_p);
}
}
diff --git a/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t04.dart b/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t04.dart
index ea62cd5..a4d2a3a 100644
--- a/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t04.dart
+++ b/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t04.dart
@@ -12,11 +12,13 @@
/// ;
/// @description Checks that the '=' character in an optional positional
/// parameter declaration must be followed by an expression.
-/// @compile-error
/// @author iefremov
f([var x = ]) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f();
diff --git a/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t05.dart b/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t05.dart
index 0258303..33c3ae0 100644
--- a/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t05.dart
+++ b/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t05.dart
@@ -12,11 +12,13 @@
/// ;
/// @description Checks that a statement cannot be used instead of expression
/// in an optional positional parameter declaration.
-/// @compile-error
/// @author iefremov
f([var x = var z]) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f();
diff --git a/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t06.dart b/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t06.dart
index 7974cb7..56739f7 100644
--- a/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t06.dart
+++ b/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t06.dart
@@ -12,12 +12,14 @@
/// ;
/// @description Checks that reassigning a final optional parameter inside the
/// function produces a compile error
-/// @compile-error
/// @author iefremov
foo([final p = 1]) {
p = 1;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t08.dart b/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t08.dart
index a440597..c2a3be1 100644
--- a/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t08.dart
+++ b/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t08.dart
@@ -12,11 +12,13 @@
/// ;
/// @description Checks that the ':' character in an optional named parameter
/// declaration must be followed by an expression.
-/// @compile-error
/// @author rodionov
f({var x: }) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f();
diff --git a/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t09.dart b/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t09.dart
index e1f6887..f6e8ab8 100644
--- a/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t09.dart
+++ b/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t09.dart
@@ -12,11 +12,13 @@
/// ;
/// @description Checks that a declaration cannot be used instead of expression
/// in an optional named parameter declaration.
-/// @compile-error
/// @author rodionov
f({var x: var z}) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f();
diff --git a/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t10.dart b/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t10.dart
index afb462e..172a2a4 100644
--- a/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t10.dart
+++ b/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t10.dart
@@ -12,12 +12,14 @@
/// ;
/// @description Checks that reassigning a final optional parameter inside the
/// function produces a compile error
-/// @compile-error
/// @author rodionov
foo({final p: 1}) {
p = 1;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t12.dart b/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t12.dart
index ebc4594..9486942 100644
--- a/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t12.dart
+++ b/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t12.dart
@@ -12,12 +12,16 @@
/// ;
/// @description Checks that it is a compile-time error when the two kinds of
/// brackets are mixed in an optional parameters declaration.
-/// @compile-error
/// @author rodionov
foo({const p: 1]) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
p = 1;
+//^
+// [cfe] unspecified
}
main() {
diff --git a/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t13.dart b/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t13.dart
index ccb48b3..fc126be 100644
--- a/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t13.dart
+++ b/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t13.dart
@@ -12,11 +12,13 @@
/// ;
/// @description Checks that it is a compile-time error when the two kinds of
/// brackets are mixed in an optional parameters declaration.
-/// @compile-error
/// @author rodionov
foo([int p = 1}) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
p = 1;
}
diff --git a/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t14.dart b/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t14.dart
index 4ff9dec..3c3f51a 100644
--- a/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t14.dart
+++ b/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t14.dart
@@ -12,7 +12,6 @@
/// ;
/// @description Checks that it is no error when the the '=' character is used in
/// an optional named parameter declaration.
-/// @static-clean
/// @author rodionov
/// @author sgrekhov@unipro.ru
diff --git a/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t15.dart b/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t15.dart
index 5ec86c0..2246e8c 100644
--- a/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t15.dart
+++ b/Language/Functions/Formal_Parameters/Optional_Formals/syntax_t15.dart
@@ -12,11 +12,13 @@
/// ;
/// @description Checks that it is a compile-time error when the the ':'
/// character is used in an optional positional parameter declaration.
-/// @compile-error
/// @author rodionov
foo([var a = 1, var b: 2]) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
return a;
}
diff --git a/Language/Functions/Formal_Parameters/Required_Formals/syntax_t03.dart b/Language/Functions/Formal_Parameters/Required_Formals/syntax_t03.dart
index 2562855..465287b 100644
--- a/Language/Functions/Formal_Parameters/Required_Formals/syntax_t03.dart
+++ b/Language/Functions/Formal_Parameters/Required_Formals/syntax_t03.dart
@@ -25,12 +25,16 @@
/// ;
/// @description Checks that it is a compile-error if required parameter is
/// declared as const
-/// @compile-error
/// @author msyabro
func(const x) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
x = 1;
+//^
+// [cfe] unspecified
}
main() {
diff --git a/Language/Functions/Formal_Parameters/Required_Formals/syntax_t04.dart b/Language/Functions/Formal_Parameters/Required_Formals/syntax_t04.dart
index 1ddfb5c..f788039 100644
--- a/Language/Functions/Formal_Parameters/Required_Formals/syntax_t04.dart
+++ b/Language/Functions/Formal_Parameters/Required_Formals/syntax_t04.dart
@@ -25,11 +25,13 @@
/// ;
/// @description Checks that static variable declaration can't be a required
/// formal parameter
-/// @compile-error
/// @author msyabro
f(static var x) {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(1);
diff --git a/Language/Functions/Formal_Parameters/Required_Formals/syntax_t05.dart b/Language/Functions/Formal_Parameters/Required_Formals/syntax_t05.dart
index 902d8ed..d2370de 100644
--- a/Language/Functions/Formal_Parameters/Required_Formals/syntax_t05.dart
+++ b/Language/Functions/Formal_Parameters/Required_Formals/syntax_t05.dart
@@ -25,12 +25,14 @@
/// ;
/// @description Checks that reassigning a final required parameter inside the
/// function produces a compile error
-/// @compile-error
/// @author msyabro
func(final x) {
x = 1;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Functions/Formal_Parameters/Required_Formals/syntax_t06.dart b/Language/Functions/Formal_Parameters/Required_Formals/syntax_t06.dart
index 97bfc90..675d429 100644
--- a/Language/Functions/Formal_Parameters/Required_Formals/syntax_t06.dart
+++ b/Language/Functions/Formal_Parameters/Required_Formals/syntax_t06.dart
@@ -24,11 +24,13 @@
/// metadata finalConstVarOrType? this '.' identifier formalParameterList?
/// ;
/// @description Checks that a functionSignature parameter cannot be final.
-/// @compile-error
/// @author kaigorodov
func(final x()) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
return x();
}
diff --git a/Language/Functions/Formal_Parameters/Required_Formals/syntax_t07.dart b/Language/Functions/Formal_Parameters/Required_Formals/syntax_t07.dart
index 9702e0e..9f52c1c 100644
--- a/Language/Functions/Formal_Parameters/Required_Formals/syntax_t07.dart
+++ b/Language/Functions/Formal_Parameters/Required_Formals/syntax_t07.dart
@@ -25,11 +25,13 @@
/// ;
/// @description Checks that a functionSignature parameter cannot be declared as
/// variable.
-/// @compile-error
/// @author kaigorodov
func(var x()) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
return x();
}
diff --git a/Language/Functions/Formal_Parameters/Required_Formals/syntax_t08.dart b/Language/Functions/Formal_Parameters/Required_Formals/syntax_t08.dart
index a0ba24e..9582e39 100644
--- a/Language/Functions/Formal_Parameters/Required_Formals/syntax_t08.dart
+++ b/Language/Functions/Formal_Parameters/Required_Formals/syntax_t08.dart
@@ -25,12 +25,17 @@
/// ;
/// @description Checks that it is a compile-error if signature of formal
/// parameter of a function type has default values
-/// @compile-error
/// @author ilya
f(g([x = 1])) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(() {});
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Functions/Formal_Parameters/Required_Formals/syntax_t09.dart b/Language/Functions/Formal_Parameters/Required_Formals/syntax_t09.dart
index 8113d73..06c5edc 100644
--- a/Language/Functions/Formal_Parameters/Required_Formals/syntax_t09.dart
+++ b/Language/Functions/Formal_Parameters/Required_Formals/syntax_t09.dart
@@ -25,12 +25,17 @@
/// ;
/// @description Checks that it is a compile-error if signature of formal
/// parameter of a function type has default values
-/// @compile-error
/// @author ilya
f(g({x: 1})) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(() {});
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Functions/Formal_Parameters/Required_Formals/syntax_t10.dart b/Language/Functions/Formal_Parameters/Required_Formals/syntax_t10.dart
index 0ff48bd..8ed470f 100644
--- a/Language/Functions/Formal_Parameters/Required_Formals/syntax_t10.dart
+++ b/Language/Functions/Formal_Parameters/Required_Formals/syntax_t10.dart
@@ -25,11 +25,13 @@
/// ;
/// @description Checks that initializing formals are not allowed in library
/// functions.
-/// @compile-error
/// @author ilya
f(this.x) {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(0);
diff --git a/Language/Functions/Formal_Parameters/Required_Formals/syntax_t11.dart b/Language/Functions/Formal_Parameters/Required_Formals/syntax_t11.dart
index 418287d..b6b9fda 100644
--- a/Language/Functions/Formal_Parameters/Required_Formals/syntax_t11.dart
+++ b/Language/Functions/Formal_Parameters/Required_Formals/syntax_t11.dart
@@ -25,11 +25,13 @@
/// ;
/// @description Checks that initializing formals of function type are not
/// allowed in library functions.
-/// @compile-error
/// @author ilya
f(this.x(y)) {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f((x) {});
diff --git a/Language/Functions/Formal_Parameters/Required_Formals/syntax_t12.dart b/Language/Functions/Formal_Parameters/Required_Formals/syntax_t12.dart
index fd529ea..41d4eed 100644
--- a/Language/Functions/Formal_Parameters/Required_Formals/syntax_t12.dart
+++ b/Language/Functions/Formal_Parameters/Required_Formals/syntax_t12.dart
@@ -25,12 +25,16 @@
/// ;
/// @description Checks that initializing formals are not allowed in local
/// functions.
-/// @compile-error
/// @author ilya
main() {
f(this.x) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
f(0);
+// ^
+// [analyzer] unspecified
}
diff --git a/Language/Functions/Formal_Parameters/Required_Formals/syntax_t13.dart b/Language/Functions/Formal_Parameters/Required_Formals/syntax_t13.dart
index 3632d3c..d879250 100644
--- a/Language/Functions/Formal_Parameters/Required_Formals/syntax_t13.dart
+++ b/Language/Functions/Formal_Parameters/Required_Formals/syntax_t13.dart
@@ -25,12 +25,16 @@
/// ;
/// @description Checks that initializing formals of function type are not
/// allowed in local functions.
-/// @compile-error
/// @author ilya
main() {
f(this.x(y)) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
f((x) {});
+// ^
+// [analyzer] unspecified
}
diff --git a/Language/Functions/Formal_Parameters/declare_as_constant_t01.dart b/Language/Functions/Formal_Parameters/declare_as_constant_t01.dart
index 8376e3b..a2dbf9a 100644
--- a/Language/Functions/Formal_Parameters/declare_as_constant_t01.dart
+++ b/Language/Functions/Formal_Parameters/declare_as_constant_t01.dart
@@ -6,11 +6,13 @@
/// a constant variable.
/// @description Checks that it is a compile-time error if a required parameter
/// is declared as a constant variable.
-/// @compile-error
/// @author msyabro
void f(const x) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main () {
f(1);
diff --git a/Language/Functions/Formal_Parameters/declare_as_constant_t02.dart b/Language/Functions/Formal_Parameters/declare_as_constant_t02.dart
index 8250edc..b451993 100644
--- a/Language/Functions/Formal_Parameters/declare_as_constant_t02.dart
+++ b/Language/Functions/Formal_Parameters/declare_as_constant_t02.dart
@@ -6,11 +6,13 @@
/// a constant variable.
/// @description Checks that it is a compile-time error if a required parameter
/// is declared as a constant typed variable.
-/// @compile-error
/// @author msyabro
void f(const int x) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main () {
f(1);
diff --git a/Language/Functions/Formal_Parameters/declare_as_constant_t03.dart b/Language/Functions/Formal_Parameters/declare_as_constant_t03.dart
index 9c228a0..e27536f 100644
--- a/Language/Functions/Formal_Parameters/declare_as_constant_t03.dart
+++ b/Language/Functions/Formal_Parameters/declare_as_constant_t03.dart
@@ -6,12 +6,17 @@
/// a constant variable.
/// @description Checks that it is a compile-time error if an optional named
/// parameter is declared as a constant variable.
-/// @compile-error
/// @author msyabro
void f({const x}) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main () {
f(1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Functions/Formal_Parameters/declare_as_constant_t04.dart b/Language/Functions/Formal_Parameters/declare_as_constant_t04.dart
index 1d285b6..b452713 100644
--- a/Language/Functions/Formal_Parameters/declare_as_constant_t04.dart
+++ b/Language/Functions/Formal_Parameters/declare_as_constant_t04.dart
@@ -6,12 +6,17 @@
/// a constant variable.
/// @description Checks that it is a compile-time error if an optional named
/// parameter is declared as a constant typed variable.
-/// @compile-error
/// @author msyabro
void f({const int x}) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main () {
f(1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Functions/Formal_Parameters/declare_as_constant_t05.dart b/Language/Functions/Formal_Parameters/declare_as_constant_t05.dart
index 79bbc61..9905443 100644
--- a/Language/Functions/Formal_Parameters/declare_as_constant_t05.dart
+++ b/Language/Functions/Formal_Parameters/declare_as_constant_t05.dart
@@ -6,11 +6,13 @@
/// a constant variable.
/// @description Checks that it is a compile-time error if an optional positional
/// parameter is declared as a constant variable.
-/// @compile-error
/// @author rodionov
void f([const x]) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main () {
f(1);
diff --git a/Language/Functions/Formal_Parameters/declare_as_constant_t06.dart b/Language/Functions/Formal_Parameters/declare_as_constant_t06.dart
index daf8795..e2ece65 100644
--- a/Language/Functions/Formal_Parameters/declare_as_constant_t06.dart
+++ b/Language/Functions/Formal_Parameters/declare_as_constant_t06.dart
@@ -6,12 +6,17 @@
/// a constant variable.
/// @description Checks that it is a compile-time error if an optional positional
/// parameter is declared as a constant typed variable.
-/// @compile-error
/// @author rodionov
void f({const int x}) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main () {
f(1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Functions/Formal_Parameters/scope_t01.dart b/Language/Functions/Formal_Parameters/scope_t01.dart
index abc8432..22cff90 100644
--- a/Language/Functions/Formal_Parameters/scope_t01.dart
+++ b/Language/Functions/Formal_Parameters/scope_t01.dart
@@ -11,12 +11,14 @@
/// the formal parameter scope of f.
/// @description Checks that function scope are enclosed in the scope where it's
/// declared and not the one where it's invoked.
-/// @compile-error
/// @author rodionov
f() {
var x = foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main () {
diff --git a/Language/Functions/Formal_Parameters/syntax_t02.dart b/Language/Functions/Formal_Parameters/syntax_t02.dart
index f7007c5..46a90a4 100644
--- a/Language/Functions/Formal_Parameters/syntax_t02.dart
+++ b/Language/Functions/Formal_Parameters/syntax_t02.dart
@@ -26,12 +26,17 @@
/// ;
/// @description Checks that named parameters can't precede required positional
/// parameters.
-/// @compile-error
/// @author msyabro
f({var a}, var b) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(1, 1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Functions/Formal_Parameters/syntax_t03.dart b/Language/Functions/Formal_Parameters/syntax_t03.dart
index eb67602..075a2b7 100644
--- a/Language/Functions/Formal_Parameters/syntax_t03.dart
+++ b/Language/Functions/Formal_Parameters/syntax_t03.dart
@@ -25,11 +25,13 @@
/// `{'defaultNamedParameter(`,' defaultNamedParameter)*`}'
/// ;
/// @description Checks that parameter declarations must be separated by comma.
-/// @compile-error
/// @author msyabro
void f(var p1 {var p2}) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main () {
f(1);
diff --git a/Language/Functions/Formal_Parameters/syntax_t06.dart b/Language/Functions/Formal_Parameters/syntax_t06.dart
index 63f7451..5960a5c 100644
--- a/Language/Functions/Formal_Parameters/syntax_t06.dart
+++ b/Language/Functions/Formal_Parameters/syntax_t06.dart
@@ -25,11 +25,13 @@
/// `{'defaultNamedParameter(`,' defaultNamedParameter)*`}'
/// ;
/// @description Checks that the list of named parameters cannot be empty.
-/// @compile-error
/// @author iefremov
void f({}) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main () {
f();
diff --git a/Language/Functions/Formal_Parameters/syntax_t07.dart b/Language/Functions/Formal_Parameters/syntax_t07.dart
index 6c7b9b4..8fe305b 100644
--- a/Language/Functions/Formal_Parameters/syntax_t07.dart
+++ b/Language/Functions/Formal_Parameters/syntax_t07.dart
@@ -26,11 +26,13 @@
/// ;
/// @description Checks that the list of named parameters must end with a closing
/// curly brace.
-/// @compile-error
/// @author iefremov
void f({) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main () {
f();
diff --git a/Language/Functions/Formal_Parameters/syntax_t08.dart b/Language/Functions/Formal_Parameters/syntax_t08.dart
index 94423f9..7832afc 100644
--- a/Language/Functions/Formal_Parameters/syntax_t08.dart
+++ b/Language/Functions/Formal_Parameters/syntax_t08.dart
@@ -26,12 +26,16 @@
/// ;
/// @description Checks that the named parameter list must begin with an opening
/// curly brace.
-/// @compile-error
/// @author iefremov
void f(}) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main () {
f();
+// ^
+// [analyzer] unspecified
}
diff --git a/Language/Functions/Formal_Parameters/syntax_t09.dart b/Language/Functions/Formal_Parameters/syntax_t09.dart
index 168db6a..e0a01ad 100644
--- a/Language/Functions/Formal_Parameters/syntax_t09.dart
+++ b/Language/Functions/Formal_Parameters/syntax_t09.dart
@@ -26,12 +26,17 @@
/// ;
/// @description Checks that optional positional parameters can't precede
/// required parameters.
-/// @compile-error
/// @author rodionov
f([var a], var b) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(1, 1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Functions/Formal_Parameters/syntax_t10.dart b/Language/Functions/Formal_Parameters/syntax_t10.dart
index 14fb061..5a4d21d 100644
--- a/Language/Functions/Formal_Parameters/syntax_t10.dart
+++ b/Language/Functions/Formal_Parameters/syntax_t10.dart
@@ -25,11 +25,13 @@
/// `{'defaultNamedParameter(`,' defaultNamedParameter)*`}'
/// ;
/// @description Checks that parameter declarations must be separated by comma.
-/// @compile-error
/// @author rodionov
void f(var p1 [var p2]) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main () {
f(1);
diff --git a/Language/Functions/Formal_Parameters/syntax_t13.dart b/Language/Functions/Formal_Parameters/syntax_t13.dart
index c1f757c..f8d3e29 100644
--- a/Language/Functions/Formal_Parameters/syntax_t13.dart
+++ b/Language/Functions/Formal_Parameters/syntax_t13.dart
@@ -26,11 +26,13 @@
/// ;
/// @description Checks that the list of optional positional parameters cannot
/// be empty.
-/// @compile-error
/// @author rodionov
void f([]) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main () {
f();
diff --git a/Language/Functions/Formal_Parameters/syntax_t14.dart b/Language/Functions/Formal_Parameters/syntax_t14.dart
index a8d93b0..9f02590 100644
--- a/Language/Functions/Formal_Parameters/syntax_t14.dart
+++ b/Language/Functions/Formal_Parameters/syntax_t14.dart
@@ -26,11 +26,13 @@
/// ;
/// @description Checks that the list of optional positional parameters must end
/// with a closing square bracket.
-/// @compile-error
/// @author rodionov
void f([) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main () {
f();
diff --git a/Language/Functions/Formal_Parameters/syntax_t15.dart b/Language/Functions/Formal_Parameters/syntax_t15.dart
index 2b6f1c3..9c8fe80 100644
--- a/Language/Functions/Formal_Parameters/syntax_t15.dart
+++ b/Language/Functions/Formal_Parameters/syntax_t15.dart
@@ -26,12 +26,16 @@
/// ;
/// @description Checks that the optional positional parameter list must begin
/// with an opening square bracket.
-/// @compile-error
/// @author rodionov
void f(]) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main () {
f();
+// ^
+// [analyzer] unspecified
}
diff --git a/Language/Functions/Formal_Parameters/syntax_t16.dart b/Language/Functions/Formal_Parameters/syntax_t16.dart
index 4992008..909b55b 100644
--- a/Language/Functions/Formal_Parameters/syntax_t16.dart
+++ b/Language/Functions/Formal_Parameters/syntax_t16.dart
@@ -26,11 +26,13 @@
/// ;
/// @description Checks that it is a compile-time error when both named and
/// optional positional parameters are present in one function declaration.
-/// @compile-error
/// @author rodionov
void f(var a, [var b], {var c}) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main () {
f(1);
diff --git a/Language/Functions/Formal_Parameters/syntax_t17.dart b/Language/Functions/Formal_Parameters/syntax_t17.dart
index 40f1b52..fa086ac 100644
--- a/Language/Functions/Formal_Parameters/syntax_t17.dart
+++ b/Language/Functions/Formal_Parameters/syntax_t17.dart
@@ -26,11 +26,13 @@
/// ;
/// @description Checks that it is a compile-time error when both named and
/// optional positional parameters are present in one function declaration.
-/// @compile-error
/// @author rodionov
void f(var a, {var b}, [var c]) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main () {
f(1);
diff --git a/Language/Functions/Formal_Parameters/syntax_t20.dart b/Language/Functions/Formal_Parameters/syntax_t20.dart
index 0f3ae56..6c55c5f 100644
--- a/Language/Functions/Formal_Parameters/syntax_t20.dart
+++ b/Language/Functions/Formal_Parameters/syntax_t20.dart
@@ -26,12 +26,17 @@
/// ;
/// @description Checks that it is a compile-time error when more than one set
/// of named parameters is present in one function declaration.
-/// @compile-error
/// @author rodionov
void f(var a, {var b}, {var c}) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main () {
f(1, 2, 3);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Functions/Formal_Parameters/syntax_t21.dart b/Language/Functions/Formal_Parameters/syntax_t21.dart
index bfe0222..c4ff49c 100644
--- a/Language/Functions/Formal_Parameters/syntax_t21.dart
+++ b/Language/Functions/Formal_Parameters/syntax_t21.dart
@@ -26,12 +26,17 @@
/// ;
/// @description Checks that it is a compile-time error when more than one set
/// of optional positional parameters is present in one function declaration.
-/// @compile-error
/// @author rodionov
void f(var a, [var b], [var c]) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main () {
f(1, 2, 3);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Functions/Function_Declarations/external_function_t01.dart b/Language/Functions/Function_Declarations/external_function_t01.dart
index 32eb939..4a02b63 100644
--- a/Language/Functions/Function_Declarations/external_function_t01.dart
+++ b/Language/Functions/Function_Declarations/external_function_t01.dart
@@ -5,11 +5,13 @@
/// @assertion The body is empty for functions that are external.
/// @description Checks it is a compile error if external function declaration
/// is followed by a function body.
-/// @compile-error
/// @author ilya
external foo(String x) => x.length;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
foo('foo');
diff --git a/Language/Functions/Function_Declarations/external_function_t02.dart b/Language/Functions/Function_Declarations/external_function_t02.dart
index ed02cdd..ce9ac3f 100644
--- a/Language/Functions/Function_Declarations/external_function_t02.dart
+++ b/Language/Functions/Function_Declarations/external_function_t02.dart
@@ -5,11 +5,13 @@
/// @assertion The body is empty for functions that are external.
/// @description Checks it is a compile error if external function declaration
/// is followed by a function body.
-/// @compile-error
/// @author ilya
external foo(String x) { return x.length; }
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
foo('foo');
diff --git a/Language/Functions/Function_Declarations/static_preface_t01.dart b/Language/Functions/Function_Declarations/static_preface_t01.dart
index 23001af..da4a84c 100644
--- a/Language/Functions/Function_Declarations/static_preface_t01.dart
+++ b/Language/Functions/Function_Declarations/static_preface_t01.dart
@@ -6,12 +6,14 @@
/// the built-in identier static.
/// @description Checks that it is a compile-time error to preface library
/// function with 'static'.
-/// @compile-error
/// @author msyabro
/// @reviewer kaigorodov
static void f() {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f();
diff --git a/Language/Functions/Function_Declarations/static_preface_t02.dart b/Language/Functions/Function_Declarations/static_preface_t02.dart
index df47324..0618820 100644
--- a/Language/Functions/Function_Declarations/static_preface_t02.dart
+++ b/Language/Functions/Function_Declarations/static_preface_t02.dart
@@ -6,10 +6,12 @@
/// the built-in identier static.
/// @description Checks that it is a compile-time error to preface local function
/// with 'static'.
-/// @compile-error
/// @author msyabro
main() {
static void f() {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Functions/Type_of_a_Function/function_type_t01.dart b/Language/Functions/Type_of_a_Function/function_type_t01.dart
index 71c5b41..27363c8 100644
--- a/Language/Functions/Type_of_a_Function/function_type_t01.dart
+++ b/Language/Functions/Type_of_a_Function/function_type_t01.dart
@@ -14,7 +14,6 @@
/// The run time type of a function object always implements the class Function.
/// @description Checks the type of functions with parameters. Also checks that
/// run time type of a function object always implements the class Function.
-/// @static-clean
/// @author ngl@unipro.ru
import "../../../Utils/expect.dart";
diff --git a/Language/Functions/Type_of_a_Function/return_type_t01.dart b/Language/Functions/Type_of_a_Function/return_type_t01.dart
index ef01106..06d1158 100644
--- a/Language/Functions/Type_of_a_Function/return_type_t01.dart
+++ b/Language/Functions/Type_of_a_Function/return_type_t01.dart
@@ -7,7 +7,6 @@
/// its return type is the immediately enclosing class.
/// @description Checks that return type is dynamic. Static checker should not
/// cause static warnings because type Dynamic has every method and property.
-/// @static-clean
/// @author msyabro
import "../../../Utils/expect.dart";
diff --git a/Language/Functions/Type_of_a_Function/return_type_t02.dart b/Language/Functions/Type_of_a_Function/return_type_t02.dart
index e2e89a2..2ea15ab 100644
--- a/Language/Functions/Type_of_a_Function/return_type_t02.dart
+++ b/Language/Functions/Type_of_a_Function/return_type_t02.dart
@@ -7,7 +7,6 @@
/// its return type is the immediately enclosing class.
/// @description Checks that return type of a constructor is the immediately
/// enclosing class.
-/// @static-clean
/// @author ngl@unipro.ru
import "../../../Utils/expect.dart";
diff --git a/Language/Functions/async_return_type_t01.dart b/Language/Functions/async_return_type_t01.dart
index 318f5d9..eb4c620 100644
--- a/Language/Functions/async_return_type_t01.dart
+++ b/Language/Functions/async_return_type_t01.dart
@@ -8,11 +8,13 @@
/// @description Check that it is a compile time error, if the declared
/// return type of asynchronous function may not be assigned to Future.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
int f() async {
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
return 1;
}
diff --git a/Language/Functions/ctor_modifier_t01.dart b/Language/Functions/ctor_modifier_t01.dart
index 7acba31..87c44f2 100644
--- a/Language/Functions/ctor_modifier_t01.dart
+++ b/Language/Functions/ctor_modifier_t01.dart
@@ -8,11 +8,13 @@
/// @description Checks that class constructor with async modifier cause
/// compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
A() async {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new A();
diff --git a/Language/Functions/ctor_modifier_t02.dart b/Language/Functions/ctor_modifier_t02.dart
index 87a1117..cc45732 100644
--- a/Language/Functions/ctor_modifier_t02.dart
+++ b/Language/Functions/ctor_modifier_t02.dart
@@ -8,11 +8,13 @@
/// @description Checks that class constructor with async modifier cause
/// compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
A.a() async {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new A.a();
diff --git a/Language/Functions/ctor_modifier_t03.dart b/Language/Functions/ctor_modifier_t03.dart
index 395a436..ccb9170 100644
--- a/Language/Functions/ctor_modifier_t03.dart
+++ b/Language/Functions/ctor_modifier_t03.dart
@@ -8,11 +8,13 @@
/// @description Checks that class factory constructor with async modifier cause
/// compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
factory A() async {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new A();
diff --git a/Language/Functions/ctor_modifier_t04.dart b/Language/Functions/ctor_modifier_t04.dart
index a25352a..c056d9f 100644
--- a/Language/Functions/ctor_modifier_t04.dart
+++ b/Language/Functions/ctor_modifier_t04.dart
@@ -8,11 +8,13 @@
/// @description Checks that class factory constructor with async modifier cause
/// compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
factory A.a() async {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new A.a();
diff --git a/Language/Functions/ctor_modifier_t05.dart b/Language/Functions/ctor_modifier_t05.dart
index 2043eeb..9a2af41 100644
--- a/Language/Functions/ctor_modifier_t05.dart
+++ b/Language/Functions/ctor_modifier_t05.dart
@@ -8,11 +8,13 @@
/// @description Checks that class constant constructor with async modifier cause
/// compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
const A() async {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new A();
diff --git a/Language/Functions/ctor_modifier_t06.dart b/Language/Functions/ctor_modifier_t06.dart
index dc8b8cb..bef45da 100644
--- a/Language/Functions/ctor_modifier_t06.dart
+++ b/Language/Functions/ctor_modifier_t06.dart
@@ -8,11 +8,13 @@
/// @description Checks that class constant constructor with async modifier cause
/// compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
const A.a() async {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new A.a();
diff --git a/Language/Functions/ctor_modifier_t07.dart b/Language/Functions/ctor_modifier_t07.dart
index c3e9ee5..839b2bc 100644
--- a/Language/Functions/ctor_modifier_t07.dart
+++ b/Language/Functions/ctor_modifier_t07.dart
@@ -8,11 +8,13 @@
/// @description Checks that class constructor with async* modifier cause
/// compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
A() async* {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new A();
diff --git a/Language/Functions/ctor_modifier_t08.dart b/Language/Functions/ctor_modifier_t08.dart
index c26624e..2156af2 100644
--- a/Language/Functions/ctor_modifier_t08.dart
+++ b/Language/Functions/ctor_modifier_t08.dart
@@ -8,11 +8,13 @@
/// @description Checks that class constructor with async* modifier cause
/// compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
A.a() async* {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new A.a();
diff --git a/Language/Functions/ctor_modifier_t09.dart b/Language/Functions/ctor_modifier_t09.dart
index c898cd1..86e171a 100644
--- a/Language/Functions/ctor_modifier_t09.dart
+++ b/Language/Functions/ctor_modifier_t09.dart
@@ -8,11 +8,13 @@
/// @description Checks that class factory constructor with async* modifier cause
/// compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
factory A() async* {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new A();
diff --git a/Language/Functions/ctor_modifier_t10.dart b/Language/Functions/ctor_modifier_t10.dart
index 95dd98e..c0a677b 100644
--- a/Language/Functions/ctor_modifier_t10.dart
+++ b/Language/Functions/ctor_modifier_t10.dart
@@ -8,11 +8,13 @@
/// @description Checks that class factory constructor with async* modifier cause
/// compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
factory A.a() async* {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new A.a();
diff --git a/Language/Functions/ctor_modifier_t11.dart b/Language/Functions/ctor_modifier_t11.dart
index ac0261e..61f97eb 100644
--- a/Language/Functions/ctor_modifier_t11.dart
+++ b/Language/Functions/ctor_modifier_t11.dart
@@ -8,11 +8,13 @@
/// @description Checks that class constant constructor with async* modifier
/// cause compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
const A() async* {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new A();
diff --git a/Language/Functions/ctor_modifier_t12.dart b/Language/Functions/ctor_modifier_t12.dart
index d7fe504..f328b47 100644
--- a/Language/Functions/ctor_modifier_t12.dart
+++ b/Language/Functions/ctor_modifier_t12.dart
@@ -8,11 +8,13 @@
/// @description Checks that class constant constructor with async* modifier
/// cause compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
const A.a() async* {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new A.a();
diff --git a/Language/Functions/ctor_modifier_t13.dart b/Language/Functions/ctor_modifier_t13.dart
index fe0316d..bdd5b65 100644
--- a/Language/Functions/ctor_modifier_t13.dart
+++ b/Language/Functions/ctor_modifier_t13.dart
@@ -8,11 +8,13 @@
/// @description Checks that class constructor with sync* modifier cause
/// compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
A() sync* {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new A();
diff --git a/Language/Functions/ctor_modifier_t14.dart b/Language/Functions/ctor_modifier_t14.dart
index f634c2f..565983f 100644
--- a/Language/Functions/ctor_modifier_t14.dart
+++ b/Language/Functions/ctor_modifier_t14.dart
@@ -8,11 +8,13 @@
/// @description Checks that class constructor with sync* modifier cause
/// compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
A.a() sync* {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new A.a();
diff --git a/Language/Functions/ctor_modifier_t15.dart b/Language/Functions/ctor_modifier_t15.dart
index 52588e8..bf9a154 100644
--- a/Language/Functions/ctor_modifier_t15.dart
+++ b/Language/Functions/ctor_modifier_t15.dart
@@ -8,11 +8,13 @@
/// @description Checks that class factory constructor with sync* modifier cause
/// compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
factory A() sync* {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new A();
diff --git a/Language/Functions/ctor_modifier_t16.dart b/Language/Functions/ctor_modifier_t16.dart
index 30da1d7..fff4dbd 100644
--- a/Language/Functions/ctor_modifier_t16.dart
+++ b/Language/Functions/ctor_modifier_t16.dart
@@ -8,11 +8,13 @@
/// @description Checks that class factory constructor with sync* modifier cause
/// compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
factory A.a() sync* {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new A.a();
diff --git a/Language/Functions/ctor_modifier_t17.dart b/Language/Functions/ctor_modifier_t17.dart
index 0635aa5..47d70ea 100644
--- a/Language/Functions/ctor_modifier_t17.dart
+++ b/Language/Functions/ctor_modifier_t17.dart
@@ -8,11 +8,13 @@
/// @description Checks that class constant constructor with sync* modifier
/// cause compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
const A() sync* {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new A();
diff --git a/Language/Functions/ctor_modifier_t18.dart b/Language/Functions/ctor_modifier_t18.dart
index 6ea6a88..62471f2 100644
--- a/Language/Functions/ctor_modifier_t18.dart
+++ b/Language/Functions/ctor_modifier_t18.dart
@@ -8,11 +8,13 @@
/// @description Checks that class constant constructor with sync* modifier
/// cause compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
const A.a() sync* {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new A.a();
diff --git a/Language/Functions/generator_return_type_t01.dart b/Language/Functions/generator_return_type_t01.dart
index 34fe08d..bc40e3b 100644
--- a/Language/Functions/generator_return_type_t01.dart
+++ b/Language/Functions/generator_return_type_t01.dart
@@ -11,11 +11,13 @@
/// return type of synchronous generator function may not be assigned
/// to Iterable.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
int f() sync* { }
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f();
diff --git a/Language/Functions/generator_return_type_t02.dart b/Language/Functions/generator_return_type_t02.dart
index c12c75e..bbfa618 100644
--- a/Language/Functions/generator_return_type_t02.dart
+++ b/Language/Functions/generator_return_type_t02.dart
@@ -11,11 +11,13 @@
/// return type of synchronous generator function may not be assigned
/// to Iterable but is void.
/// @issue 32192
-/// @compile-error
/// @author a.semenov@unipro.ru
void h() sync* { }
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
h();
diff --git a/Language/Functions/generator_return_type_t03.dart b/Language/Functions/generator_return_type_t03.dart
index 5a22fa2..53c5cbc 100644
--- a/Language/Functions/generator_return_type_t03.dart
+++ b/Language/Functions/generator_return_type_t03.dart
@@ -10,7 +10,6 @@
/// @description Check that it is no compile error, if the declared
/// return type of synchronous generator function may be assigned
/// to Iterable.
-/// @static-clean
/// @author a.semenov@unipro.ru
diff --git a/Language/Functions/generator_return_type_t05.dart b/Language/Functions/generator_return_type_t05.dart
index ed1b61e..6f67800 100644
--- a/Language/Functions/generator_return_type_t05.dart
+++ b/Language/Functions/generator_return_type_t05.dart
@@ -10,11 +10,13 @@
/// @description Check that it is a compile error, if the declared
/// return type of a function marked async* may not be assigned to Stream.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
int f() async* { }
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f();
diff --git a/Language/Functions/generator_return_type_t06.dart b/Language/Functions/generator_return_type_t06.dart
index 41d0a55..36cf005 100644
--- a/Language/Functions/generator_return_type_t06.dart
+++ b/Language/Functions/generator_return_type_t06.dart
@@ -11,11 +11,13 @@
/// return type of a function marked async* may not be assigned to Stream but is
/// void.
/// @issue 32192
-/// @compile-error
/// @author a.semenov@unipro.ru
void h() async* { }
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
h();
diff --git a/Language/Functions/generator_return_type_t07.dart b/Language/Functions/generator_return_type_t07.dart
index b35a1fd..748fa72 100644
--- a/Language/Functions/generator_return_type_t07.dart
+++ b/Language/Functions/generator_return_type_t07.dart
@@ -9,7 +9,6 @@
///
/// @description Check that it is no compile error, if the declared
/// return type of a function marked async* may be assigned to Stream.
-/// @static-clean
/// @author a.semenov@unipro.ru
import 'dart:async';
diff --git a/Language/Functions/setter_modifier_t01.dart b/Language/Functions/setter_modifier_t01.dart
index ca1b245..cd328f2 100644
--- a/Language/Functions/setter_modifier_t01.dart
+++ b/Language/Functions/setter_modifier_t01.dart
@@ -8,13 +8,15 @@
/// @description Checks that instance setter with async modifier cause
/// compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
int? _a;
A() {}
set a(int value) async {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
_a = value;
}
}
diff --git a/Language/Functions/setter_modifier_t02.dart b/Language/Functions/setter_modifier_t02.dart
index 4ba5b3b..80c775b 100644
--- a/Language/Functions/setter_modifier_t02.dart
+++ b/Language/Functions/setter_modifier_t02.dart
@@ -8,13 +8,15 @@
/// @description Checks that instance setter with async* modifier cause
/// compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
int? _a;
A() {}
set a(int value) async* {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
_a = value;
}
}
diff --git a/Language/Functions/setter_modifier_t03.dart b/Language/Functions/setter_modifier_t03.dart
index aa30a5c..7fdb07e 100644
--- a/Language/Functions/setter_modifier_t03.dart
+++ b/Language/Functions/setter_modifier_t03.dart
@@ -8,13 +8,15 @@
/// @description Checks that instance setter with sync* modifier cause
/// compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
int? _a;
A() {}
set a(int value) sync* {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
_a = value;
}
}
diff --git a/Language/Functions/setter_modifier_t04.dart b/Language/Functions/setter_modifier_t04.dart
index 21cc456..7def539 100644
--- a/Language/Functions/setter_modifier_t04.dart
+++ b/Language/Functions/setter_modifier_t04.dart
@@ -8,13 +8,15 @@
/// @description Checks that static setter with async modifier cause
/// compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
static int? _a;
A() {}
static set a(int value) async {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
_a = value;
}
}
diff --git a/Language/Functions/setter_modifier_t05.dart b/Language/Functions/setter_modifier_t05.dart
index 1e6a55e..266f512 100644
--- a/Language/Functions/setter_modifier_t05.dart
+++ b/Language/Functions/setter_modifier_t05.dart
@@ -8,13 +8,15 @@
/// @description Checks that static setter with async* modifier cause
/// compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
static int? _a;
A() {}
static set a(int value) async* {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
_a = value;
}
}
diff --git a/Language/Functions/setter_modifier_t06.dart b/Language/Functions/setter_modifier_t06.dart
index b4bdf10..52cff4b 100644
--- a/Language/Functions/setter_modifier_t06.dart
+++ b/Language/Functions/setter_modifier_t06.dart
@@ -8,13 +8,15 @@
/// @description Checks that static setter with sync* modifier cause
/// compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
static int? _a;
A() {}
static set a(int value) sync* {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
_a = value;
}
}
diff --git a/Language/Functions/syntax_t05.dart b/Language/Functions/syntax_t05.dart
index 6325688..aa37ee8 100644
--- a/Language/Functions/syntax_t05.dart
+++ b/Language/Functions/syntax_t05.dart
@@ -20,11 +20,13 @@
/// @description Checks that it is a compile error if a function
/// does not have formalParameterList
///
-/// @compile-error
/// @author msyabro
int function1 {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
function1();
diff --git a/Language/Functions/syntax_t06.dart b/Language/Functions/syntax_t06.dart
index 4c288bf..7e54bfa 100644
--- a/Language/Functions/syntax_t06.dart
+++ b/Language/Functions/syntax_t06.dart
@@ -20,7 +20,6 @@
/// @description Checks that it is a compile error if a block of a function body
/// isn't closed
///
-/// @compile-error
/// @author msyabro
@@ -29,3 +28,7 @@
}
function() {
+// ^
+// [cfe] unspecified
+// [error line 34, column 0]
+// [analyzer] unspecified
\ No newline at end of file
diff --git a/Language/Functions/syntax_t07.dart b/Language/Functions/syntax_t07.dart
index c2d24f4..d0a3867 100644
--- a/Language/Functions/syntax_t07.dart
+++ b/Language/Functions/syntax_t07.dart
@@ -20,7 +20,6 @@
/// @description Checks that it is a compile error if a block of a
/// function body isn't opened
///
-/// @compile-error
/// @author msyabro
@@ -29,3 +28,6 @@
}
function() }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Functions/syntax_t08.dart b/Language/Functions/syntax_t08.dart
index 3a2d874..8e1ff62 100644
--- a/Language/Functions/syntax_t08.dart
+++ b/Language/Functions/syntax_t08.dart
@@ -20,7 +20,6 @@
/// @description Checks that it is a compile error if a statement of a
/// function body isn't enclosed in a block
///
-/// @compile-error
/// @author msyabro
@@ -29,3 +28,6 @@
}
f() return 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Functions/syntax_t09.dart b/Language/Functions/syntax_t09.dart
index c66d1bd..6e9fb64 100644
--- a/Language/Functions/syntax_t09.dart
+++ b/Language/Functions/syntax_t09.dart
@@ -20,7 +20,6 @@
/// @description Checks that it is a compile error if the function body of the
/// form ['=>' expression ';'] isn't terminated with semicolon
///
-/// @compile-error
/// @author msyabro
@@ -29,3 +28,8 @@
}
int f() => 1
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
+// [error line 35, column 0]
+// [cfe] unspecified
\ No newline at end of file
diff --git a/Language/Functions/syntax_t10.dart b/Language/Functions/syntax_t10.dart
index 5914162..ec435c6 100644
--- a/Language/Functions/syntax_t10.dart
+++ b/Language/Functions/syntax_t10.dart
@@ -20,11 +20,13 @@
/// @description Checks that expression is necessary in the form
/// ['=>' expression ';']
///
-/// @compile-error
/// @author msyabro
void f() => ;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f();
diff --git a/Language/Functions/syntax_t12.dart b/Language/Functions/syntax_t12.dart
index 8bc2bc7..942ea5e 100644
--- a/Language/Functions/syntax_t12.dart
+++ b/Language/Functions/syntax_t12.dart
@@ -20,11 +20,13 @@
/// @description Checks that the block statement can't be a body of a function of
/// the form [functionSignature '=>' expression ';'].
///
-/// @compile-error
/// @author msyabro
f() => { 1 + 1; 2 + 2; };
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f();
diff --git a/Language/Functions/syntax_t13.dart b/Language/Functions/syntax_t13.dart
index 2610370..aa4bd75 100644
--- a/Language/Functions/syntax_t13.dart
+++ b/Language/Functions/syntax_t13.dart
@@ -19,11 +19,13 @@
/// @description Checks that the variable declaration statement can't be
/// a body of a function of the form [functionSignature '=>' expression ';'].
///
-/// @compile-error
/// @author msyabro
f(var y) => int x;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
diff --git a/Language/Functions/syntax_t14.dart b/Language/Functions/syntax_t14.dart
index d7e5e26..c8ea3d2 100644
--- a/Language/Functions/syntax_t14.dart
+++ b/Language/Functions/syntax_t14.dart
@@ -20,11 +20,13 @@
/// @description Checks that the if statement can't be a body of a function of
/// the form [functionSignature '=>' expression ';'].
///
-/// @compile-error
/// @author msyabro
f() => if (1 > 0) 1 else 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f();
diff --git a/Language/Functions/syntax_t15.dart b/Language/Functions/syntax_t15.dart
index 1567a14..f57f796 100644
--- a/Language/Functions/syntax_t15.dart
+++ b/Language/Functions/syntax_t15.dart
@@ -20,11 +20,13 @@
/// @description Checks that the for statement can't be a body of a function of
/// the form [functionSignature '=>' expression ';'].
///
-/// @compile-error
/// @author msyabro
f() => for (int i = 0; i < 100; i++);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f();
diff --git a/Language/Functions/syntax_t16.dart b/Language/Functions/syntax_t16.dart
index 7326726..b84a3b1 100644
--- a/Language/Functions/syntax_t16.dart
+++ b/Language/Functions/syntax_t16.dart
@@ -20,11 +20,13 @@
/// @description Checks that the foreach statement can't be a body of
/// a function of the form [functionSignature '=>' expression ';'].
///
-/// @compile-error
/// @author msyabro
f() => for (var i in [1,2,3]);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f();
diff --git a/Language/Functions/syntax_t17.dart b/Language/Functions/syntax_t17.dart
index 5d7ec8a..8d8a780 100644
--- a/Language/Functions/syntax_t17.dart
+++ b/Language/Functions/syntax_t17.dart
@@ -20,11 +20,13 @@
/// @description Checks that the while statement can't be a body of
/// a function of the form [functionSignature '=>' expression ';'].
///
-/// @compile-error
/// @author msyabro
f() => while (true);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f();
diff --git a/Language/Functions/syntax_t18.dart b/Language/Functions/syntax_t18.dart
index 5dd1585..196363a 100644
--- a/Language/Functions/syntax_t18.dart
+++ b/Language/Functions/syntax_t18.dart
@@ -20,11 +20,13 @@
/// @description Checks that the do statement can't be a body of a function of
/// the form [functionSignature '=>' expression ';'].
///
-/// @compile-error
/// @author msyabro
f() => do {1 + 1;} while (true);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f();
diff --git a/Language/Functions/syntax_t19.dart b/Language/Functions/syntax_t19.dart
index 9789f8c..99e8f47 100644
--- a/Language/Functions/syntax_t19.dart
+++ b/Language/Functions/syntax_t19.dart
@@ -20,11 +20,13 @@
/// @description Checks that the switch statement can't be a body of a function
/// of the form [functionSignature '=>' expression ';'].
///
-/// @compile-error
/// @author msyabro
f() => switch (1 + 1) { case 1: false; case 2: true; default: false; };
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f();
diff --git a/Language/Functions/syntax_t20.dart b/Language/Functions/syntax_t20.dart
index e9f7679..5ed09a3 100644
--- a/Language/Functions/syntax_t20.dart
+++ b/Language/Functions/syntax_t20.dart
@@ -20,11 +20,13 @@
/// @description Checks that the try statement can't be a body of a function of
/// the form [functionSignature '=>' expression ';'].
///
-/// @compile-error
/// @author msyabro
f() => try { 1 + 1; } catch (e) {};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f();
diff --git a/Language/Functions/syntax_t21.dart b/Language/Functions/syntax_t21.dart
index d985634..159a9e2 100644
--- a/Language/Functions/syntax_t21.dart
+++ b/Language/Functions/syntax_t21.dart
@@ -20,11 +20,13 @@
/// @description Checks that the return statement can't be a body of a function
/// of the form [functionSignature '=>' expression ';'].
///
-/// @compile-error
/// @author msyabro
f() => return 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f();
diff --git a/Language/Functions/syntax_t23.dart b/Language/Functions/syntax_t23.dart
index 3339ed3..fc0817d 100644
--- a/Language/Functions/syntax_t23.dart
+++ b/Language/Functions/syntax_t23.dart
@@ -20,11 +20,13 @@
/// @description Checks that the assert statement can't be a body of a function
/// of the form [functionSignature '=>' expression ';'].
///
-/// @compile-error
/// @author msyabro
f() => assert (false);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f();
diff --git a/Language/Functions/syntax_t24.dart b/Language/Functions/syntax_t24.dart
index c84d987..91ff8a4 100644
--- a/Language/Functions/syntax_t24.dart
+++ b/Language/Functions/syntax_t24.dart
@@ -20,11 +20,13 @@
/// @description Checks that a class can't be defined in a body
/// of a function of the form [functionSignature '=>' expression ';'].
///
-/// @compile-error
/// @author msyabro
f() => class A {};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f();
diff --git a/Language/Functions/syntax_t25.dart b/Language/Functions/syntax_t25.dart
index 74fc426..5efbd82 100644
--- a/Language/Functions/syntax_t25.dart
+++ b/Language/Functions/syntax_t25.dart
@@ -20,12 +20,14 @@
/// @description Checks that a class can't be defined in a body
/// of a function of the form [functionSignature '{' statements '}'].
///
-/// @compile-error
/// @author msyabro
f() {
class A{};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Functions/syntax_t28.dart b/Language/Functions/syntax_t28.dart
index 1ca42c2..e82078c 100644
--- a/Language/Functions/syntax_t28.dart
+++ b/Language/Functions/syntax_t28.dart
@@ -20,12 +20,16 @@
/// @description Checks that a typedef can't be defined in a body
/// of a function of the form [functionSignature '=>' expression ';'].
///
-/// @compile-error
/// @author msyabro
f() => typedef void f();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f();
+//^
+// [cfe] unspecified
}
diff --git a/Language/Functions/syntax_t29.dart b/Language/Functions/syntax_t29.dart
index 6990565..1302ec3 100644
--- a/Language/Functions/syntax_t29.dart
+++ b/Language/Functions/syntax_t29.dart
@@ -20,12 +20,14 @@
/// @description Checks that a typedef can't be defined in a body
/// of a function of the form [functionSignature '{' statements '}'].
///
-/// @compile-error
/// @author msyabro
f() {
typedef void f();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Functions/syntax_t30.dart b/Language/Functions/syntax_t30.dart
index 50d6b6d..6c3f498 100644
--- a/Language/Functions/syntax_t30.dart
+++ b/Language/Functions/syntax_t30.dart
@@ -20,12 +20,14 @@
/// @description Checks that variables can't be declared as static inside of
/// a function body.
///
-/// @compile-error
/// @author msyabro
f() {
static var x;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Functions/syntax_t31.dart b/Language/Functions/syntax_t31.dart
index d9415dd..4d192bf 100644
--- a/Language/Functions/syntax_t31.dart
+++ b/Language/Functions/syntax_t31.dart
@@ -20,12 +20,14 @@
/// @description Checks that functions can't be declared as static inside of
/// a function body.
///
-/// @compile-error
/// @author msyabro
f() {
static localFunction() {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Functions/syntax_t32.dart b/Language/Functions/syntax_t32.dart
index 8eb8bb6..c34da93 100644
--- a/Language/Functions/syntax_t32.dart
+++ b/Language/Functions/syntax_t32.dart
@@ -20,12 +20,14 @@
/// @description Checks that 'abstract' keyword can't be used inside of
/// a function body.
///
-/// @compile-error
/// @author msyabro
f() {
abstract localFunction();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Functions/syntax_t34.dart b/Language/Functions/syntax_t34.dart
index 28daa55..7d0deba 100644
--- a/Language/Functions/syntax_t34.dart
+++ b/Language/Functions/syntax_t34.dart
@@ -20,14 +20,22 @@
/// @description Checks that typeArgument in returnType must be surrounded with
/// single angle brackets.
///
-/// @compile-error
/// @author kaigorodov
main() {
List<List<int>> f1() { return null; }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
List<List<<int>>> f2() { return null; }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
f1();
f2();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Functions/syntax_t35.dart b/Language/Functions/syntax_t35.dart
index e64b927..a74a8f1 100644
--- a/Language/Functions/syntax_t35.dart
+++ b/Language/Functions/syntax_t35.dart
@@ -19,14 +19,22 @@
///
/// @description Checks that angle brackets in return type must be balanced.
///
-/// @compile-error
/// @author kaigorodov
main() {
List<List<int>> f1() { return null; }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
List<List<int>>> f2() { return null; }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
f1();
f2();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Functions/syntax_t39.dart b/Language/Functions/syntax_t39.dart
index bb4f955..acfcaf7 100644
--- a/Language/Functions/syntax_t39.dart
+++ b/Language/Functions/syntax_t39.dart
@@ -19,8 +19,10 @@
///
/// @description Checks that 'f() async* => expression' cause compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
main() async* => true;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Functions/syntax_t40.dart b/Language/Functions/syntax_t40.dart
index adc5dce..ed41ea4 100644
--- a/Language/Functions/syntax_t40.dart
+++ b/Language/Functions/syntax_t40.dart
@@ -19,8 +19,10 @@
///
/// @description Checks that 'f() sync* => expression' cause compiler error.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
main() sync* => true;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Functions/syntax_t47.dart b/Language/Functions/syntax_t47.dart
index 046f091..6281504 100644
--- a/Language/Functions/syntax_t47.dart
+++ b/Language/Functions/syntax_t47.dart
@@ -19,7 +19,6 @@
///
/// @description Checks that it is a compile error if there is async function
/// with no return type specified among Future.wait() values
-/// @compile-error
/// @author sgrekhov@unipro.ru
import 'dart:async';
@@ -28,6 +27,9 @@
test() async {
await Future.wait([f()]);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
test();
diff --git a/Language/Generics/parameter_A02_t06.dart b/Language/Generics/parameter_A02_t06.dart
index d4ad741..8f622ee 100644
--- a/Language/Generics/parameter_A02_t06.dart
+++ b/Language/Generics/parameter_A02_t06.dart
@@ -8,7 +8,6 @@
/// @description Checks that no static warnings or compile-time errors are
/// produced when making various instances of generic class which type parameter
/// lacks extends clause.
-/// @static-clean
/// @author iefremov
diff --git a/Language/Generics/parameter_A06_t01.dart b/Language/Generics/parameter_A06_t01.dart
index ac92b71..d469c54 100644
--- a/Language/Generics/parameter_A06_t01.dart
+++ b/Language/Generics/parameter_A06_t01.dart
@@ -6,13 +6,15 @@
/// referenced by a static member.
/// @description Checks that compile error occurs if type parameter is used
/// in a type test in static context.
-/// @compile-error
/// @author iefremov
class C<T> {
static bool f() {
return null is T;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Generics/parameter_A06_t02.dart b/Language/Generics/parameter_A06_t02.dart
index e1332c0..6038507 100644
--- a/Language/Generics/parameter_A06_t02.dart
+++ b/Language/Generics/parameter_A06_t02.dart
@@ -6,14 +6,18 @@
/// referenced by a static member.
/// @description Checks that if a type parameter is used as type annotation
/// in a static context, it is a compile error to assign to such member
-/// @compile-error
/// @author iefremov
class C<T> {
static T t;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.t = new Object();
+// ^
+// [analyzer] unspecified
}
diff --git a/Language/Generics/parameter_A07_t01.dart b/Language/Generics/parameter_A07_t01.dart
index 744837f..1d85cee 100644
--- a/Language/Generics/parameter_A07_t01.dart
+++ b/Language/Generics/parameter_A07_t01.dart
@@ -6,13 +6,15 @@
/// instance creation expression
/// @description Checks that class type parameter cannot be used in an instance
/// creation expression.
-/// @compile-error
/// @author iarkh@unipro.ru
class A<T> {
test() {
T();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Generics/parameter_A07_t02.dart b/Language/Generics/parameter_A07_t02.dart
index cddc1ee..01ac350 100644
--- a/Language/Generics/parameter_A07_t02.dart
+++ b/Language/Generics/parameter_A07_t02.dart
@@ -6,12 +6,14 @@
/// instance creation expression
/// @description Checks that function type parameter cannot be used in an
/// instance creation expression.
-/// @compile-error
/// @author iarkh@unipro.ru
void func<X>() {
new X();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Generics/parameter_A08_t01.dart b/Language/Generics/parameter_A08_t01.dart
index 0449846..f0739b3 100644
--- a/Language/Generics/parameter_A08_t01.dart
+++ b/Language/Generics/parameter_A08_t01.dart
@@ -4,11 +4,13 @@
/// @assertion A type parameter cannot be used as a superclass or superinterface
/// @description Checks that class type parameter cannot be used as a superclass
-/// @compile-error
/// @author iarkh@unipro.ru
class A<T> extends T {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Generics/parameter_A08_t02.dart b/Language/Generics/parameter_A08_t02.dart
index b512dbe..a677d45 100644
--- a/Language/Generics/parameter_A08_t02.dart
+++ b/Language/Generics/parameter_A08_t02.dart
@@ -5,11 +5,13 @@
/// @assertion A type parameter cannot be used as a superclass or superinterface
/// @description Checks that class type parameter cannot be used as a
/// superinterface
-/// @compile-error
/// @author iarkh@unipro.ru
class A<T> implements T {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Generics/parameter_A09_t01.dart b/Language/Generics/parameter_A09_t01.dart
index d895c42..9915975 100644
--- a/Language/Generics/parameter_A09_t01.dart
+++ b/Language/Generics/parameter_A09_t01.dart
@@ -5,7 +5,6 @@
/// @assertion A type parameter cannot be used as a generic type
/// @description Checks that class type parameter cannot be used as a generic
/// type
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -14,6 +13,9 @@
class B<T extends A> {
testme() {
T<int> t;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Generics/parameter_A09_t02.dart b/Language/Generics/parameter_A09_t02.dart
index 416a378..b6f1497 100644
--- a/Language/Generics/parameter_A09_t02.dart
+++ b/Language/Generics/parameter_A09_t02.dart
@@ -5,7 +5,6 @@
/// @assertion A type parameter cannot be used as a generic type
/// @description Checks that function type parameter cannot be used as a generic
/// type
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -13,6 +12,9 @@
void func<X extends A>(dynamic d) {
X<int> x = d;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Generics/parameter_A09_t03.dart b/Language/Generics/parameter_A09_t03.dart
index 4c7522d..ab4f1f6 100644
--- a/Language/Generics/parameter_A09_t03.dart
+++ b/Language/Generics/parameter_A09_t03.dart
@@ -5,7 +5,6 @@
/// @assertion A type parameter cannot be used as a generic type
/// @description Checks that nonfunction type alias parameter cannot be used as a
/// generic type
-/// @compile-error
/// @author iarkh@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -14,6 +13,9 @@
class B<T1, T2> {}
typedef Alias<T1 extends A, T2 extends T1<int>> = B<T1, T2>;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Generics/parameter_A09_t04.dart b/Language/Generics/parameter_A09_t04.dart
index ab35e4a..15ff188 100644
--- a/Language/Generics/parameter_A09_t04.dart
+++ b/Language/Generics/parameter_A09_t04.dart
@@ -5,7 +5,6 @@
/// @assertion A type parameter cannot be used as a generic type
/// @description Checks that function type alias parameter cannot be used as a
/// generic type
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -13,6 +12,9 @@
class B<T1, T2> {}
typedef void Alias<T extends A, T1 extends T<int>>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Generics/scope_t06.dart b/Language/Generics/scope_t06.dart
index 870abd0..607aef4 100644
--- a/Language/Generics/scope_t06.dart
+++ b/Language/Generics/scope_t06.dart
@@ -7,7 +7,6 @@
/// declaration G are also in scope in the extends and implements clauses of G
/// (if these exist) and in the body of G.
/// @description Checks bounds of type parameters are checked at compile time.
-/// @compile-error
/// @author iefremov
@@ -15,4 +14,7 @@
main() {
var x = new Enum<int>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Generics/syntax_t05.dart b/Language/Generics/syntax_t05.dart
index 8e584d1..ee21309 100644
--- a/Language/Generics/syntax_t05.dart
+++ b/Language/Generics/syntax_t05.dart
@@ -6,11 +6,13 @@
/// that is, [G] may have formal type parameters declared.
/// @description Checks that at least one typeParameter is a must in the generic
/// class declaration.
-/// @compile-error
/// @author iefremov
class C<>{}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Generics/syntax_t06.dart b/Language/Generics/syntax_t06.dart
index c8633aa..ed60793 100644
--- a/Language/Generics/syntax_t06.dart
+++ b/Language/Generics/syntax_t06.dart
@@ -6,11 +6,13 @@
/// that is, [G] may have formal type parameters declared.
/// @description Checks that closing bracket is a must in the generic class
/// declaration.
-/// @compile-error
/// @author iefremov
class C<T{}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Generics/syntax_t07.dart b/Language/Generics/syntax_t07.dart
index 50fddee..b18670c 100644
--- a/Language/Generics/syntax_t07.dart
+++ b/Language/Generics/syntax_t07.dart
@@ -6,11 +6,13 @@
/// that is, [G] may have formal type parameters declared.
/// @description Checks that opening bracket is a must in the generic class
/// declaration.
-/// @compile-error
/// @author iefremov
class C T>{}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Generics/syntax_t08.dart b/Language/Generics/syntax_t08.dart
index 9008a5e..e93c785 100644
--- a/Language/Generics/syntax_t08.dart
+++ b/Language/Generics/syntax_t08.dart
@@ -6,11 +6,13 @@
/// that is, [G] may have formal type parameters declared.
/// @description Checks that a comma must be succeeded by a typeParameter in the
/// class declaration.
-/// @compile-error
/// @author iefremov
class C<T, >{}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Generics/syntax_t09.dart b/Language/Generics/syntax_t09.dart
index 3db04ca..7cc957b 100644
--- a/Language/Generics/syntax_t09.dart
+++ b/Language/Generics/syntax_t09.dart
@@ -6,12 +6,14 @@
/// that is, [G] may have formal type parameters declared.
/// @description Checks that a compile-time error is produced when trying
/// to use a type parameter with type arguments.
-/// @compile-error
/// @author iefremov
class A<T> {}
class C<T, A<T>>{}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Generics/syntax_t10.dart b/Language/Generics/syntax_t10.dart
index c9c5480..b230fc3 100644
--- a/Language/Generics/syntax_t10.dart
+++ b/Language/Generics/syntax_t10.dart
@@ -6,11 +6,13 @@
/// that is, [G] may have formal type parameters declared.
/// @description Checks that a compile-time error is produced when trying
/// to specify a parameterized type parameter for the generic class.
-/// @compile-error
/// @author iefremov
class C<T<T>>{}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Generics/syntax_t11.dart b/Language/Generics/syntax_t11.dart
index e4def48..ad90e70 100644
--- a/Language/Generics/syntax_t11.dart
+++ b/Language/Generics/syntax_t11.dart
@@ -6,11 +6,13 @@
/// that is, [G] may have formal type parameters declared.
/// @description Checks that a compile-time error is produced when "extends"
/// is not followed with "type" for the generic class.
-/// @compile-error
/// @author kaigorodov
class C<T extends >{}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Generics/syntax_t12.dart b/Language/Generics/syntax_t12.dart
index 7a76a6d..1ec2116 100644
--- a/Language/Generics/syntax_t12.dart
+++ b/Language/Generics/syntax_t12.dart
@@ -6,12 +6,17 @@
/// that is, [G] may have formal type parameters declared.
/// @description Checks that a compile-time error is produced when typeParameter
/// declaration is not complete.
-/// @compile-error
/// @author kaigorodov
class A<T
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class C<T extends Function>{}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Generics/syntax_t13.dart b/Language/Generics/syntax_t13.dart
index c776c9d..dbd1904 100644
--- a/Language/Generics/syntax_t13.dart
+++ b/Language/Generics/syntax_t13.dart
@@ -6,11 +6,13 @@
/// that is, [G] may have formal type parameters declared.
/// @description Checks that a compile-time error is produced when "extends"
/// keyword is not spelled correctly for the generic class.
-/// @compile-error
/// @author kaigorodov
class C<T extend Function>{}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Generics/syntax_t14.dart b/Language/Generics/syntax_t14.dart
index 0c8a886..8d0c53c 100644
--- a/Language/Generics/syntax_t14.dart
+++ b/Language/Generics/syntax_t14.dart
@@ -6,11 +6,13 @@
/// that is, [G] may have formal type parameters declared.
/// @description Checks that a compile-time error is produced when "extends"
/// keyword is not spelled correctly and is not followed with "type".
-/// @compile-error
/// @author kaigorodov
class C<T extend >{}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Generics/syntax_t17.dart b/Language/Generics/syntax_t17.dart
index 09784a6..5d2083f 100644
--- a/Language/Generics/syntax_t17.dart
+++ b/Language/Generics/syntax_t17.dart
@@ -6,11 +6,13 @@
/// that is, [G] may have formal type parameters declared.
/// @description Checks that at least one typeParameter is a must in the generic
/// typedef.
-/// @compile-error
/// @author iarkh@unipro.ru
typedef f1<>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Generics/syntax_t19.dart b/Language/Generics/syntax_t19.dart
index dffd712..0c48609 100644
--- a/Language/Generics/syntax_t19.dart
+++ b/Language/Generics/syntax_t19.dart
@@ -6,13 +6,15 @@
/// that is, [G] may have formal type parameters declared.
/// @description Checks that at least one typeParameter is a must in the generic
/// function.
-/// @compile-error
/// @author iarkh@unipro.ru
class Test {
void function<>() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Generics/syntax_t21.dart b/Language/Generics/syntax_t21.dart
index cdd34ec..ffd19f8 100644
--- a/Language/Generics/syntax_t21.dart
+++ b/Language/Generics/syntax_t21.dart
@@ -6,13 +6,15 @@
/// that is, [G] may have formal type parameters declared.
/// @description Checks that at least one typeParameter is a must in the generic
/// type alias.
-/// @compile-error
/// @author iarkh@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
class Test<T> {}
typedef TAlias1<> = Test<X>;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Generics/syntax_t28.dart b/Language/Generics/syntax_t28.dart
index ae6793a..2cdb4c9 100644
--- a/Language/Generics/syntax_t28.dart
+++ b/Language/Generics/syntax_t28.dart
@@ -10,10 +10,12 @@
/// empty string.
/// @description Checks that construction [class test<X> = A<X>] throws compile
/// time error
-/// @compile-error
/// @author iarkh@unipro.ru
class A<X> {}
class test<X> = A<X>;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/Language/Generics/syntax_t29.dart b/Language/Generics/syntax_t29.dart
index 6e74a6c..b3ce093 100644
--- a/Language/Generics/syntax_t29.dart
+++ b/Language/Generics/syntax_t29.dart
@@ -10,11 +10,13 @@
/// empty string.
/// @description Checks that construction [class test<X extends num> = A<X>]
/// throws compile time error
-/// @compile-error
/// @Issue 36946
/// @author iarkh@unipro.ru
class A<X> {}
class test<X extends num> = A<X>;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/Language/Generics/syntax_t30.dart b/Language/Generics/syntax_t30.dart
index 02f5bb0..ee5ff03 100644
--- a/Language/Generics/syntax_t30.dart
+++ b/Language/Generics/syntax_t30.dart
@@ -10,11 +10,13 @@
/// empty string.
/// @description Checks that construction [class test<X extends num> = A<X>]
/// throws compile time error
-/// @compile-error
/// @Issue 36946
/// @author iarkh@unipro.ru
class A<X> {}
class test<X extends A> = A<X extends A<X>>;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/Language/Generics/typedef_A01_t02.dart b/Language/Generics/typedef_A01_t02.dart
index 0154728..7c09fbd 100644
--- a/Language/Generics/typedef_A01_t02.dart
+++ b/Language/Generics/typedef_A01_t02.dart
@@ -13,7 +13,6 @@
/// T
/// ...
/// @description Checks that exception is thrown if generic metadata is incorrect
-/// @compile-error
/// @author iarkh@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -21,4 +20,7 @@
int i = 1;
class C<T> {}
@i typedef CAlias<T> = C<T>;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/Language/Generics/typedef_A01_t03.dart b/Language/Generics/typedef_A01_t03.dart
index 5344c0b..a8267de 100644
--- a/Language/Generics/typedef_A01_t03.dart
+++ b/Language/Generics/typedef_A01_t03.dart
@@ -12,12 +12,17 @@
/// T
/// ...
/// @description Checks that exception is thrown if generic metadata is incorrect
-/// @compile-error
/// @author iarkh@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
class A() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class C<T> {}
@A() typedef CAlias<T> = C<T>;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/Language/Generics/typedef_A01_t12.dart b/Language/Generics/typedef_A01_t12.dart
index bf5d0a5..03a2b3e 100644
--- a/Language/Generics/typedef_A01_t12.dart
+++ b/Language/Generics/typedef_A01_t12.dart
@@ -12,10 +12,12 @@
/// T
/// ...
/// @description Checks that [T] cannot be [null]
-/// @compile-error
/// @author iarkh@unipro.ru
typedef void Alias1<T> = null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/Language/Generics/typedef_A02_t02.dart b/Language/Generics/typedef_A02_t02.dart
index b543988..d8fa578 100644
--- a/Language/Generics/typedef_A02_t02.dart
+++ b/Language/Generics/typedef_A02_t02.dart
@@ -15,10 +15,12 @@
/// S0 Function(T1, . . . , Tn, [Tn+1, . . . , Tn+k])
/// ...
/// @description Checks that exception is thrown if generic metadata is incorrect
-/// @compile-error
/// @author iarkh@unipro.ru
int i = 1;
@i typedef int test<T extends num>();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/Language/Generics/typedef_A06_t04.dart b/Language/Generics/typedef_A06_t04.dart
index 5cb3d86..6fe4f56 100644
--- a/Language/Generics/typedef_A06_t04.dart
+++ b/Language/Generics/typedef_A06_t04.dart
@@ -11,11 +11,13 @@
/// it is a compile-time error if any type occurring in [T] is not well-bounded.
/// @description Checks that it is a compile time error if [T] is not
/// well-bounded
-/// @compile-error
/// @Issue 42435
/// @author iarkh@unipro.ru
class A<X extends A<X>> {}
typedef AAlias = Function<X extends A>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/Language/Generics/typedef_A06_t05.dart b/Language/Generics/typedef_A06_t05.dart
index 78bef0c..d7818c3 100644
--- a/Language/Generics/typedef_A06_t05.dart
+++ b/Language/Generics/typedef_A06_t05.dart
@@ -11,10 +11,12 @@
/// it is a compile-time error if any type occurring in [T] is not well-bounded.
/// @description Checks that it is a compile time error if [T] is not
/// well-bounded
-/// @compile-error
/// @author iarkh@unipro.ru
class A<X extends A<X>> {}
typedef AAlias3<X extends A> = Function<Y extends X> ();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/Language/Generics/typedef_A06_t09.dart b/Language/Generics/typedef_A06_t09.dart
index 143bcd4..b6bdb52 100644
--- a/Language/Generics/typedef_A06_t09.dart
+++ b/Language/Generics/typedef_A06_t09.dart
@@ -11,7 +11,6 @@
/// it is a compile-time error if any type occurring in [T] is not well-bounded.
/// @description Checks that it is a compile time error if [T] is not
/// well-bounded
-/// @compile-error
/// @Issue 42436
/// @author iarkh@unipro.ru
@@ -20,5 +19,8 @@
class B<X extends A<int>> {}
typedef AAlias2<X extends A<X>> = Function<Y extends B<X>> ();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/Language/Generics/typedef_A06_t10.dart b/Language/Generics/typedef_A06_t10.dart
index 6873263..59409e9 100644
--- a/Language/Generics/typedef_A06_t10.dart
+++ b/Language/Generics/typedef_A06_t10.dart
@@ -11,7 +11,6 @@
/// it is a compile-time error if any type occurring in [T] is not well-bounded.
/// @description Checks that it is a compile time error if [T] is not
/// well-bounded
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -19,5 +18,8 @@
class B<X extends A<int>> {}
typedef AAlias2<X> = Function<X1 extends X, Y extends B<X1>> ();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/Language/Generics/typedef_A06_t13.dart b/Language/Generics/typedef_A06_t13.dart
index b990bce..09a6c73 100644
--- a/Language/Generics/typedef_A06_t13.dart
+++ b/Language/Generics/typedef_A06_t13.dart
@@ -12,11 +12,13 @@
/// @description Checks that it is a compile time error if [T] is not
/// well-bounded
/// @Issue 42436
-/// @compile-error
/// @author iarkh@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
class A<X extends A<X>> {}
typedef AAlias<X> = A<A<int>>;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/Language/Generics/typedef_A09_t01.dart b/Language/Generics/typedef_A09_t01.dart
index 255ce0b..2401f19 100644
--- a/Language/Generics/typedef_A09_t01.dart
+++ b/Language/Generics/typedef_A09_t01.dart
@@ -21,7 +21,6 @@
/// they just cannot be abbreviated using a generic type alias.
/// @description Checks that example from the Spec throws compile error as
/// expected.
-/// @compile-error
/// @Issue 42436
/// @author iarkh@unipro.ru
@@ -29,6 +28,9 @@
class A<X extends num> {}
typedef F<Y extends String> = A<Y> Function();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Generics/typedef_A09_t02.dart b/Language/Generics/typedef_A09_t02.dart
index 5256696..423738a 100644
--- a/Language/Generics/typedef_A09_t02.dart
+++ b/Language/Generics/typedef_A09_t02.dart
@@ -21,7 +21,6 @@
/// they just cannot be abbreviated using a generic type alias.
/// @description Checks that example from the Spec throws compile error as
/// expected.
-/// @compile-error
/// @Issue 42436
/// @author iarkh@unipro.ru
@@ -30,6 +29,9 @@
class A<X extends void Function(num)> {}
typedef F<Y> = A<void Function(Y)> Function();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Generics/typedef_A09_t03.dart b/Language/Generics/typedef_A09_t03.dart
index cc6b9d8..2601d89 100644
--- a/Language/Generics/typedef_A09_t03.dart
+++ b/Language/Generics/typedef_A09_t03.dart
@@ -21,13 +21,15 @@
/// they just cannot be abbreviated using a generic type alias.
/// @description Checks that example from the Spec throws compile error as
/// expected.
-/// @compile-error
/// @Issue 42436
/// @author iarkh@unipro.ru
class A<X extends num> {}
typedef A<Y> Testme<Y extends String>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Generics/typedef_A09_t04.dart b/Language/Generics/typedef_A09_t04.dart
index cc64788..b728a4e 100644
--- a/Language/Generics/typedef_A09_t04.dart
+++ b/Language/Generics/typedef_A09_t04.dart
@@ -21,7 +21,6 @@
/// they just cannot be abbreviated using a generic type alias.
/// @description Checks that example from the Spec throws compile error as
/// expected.
-/// @compile-error
/// @Issue 42436
/// @author iarkh@unipro.ru
@@ -29,6 +28,9 @@
class A<X extends void Function(num)> {}
typedef A<Y> Testme<Y>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Generics/typedef_A09_t05.dart b/Language/Generics/typedef_A09_t05.dart
index dd01787..37e7d7d 100644
--- a/Language/Generics/typedef_A09_t05.dart
+++ b/Language/Generics/typedef_A09_t05.dart
@@ -22,13 +22,15 @@
/// @description Checks that example from the Spec throws compile error as
/// expected.
/// @Issue 42436
-/// @compile-error
/// @author iarkh@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
class A<X extends num> {}
typedef AAlias<Y extends String> = A<Y>;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Generics/typedef_A09_t06.dart b/Language/Generics/typedef_A09_t06.dart
index bd07d39..456eeff 100644
--- a/Language/Generics/typedef_A09_t06.dart
+++ b/Language/Generics/typedef_A09_t06.dart
@@ -22,13 +22,15 @@
/// @description Checks that example from the Spec throws compile error as
/// expected.
/// @Issue 42436
-/// @compile-error
/// @author iarkh@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
class A<X extends void Function(num)> {}
typedef AAlias<Y> = A<Y>;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t01.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t01.dart
index df68bd4..320be5b 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t01.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t01.dart
@@ -25,7 +25,6 @@
/// and return type dynamic.
/// @description Checks that if two methods with the same name but different
/// parameters are inherited then it is a compile error
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -43,6 +42,9 @@
}
abstract class I implements SI1, SI2 {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
I? i = null;
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t02.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t02.dart
index 220cb73..8889ef7 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t02.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t02.dart
@@ -25,7 +25,6 @@
/// and return type dynamic.
/// @description Checks that there's a compile-error if two members with the same
/// name but different number of arguments are inherited
-/// @compile-error
/// @author rodionov
@@ -38,6 +37,9 @@
}
abstract class I implements SI1, SI2 {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
I? i = null;
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t03.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t03.dart
index 0ac1bc3..3c5bad8 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t03.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t03.dart
@@ -25,7 +25,6 @@
/// and return type dynamic.
/// @description Checks that if several methods with the same name but with the
/// different number of required parameters this causes compile error
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -47,6 +46,9 @@
}
abstract class I implements SI1, SI2, SI3 {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
I? i = null;
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t04.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t04.dart
index c023d56..39e3844 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t04.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t04.dart
@@ -25,7 +25,6 @@
/// and return type dynamic.
/// @description Checks that there's a compile error if methods with the same
/// name but differing sets of named parameters are inherited.
-/// @compile-error
/// @author rodionov
@@ -38,6 +37,9 @@
}
abstract class I implements SI1, SI2 {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
I? i = null;
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t05.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t05.dart
index e4e92c0..274d199 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t05.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t05.dart
@@ -28,7 +28,6 @@
/// include variables, methods, getters, setters and operators. There's no way
/// to check whether the resulting inherited method signature is actually as
/// described above, but we can check that it's inherited at all.
-/// @static-clean
/// @author rodionov
import '../../../../Utils/expect.dart';
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t06.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t06.dart
index 0e22bc3..fc5d14f 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t06.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t06.dart
@@ -27,7 +27,6 @@
/// interfaces with same named methods and different number of required formal
/// parameters and defines method with minimum number of required parameters
/// and maximum number of positional parameters.
-/// @static-clean
/// @author ngl@unipro.ru
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t07.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t07.dart
index 8a4d319..bf32ee5 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t07.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t07.dart
@@ -26,7 +26,6 @@
/// @description Checks there is a compile error if non-abstract class implements
/// several interfaces with same named methods that have different number of
/// required and optional positional formal parameters.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -49,6 +48,9 @@
class I implements SI1, SI2, SI3 {
dynamic foo(dynamic p1, [dynamic a, dynamic b, dynamic c]) {return 2;}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t08.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t08.dart
index 203be55..d3d3d00 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t08.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t08.dart
@@ -29,7 +29,6 @@
/// case the implicit interface of non-abstract class has method with one
/// required parameter of type dynamic and a set of all named optional
/// parameters.
-/// @static-clean
/// @author ngl@unipro.ru
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t09.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t09.dart
index 7271649..ca366a6 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t09.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t09.dart
@@ -25,7 +25,6 @@
/// and return type dynamic.
/// @description Checks that if two methods with the same name but different
/// parameters are inherited then it is a compile error. Test type aliases
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -47,6 +46,9 @@
typedef SIAlias2 = SI2;
abstract class I implements SIAlias1, SIAlias2 {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
I? i = null;
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t10.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t10.dart
index 64c27ed..5c478a2 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t10.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t10.dart
@@ -25,7 +25,6 @@
/// and return type dynamic.
/// @description Checks that there's a compile-error if two members with the same
/// name but different number of arguments are inherited
-/// @compile-error
/// @author rodionov
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -42,6 +41,9 @@
typedef SIAlias2 = SI2;
abstract class I implements SIAlias1, SIAlias2 {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
I? i = null;
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t11.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t11.dart
index 52751d5..fa71087 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t11.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t11.dart
@@ -26,7 +26,6 @@
/// @description Checks that if several methods with the same name but with the
/// different number of required parameters this causes compile error. Test type
/// aliases
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -53,6 +52,9 @@
typedef SIAlias3 = SI3;
abstract class I implements SI1, SI2, SI3 {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
I? i = null;
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t12.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t12.dart
index 3110b19..ed641c8 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t12.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t12.dart
@@ -25,7 +25,6 @@
/// and return type dynamic.
/// @description Checks that there's a compile error if methods with the same
/// name but differing sets of named parameters are inherited. Test type aliases
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -42,6 +41,9 @@
typedef SIAlias2 = SI2;
abstract class I implements SIAlias1, SIAlias2 {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
I? i = null;
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t13.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t13.dart
index f92c1d9..a500f12 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t13.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t13.dart
@@ -29,7 +29,6 @@
/// to check whether the resulting inherited method signature is actually as
/// described above, but we can check that it's inherited at all. Test type
/// aliases
-/// @static-clean
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t14.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t14.dart
index 9722dd1..432b4be 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t14.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/inheritance_t14.dart
@@ -27,7 +27,6 @@
/// interfaces with same named methods and different number of required formal
/// parameters and defines method with minimum number of required parameters
/// and maximum number of positional parameters. Test type aliases
-/// @static-clean
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/not_overriden_members_t01.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/not_overriden_members_t01.dart
index 2de7e2c..2b87ef4 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/not_overriden_members_t01.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/not_overriden_members_t01.dart
@@ -9,7 +9,6 @@
/// whose static type is an interface extending another interface that declares
/// those members. This should indirectly prove that they're indeed inherited
/// by the subinterface.
-/// @static-clean
/// @author sgrekhov@unopro.ru
import '../../../../Utils/expect.dart';
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/not_overriden_members_t03.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/not_overriden_members_t03.dart
index 3be73b1..0407380 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/not_overriden_members_t03.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/not_overriden_members_t03.dart
@@ -9,7 +9,6 @@
/// whose static type is an interface extending another interface that declares
/// those members. This should indirectly prove that they're indeed inherited
/// by the subinterface. Test type aliases
-/// @static-clean
/// @author sgrekhov@unopro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_t01.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_t01.dart
index 8c4d92a..6275bb8 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_t01.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_t01.dart
@@ -16,7 +16,6 @@
/// @description Checks that if multiple getters with the same name are
/// inherited actually only one getter is inherited and no static warning
/// issued
-/// @static-clean
/// @author sgrekhov@unipro.ru
import '../../../../Utils/expect.dart';
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_t02.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_t02.dart
index f818a99..45087c2 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_t02.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_t02.dart
@@ -16,7 +16,6 @@
/// @description Checks that if multiple methods with the same name are
/// inherited actually only one method is inherited and no static warning
/// issued
-/// @static-clean
/// @author sgrekhov@unipro.ru
import '../../../../Utils/expect.dart';
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_t03.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_t03.dart
index d595dcc..e752b7f 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_t03.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_t03.dart
@@ -16,7 +16,6 @@
/// @description Checks that if multiple getters with the same name are
/// inherited actually only one getter is inherited and no static warning
/// issued. Test type aliases
-/// @static-clean
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_t04.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_t04.dart
index c396dec..8c9af2c 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_t04.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_t04.dart
@@ -16,7 +16,6 @@
/// @description Checks that if multiple methods with the same name are
/// inherited actually only one method is inherited and no static warning
/// issued. Test type aliases
-/// @static-clean
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t01.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t01.dart
index f980663..868cccf 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t01.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t01.dart
@@ -17,7 +17,6 @@
/// all i ∈ 1..k, or a static type warning occurs.
/// @description Checks that if all inherited members with the same name are
/// getters and their static types are identical, then no static warning issued
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t02.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t02.dart
index 2064a43..930d8a5 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t02.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t02.dart
@@ -17,7 +17,6 @@
/// all i ∈ 1..k, or a static type warning occurs.
/// @description Checks that if all inherited members with the same name are
/// methods and their static types are identical, then no static warning issued
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t03.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t03.dart
index 2347669..419eb73 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t03.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t03.dart
@@ -19,7 +19,6 @@
/// getters and their static types are not identical, but there is a getter
/// such that its type is subtype of types of all other getters then, anyway,
/// a compile error occurs
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -45,6 +44,9 @@
}
abstract class I implements SI1, SI2, SI3 {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t04.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t04.dart
index 40c10f3..3d29eeb 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t04.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t04.dart
@@ -19,7 +19,6 @@
/// methods and their static types are not identical, but there is a method
/// such that its type is subtype of types of all other methods then, anyway, a
/// compile error occurs
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -45,6 +44,9 @@
}
abstract class I implements SI1, SI2, SI3 {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t05.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t05.dart
index 66a9f2e..6696dbf 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t05.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t05.dart
@@ -19,7 +19,6 @@
/// getters and their static types are not identical, but there is no getter
/// such that its type is subtype of types of all other getters, then, anyway, a
/// compile error occurs
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -36,6 +35,9 @@
}
abstract class I implements SI1, SI2, SI3 {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t06.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t06.dart
index 84009bb..a2456d5 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t06.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t06.dart
@@ -19,7 +19,6 @@
/// methods and their static types are not identical, but there is no method
/// such that its type is subtype of types of all other methods, then a compile
/// error occurs
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -36,6 +35,9 @@
}
abstract class I implements SI1, SI2, SI3 {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t07.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t07.dart
index 73512cc..c43b0fa 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t07.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t07.dart
@@ -19,7 +19,6 @@
/// methods and their static types are not identical, but there is a method
/// such that its type is subtype of types of all other methods then, anyway, a
/// compile error occurs. Test methods with parameters
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -45,6 +44,9 @@
}
abstract class I implements SI1, SI2, SI3 {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t08.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t08.dart
index 2e5595c..83186d5 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t08.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t08.dart
@@ -19,7 +19,6 @@
/// methods and their static types are not identical, but there is no method
/// such that its type is subtype of types of all other methods then a compile
/// error occurs. Test methods with parameters
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -36,6 +35,9 @@
}
abstract class I implements SI1, SI2, SI3 {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t09.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t09.dart
index e83bd6c..55f8cfd 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t09.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t09.dart
@@ -20,7 +20,6 @@
/// such that its type is subtype of types of all other methods then no static
/// warning issued. Test methods with parameters and return type void (except
/// the subtype)
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t10.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t10.dart
index 79640b1..d290078 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t10.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t10.dart
@@ -18,7 +18,6 @@
/// @description Checks that if all inherited members with the same name are
/// getters and their static types are identical, then no static warning issued.
/// Test type aliases
-/// @static-clean
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t11.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t11.dart
index 856fb44..5fea84f 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t11.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t11.dart
@@ -18,7 +18,6 @@
/// @description Checks that if all inherited members with the same name are
/// methods and their static types are identical, then no static warning issued.
/// Test type aliases
-/// @static-clean
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t12.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t12.dart
index 9c0886d..f468e8e 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t12.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_getters_type_t12.dart
@@ -19,7 +19,6 @@
/// methods and their static types are not identical, but there is no method
/// such that its type is subtype of types of all other methods, then a compile
/// error occurs. Test type aliases
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -40,6 +39,9 @@
typedef SIAlias3 = SI3;
abstract class I implements SIAlias1, SIAlias2, SIAlias3 {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_members_t01.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_members_t01.dart
index 21c0666..6712433 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_members_t01.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_members_t01.dart
@@ -17,7 +17,6 @@
/// inherited, and a static warning is issued.
/// @description Checks that if multiple members with the same name are inherited
/// but not all of them are getters then a compile error occurs
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -34,6 +33,9 @@
}
abstract class I implements SI1, SI2, SI3 {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_members_t02.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_members_t02.dart
index cf580aa..fb49aea 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_members_t02.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_members_t02.dart
@@ -18,7 +18,6 @@
/// @description Checks that there is no static warning if multiple members
/// with the same name are inherited and all of them are getters or all of
/// them are methods.
-/// @static-clean
/// @author ngl@unipro.ru
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_members_t03.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_members_t03.dart
index 15a6cd1..f22141f 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_members_t03.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_members_t03.dart
@@ -18,7 +18,6 @@
/// @description Checks that if multiple members with the same name are inherited
/// but not all of them are getters then a compile error occurs. Test type
/// aliases
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -39,6 +38,9 @@
typedef SIAlias3 = SI3;
abstract class I implements SIAlias1, SIAlias2, SIAlias3 {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_method_and_getter_t01.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_method_and_getter_t01.dart
index e1d75ea..9707df6 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_method_and_getter_t01.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_method_and_getter_t01.dart
@@ -6,7 +6,6 @@
/// if m is a getter and m' is a method.
/// @description Checks that there is a compile error if class has a method
/// and its superinterface has a getter with the same name
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -16,6 +15,9 @@
class C implements A {
int m() {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
return 1;
}
}
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_method_and_getter_t02.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_method_and_getter_t02.dart
index 233cf31..8614ad3 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_method_and_getter_t02.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_method_and_getter_t02.dart
@@ -6,7 +6,6 @@
/// if m is a getter and m' is a method.
/// @description Checks that there is a compile error if class has a getter
/// and its superinterface has a method with the same name
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -18,6 +17,9 @@
class C implements A {
int get m => 0;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_method_and_getter_t03.dart b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_method_and_getter_t03.dart
index 763a133..c021ab6 100644
--- a/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_method_and_getter_t03.dart
+++ b/Language/Interfaces/Superinterfaces/Inheritance_and_Overriding/same_name_method_and_getter_t03.dart
@@ -6,7 +6,6 @@
/// if m is a getter and m' is a method.
/// @description Checks that there is a compile error if class has a method
/// and its superinterface has a getter with the same name. Test type aliases
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -18,6 +17,9 @@
class C implements AAlias {
int m() {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
return 1;
}
}
diff --git a/Language/Interfaces/Superinterfaces/definition_t03.dart b/Language/Interfaces/Superinterfaces/definition_t03.dart
index b9a8d10..b87e7f3 100644
--- a/Language/Interfaces/Superinterfaces/definition_t03.dart
+++ b/Language/Interfaces/Superinterfaces/definition_t03.dart
@@ -8,15 +8,25 @@
/// superinterface of I.
/// @description Checks that it is a compile-time error if the chain of
/// superinterfaces forms a circular dependency.
-/// @compile-error
/// @author vasya
abstract class C implements A {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
abstract class B implements C {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
abstract class A implements B {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class D implements A {}
+// ^
+// [cfe] unspecified
main() {
new D();
diff --git a/Language/Interfaces/Superinterfaces/definition_t04.dart b/Language/Interfaces/Superinterfaces/definition_t04.dart
index 7202944..cac3c3d 100644
--- a/Language/Interfaces/Superinterfaces/definition_t04.dart
+++ b/Language/Interfaces/Superinterfaces/definition_t04.dart
@@ -8,16 +8,26 @@
/// superinterface of I.
/// @description Checks that it is a compile-time error if the chain of
/// superinterfaces forms a circular dependency.
-/// @compile-error
/// @author rodionov
abstract class A implements B {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
abstract class B implements A {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class C implements B {}
+// ^
+// [cfe] unspecified
main() {
new B();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Interfaces/Superinterfaces/definition_t05.dart b/Language/Interfaces/Superinterfaces/definition_t05.dart
index 69b2679..6f184b7 100644
--- a/Language/Interfaces/Superinterfaces/definition_t05.dart
+++ b/Language/Interfaces/Superinterfaces/definition_t05.dart
@@ -8,11 +8,13 @@
/// superinterface of I.
/// @description Checks that it is a compile-time error if the implements clause
/// of an interface is empty.
-/// @compile-error
/// @author rodionov
abstract class I implements {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
class C implements I {
diff --git a/Language/Interfaces/Superinterfaces/definition_t06.dart b/Language/Interfaces/Superinterfaces/definition_t06.dart
index 751338b..b4bbb17 100644
--- a/Language/Interfaces/Superinterfaces/definition_t06.dart
+++ b/Language/Interfaces/Superinterfaces/definition_t06.dart
@@ -8,19 +8,29 @@
/// superinterface of I.
/// @description Checks that it is a compile-time error if the chain of
/// superinterfaces forms a circular dependency. Test type aliases
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
abstract class C implements A {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
abstract class B implements C {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
typedef BAlias = B;
abstract class A implements BAlias {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class D implements A {}
+// ^
+// [cfe] unspecified
main() {
new D();
diff --git a/Language/Interfaces/Superinterfaces/superinterface_of_itself_t01.dart b/Language/Interfaces/Superinterfaces/superinterface_of_itself_t01.dart
index 2e62bf4..2911a7f 100644
--- a/Language/Interfaces/Superinterfaces/superinterface_of_itself_t01.dart
+++ b/Language/Interfaces/Superinterfaces/superinterface_of_itself_t01.dart
@@ -6,13 +6,17 @@
/// of itself.
/// @description Checks that it is a compile-time error if a non-generic
/// interface is a superinterface of itself.
-/// @compile-error
/// @author vasya
abstract class I implements I {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class A implements I {}
+// ^
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Interfaces/Superinterfaces/superinterface_of_itself_t02.dart b/Language/Interfaces/Superinterfaces/superinterface_of_itself_t02.dart
index ad8889e..1071ce7 100644
--- a/Language/Interfaces/Superinterfaces/superinterface_of_itself_t02.dart
+++ b/Language/Interfaces/Superinterfaces/superinterface_of_itself_t02.dart
@@ -6,13 +6,17 @@
/// of itself.
/// @description Checks that it is a compile-time error if a generic interface
/// is a superinterface of itself.
-/// @compile-error
/// @author rodionov
abstract class I<T> implements I<T> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class A implements I {}
+// ^
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Interfaces/Superinterfaces/superinterface_of_itself_t03.dart b/Language/Interfaces/Superinterfaces/superinterface_of_itself_t03.dart
index c7f2cf4..f38e082 100644
--- a/Language/Interfaces/Superinterfaces/superinterface_of_itself_t03.dart
+++ b/Language/Interfaces/Superinterfaces/superinterface_of_itself_t03.dart
@@ -6,15 +6,22 @@
/// of itself.
/// @description Checks that it is a compile-time error if a non-generic
/// interface is an indirect superinterface of itself.
-/// @compile-error
/// @author msyabro
abstract class J implements I {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
abstract class I implements J {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class A implements I {}
+// ^
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Interfaces/Superinterfaces/superinterface_of_itself_t04.dart b/Language/Interfaces/Superinterfaces/superinterface_of_itself_t04.dart
index 06da0c4..5490083 100644
--- a/Language/Interfaces/Superinterfaces/superinterface_of_itself_t04.dart
+++ b/Language/Interfaces/Superinterfaces/superinterface_of_itself_t04.dart
@@ -6,15 +6,19 @@
/// of itself.
/// @description Checks that it is a compile-time error if a non-generic
/// interface is a superinterface of itself. Test type alias
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
abstract class I implements IAlias {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
typedef IAlias = I;
class A implements I {}
+// ^
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Libraries_and_Scripts/Exports/invalid_uri_t02.dart b/Language/Libraries_and_Scripts/Exports/invalid_uri_t02.dart
index f1e81a5..7dd2644 100644
--- a/Language/Libraries_and_Scripts/Exports/invalid_uri_t02.dart
+++ b/Language/Libraries_and_Scripts/Exports/invalid_uri_t02.dart
@@ -6,11 +6,13 @@
/// to a library declaration.
/// @description Checks that it is a compile-time error when the resource
/// specified by the URI does not exist.
-/// @compile-error
/// @author ilya
export "IntentionallyMissingFile";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/Exports/invalid_uri_t03.dart b/Language/Libraries_and_Scripts/Exports/invalid_uri_t03.dart
index 10cb599..3b9acf0 100644
--- a/Language/Libraries_and_Scripts/Exports/invalid_uri_t03.dart
+++ b/Language/Libraries_and_Scripts/Exports/invalid_uri_t03.dart
@@ -1,4 +1,6 @@
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+//^
+// [cfe] unspecified
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -7,13 +9,15 @@
/// @description Checks that it is a compile-time error when the resource
/// specified by the URI refers to a part declaration which is not a library
/// declaration
-/// @compile-error
/// @author ilya
library my_lib;
export "invalid_uri_t03_part.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/Exports/reexport_t01.dart b/Language/Libraries_and_Scripts/Exports/reexport_t01.dart
index 1bf780e..a335615 100644
--- a/Language/Libraries_and_Scripts/Exports/reexport_t01.dart
+++ b/Language/Libraries_and_Scripts/Exports/reexport_t01.dart
@@ -7,10 +7,9 @@
/// @description Checks that it is a compile-time error if this library imports
/// another which re-exports two more libraries defining the same name but that
/// name is not referenced in this library.
-/// @compile-error
/// @author rodionov
/// @issue 6134
-
+/// @issue 44990
import "reexport_lib.dart";
diff --git a/Language/Libraries_and_Scripts/Exports/reexport_t02.dart b/Language/Libraries_and_Scripts/Exports/reexport_t02.dart
index 38cb318..5e267b0 100644
--- a/Language/Libraries_and_Scripts/Exports/reexport_t02.dart
+++ b/Language/Libraries_and_Scripts/Exports/reexport_t02.dart
@@ -7,10 +7,9 @@
/// @description Checks that it is a compile-time error if this library imports
/// another which re-exports two more libraries defining the same name and that
/// name is referenced in this library.
-/// @compile-error
/// @author rodionov
/// @issue 6134
-
+/// @issue 44990
import "reexport_lib.dart";
diff --git a/Language/Libraries_and_Scripts/Exports/same_name_t02.dart b/Language/Libraries_and_Scripts/Exports/same_name_t02.dart
index 9147346..750fd78 100644
--- a/Language/Libraries_and_Scripts/Exports/same_name_t02.dart
+++ b/Language/Libraries_and_Scripts/Exports/same_name_t02.dart
@@ -6,7 +6,6 @@
/// same name unless their name is the empty string.
/// @description Checks it is no static warning if there are two export
/// directives referring to different uris with the same empty library name.
-/// @static-clean
/// @author ilya
diff --git a/Language/Libraries_and_Scripts/Exports/show_hide_t03.dart b/Language/Libraries_and_Scripts/Exports/show_hide_t03.dart
index fc140a9..8514fd51 100644
--- a/Language/Libraries_and_Scripts/Exports/show_hide_t03.dart
+++ b/Language/Libraries_and_Scripts/Exports/show_hide_t03.dart
@@ -23,7 +23,6 @@
///
/// @description Checks that referencing exported but undefined name cause
/// compile error
-/// @compile-error
/// @note Most of this is already covered by 1_Imports_A02* tests.
/// @author rodionov
@@ -31,4 +30,7 @@
main() {
var x = badaboo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Exports/show_hide_t04.dart b/Language/Libraries_and_Scripts/Exports/show_hide_t04.dart
index abe9568..dbc8d68 100644
--- a/Language/Libraries_and_Scripts/Exports/show_hide_t04.dart
+++ b/Language/Libraries_and_Scripts/Exports/show_hide_t04.dart
@@ -23,7 +23,6 @@
///
/// @description Checks that referencing exported but undefined name cause
/// compile error
-/// @compile-error
/// @note Most of this is already covered by 1_Imports_A02* tests.
/// @author rodionov
@@ -31,4 +30,7 @@
main() {
var x = badaboo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Exports/syntax_t01.dart b/Language/Libraries_and_Scripts/Exports/syntax_t01.dart
index 24220de..647c0a8 100644
--- a/Language/Libraries_and_Scripts/Exports/syntax_t01.dart
+++ b/Language/Libraries_and_Scripts/Exports/syntax_t01.dart
@@ -10,9 +10,8 @@
/// ;
/// @description Checks that it is a compile-time error if export token is
/// prefixed with a '#' character.
-/// @compile-error
/// @author rodionov
-
+/// @issue 44990
import "syntax_t01_lib.dart";
diff --git a/Language/Libraries_and_Scripts/Exports/syntax_t04.dart b/Language/Libraries_and_Scripts/Exports/syntax_t04.dart
index 0593155..158dcad 100644
--- a/Language/Libraries_and_Scripts/Exports/syntax_t04.dart
+++ b/Language/Libraries_and_Scripts/Exports/syntax_t04.dart
@@ -10,12 +10,13 @@
/// ;
/// @description Checks that it is a compile-time error when there're no
/// identifiers following a show combinator in an export declaration.
-/// @compile-error
/// @author rodionov
-
+/// @issue 44990
import "syntax_t04_lib.dart";
main() {
var x = foo;
+// ^
+// [analyzer] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Exports/syntax_t05.dart b/Language/Libraries_and_Scripts/Exports/syntax_t05.dart
index d2ea2e7..045b63d 100644
--- a/Language/Libraries_and_Scripts/Exports/syntax_t05.dart
+++ b/Language/Libraries_and_Scripts/Exports/syntax_t05.dart
@@ -10,9 +10,8 @@
/// ;
/// @description Checks that it is a compile-time error when there're no
/// identifiers following a hide combinator in an export declaration.
-/// @compile-error
/// @author rodionov
-
+/// @issue 44990
import "syntax_t05_lib.dart";
diff --git a/Language/Libraries_and_Scripts/Exports/syntax_t06.dart b/Language/Libraries_and_Scripts/Exports/syntax_t06.dart
index d49ae0e..de0ae35 100644
--- a/Language/Libraries_and_Scripts/Exports/syntax_t06.dart
+++ b/Language/Libraries_and_Scripts/Exports/syntax_t06.dart
@@ -10,9 +10,8 @@
/// ;
/// @description Checks that it is a compile-time error when export declaration
/// includes an 'as prefix' clause.
-/// @compile-error
/// @author rodionov
-
+/// @issue 44990
import "syntax_t06_lib.dart";
diff --git a/Language/Libraries_and_Scripts/Exports/syntax_t15.dart b/Language/Libraries_and_Scripts/Exports/syntax_t15.dart
index a1f05bd..2a5a961 100644
--- a/Language/Libraries_and_Scripts/Exports/syntax_t15.dart
+++ b/Language/Libraries_and_Scripts/Exports/syntax_t15.dart
@@ -11,11 +11,13 @@
/// @description Checks that it is not an error when the identifiers used with
/// show/hide combinators are also named 'hide' and 'show', and that filtering
/// the export namespace is done correctly.
-/// @compile-error
/// @author rodionov
import "syntax_t02_lib.dart";
main() {
var x = show; // show is hidden, so expecting compile error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Exports/syntax_t16.dart b/Language/Libraries_and_Scripts/Exports/syntax_t16.dart
index bdffbb3..66d896a 100644
--- a/Language/Libraries_and_Scripts/Exports/syntax_t16.dart
+++ b/Language/Libraries_and_Scripts/Exports/syntax_t16.dart
@@ -11,11 +11,13 @@
/// @description Checks that it is not an error when the identifiers used with
/// show/hide combinators are also named 'hide' and 'show', and that filtering
/// the export namespace is done correctly.
-/// @compile-error
/// @author rodionov
import "syntax_t02_lib.dart";
main() {
var x = foo; // foo is hidden, so expecting compile error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/dart_core_t01.dart b/Language/Libraries_and_Scripts/Imports/dart_core_t01.dart
index ff7b6f6..99ddaaf 100644
--- a/Language/Libraries_and_Scripts/Imports/dart_core_t01.dart
+++ b/Language/Libraries_and_Scripts/Imports/dart_core_t01.dart
@@ -10,7 +10,6 @@
/// the automatic import.
/// @description Checks that dart:core is implicitly imported if not explicitly
/// imported.
-/// @static-clean
/// @author ilya
diff --git a/Language/Libraries_and_Scripts/Imports/dart_core_t02.dart b/Language/Libraries_and_Scripts/Imports/dart_core_t02.dart
index 929ccd1..d7469ac 100644
--- a/Language/Libraries_and_Scripts/Imports/dart_core_t02.dart
+++ b/Language/Libraries_and_Scripts/Imports/dart_core_t02.dart
@@ -10,11 +10,13 @@
/// the automatic import.
/// @description Checks that explicit import of dart:core preempt automatic
/// import.
-/// @compile-error
/// @author ilya
import 'dart:core' show List;
main() {
String; // String is not imported
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/dart_core_t03.dart b/Language/Libraries_and_Scripts/Imports/dart_core_t03.dart
index 8c6a21d..e6a40f5 100644
--- a/Language/Libraries_and_Scripts/Imports/dart_core_t03.dart
+++ b/Language/Libraries_and_Scripts/Imports/dart_core_t03.dart
@@ -10,11 +10,13 @@
/// the automatic import.
/// @description Checks that explicit import of dart:core preempt automatic
/// import.
-/// @compile-error
/// @author ilya
import 'dart:core' hide List;
main() {
List; // List is hidden
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/dart_core_t06.dart b/Language/Libraries_and_Scripts/Imports/dart_core_t06.dart
index 6c809e9..59f26a3 100644
--- a/Language/Libraries_and_Scripts/Imports/dart_core_t06.dart
+++ b/Language/Libraries_and_Scripts/Imports/dart_core_t06.dart
@@ -10,11 +10,13 @@
/// the automatic import.
/// @description Checks that explicit import of dart:core preempt automatic
/// import.
-/// @compile-error
/// @author ilya
import 'dart:core' as core;
main() {
List;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/invalid_uri_deferred_t01.dart b/Language/Libraries_and_Scripts/Imports/invalid_uri_deferred_t01.dart
index c3dcd5b..749a5b1 100644
--- a/Language/Libraries_and_Scripts/Imports/invalid_uri_deferred_t01.dart
+++ b/Language/Libraries_and_Scripts/Imports/invalid_uri_deferred_t01.dart
@@ -1,4 +1,6 @@
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
+//^
+// [cfe] unspecified
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -7,12 +9,14 @@
/// @description Checks that it is a compile error if the URI in a
/// deferred import directive refers to a part declaration which is not a
/// library declaration.
-/// @compile-error
/// @author ngl@unipro.ru
library my_lib;
import "invalid_uri_t01_part.dart" deferred as p;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
p.foo = 'abc';
diff --git a/Language/Libraries_and_Scripts/Imports/invalid_uri_deferred_t02.dart b/Language/Libraries_and_Scripts/Imports/invalid_uri_deferred_t02.dart
index 3dbd418..377b36b 100644
--- a/Language/Libraries_and_Scripts/Imports/invalid_uri_deferred_t02.dart
+++ b/Language/Libraries_and_Scripts/Imports/invalid_uri_deferred_t02.dart
@@ -6,11 +6,13 @@
/// does not refer to a library declaration.
/// @description Checks that it is a compile error if the URI in a
/// deferred import directive does not denote an existing file.
-/// @compile-error
/// @author ngl@unipro.ru
import "IntentionallyMissingFile.dart" deferred as p;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
var someVar = 0;
diff --git a/Language/Libraries_and_Scripts/Imports/invalid_uri_t01.dart b/Language/Libraries_and_Scripts/Imports/invalid_uri_t01.dart
index 21baa60..a5fe07f 100644
--- a/Language/Libraries_and_Scripts/Imports/invalid_uri_t01.dart
+++ b/Language/Libraries_and_Scripts/Imports/invalid_uri_t01.dart
@@ -1,4 +1,6 @@
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+//^
+// [cfe] unspecified
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -7,13 +9,15 @@
/// not refer to a library declaration.
/// @description Checks that it is a compile-time error if the URI in an import
/// directive refers to a part declaration which is not a library declaration.
-/// @compile-error
/// @author ilya
library my_lib;
import "invalid_uri_t01_part.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
var someVar = 0;
diff --git a/Language/Libraries_and_Scripts/Imports/invalid_uri_t02.dart b/Language/Libraries_and_Scripts/Imports/invalid_uri_t02.dart
index 2e23938..40b1271 100644
--- a/Language/Libraries_and_Scripts/Imports/invalid_uri_t02.dart
+++ b/Language/Libraries_and_Scripts/Imports/invalid_uri_t02.dart
@@ -7,11 +7,13 @@
/// not refer to a library declaration.
/// @description Checks that it is a compile-time error if the URI in an import
/// directive does not denote an existing file.
-/// @compile-error
/// @author msyabro
import "IntentionallyMissingFile.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
var someVar = 0;
diff --git a/Language/Libraries_and_Scripts/Imports/library_name_t02.dart b/Language/Libraries_and_Scripts/Imports/library_name_t02.dart
index aa79e25..1d275a6 100644
--- a/Language/Libraries_and_Scripts/Imports/library_name_t02.dart
+++ b/Language/Libraries_and_Scripts/Imports/library_name_t02.dart
@@ -7,7 +7,6 @@
/// @description Checks that it is not an error or warning when a library
/// directly imports two other libraries (A and B) that have different names and
/// A imports and re-exports a third one (C) that has the same name as B.
-/// @static-clean
/// @author rodionov
diff --git a/Language/Libraries_and_Scripts/Imports/library_name_t03.dart b/Language/Libraries_and_Scripts/Imports/library_name_t03.dart
index 4dc0aeb..122e909 100644
--- a/Language/Libraries_and_Scripts/Imports/library_name_t03.dart
+++ b/Language/Libraries_and_Scripts/Imports/library_name_t03.dart
@@ -6,7 +6,6 @@
/// same name unless their name is the empty string.
/// @description Checks that it is no static warning if two different libraries
/// with empty string as name are imported
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Libraries_and_Scripts/Imports/namespace_changes_t03.dart b/Language/Libraries_and_Scripts/Imports/namespace_changes_t03.dart
index 3dfd24b..6694d24 100644
--- a/Language/Libraries_and_Scripts/Imports/namespace_changes_t03.dart
+++ b/Language/Libraries_and_Scripts/Imports/namespace_changes_t03.dart
@@ -57,11 +57,13 @@
/// @description Checks that names imported into library B (which, in turn, is
/// imported into library A) are not visible in A if B does not explicitly
/// re-export A, with or without the prefix used to import A into B.
-/// @compile-error
/// @author msyabro
import "namespace_changes_lib.dart";
main() {
identical(cFoo, 'C_FOO');
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/namespace_changes_t04.dart b/Language/Libraries_and_Scripts/Imports/namespace_changes_t04.dart
index f878c45..50a5717 100644
--- a/Language/Libraries_and_Scripts/Imports/namespace_changes_t04.dart
+++ b/Language/Libraries_and_Scripts/Imports/namespace_changes_t04.dart
@@ -57,11 +57,13 @@
/// @description Checks that names imported into library B (which, in turn, is
/// imported into library A) are not visible in A if B does not explicitly
/// re-export A, with or without the prefix used to import A into B.
-/// @compile-error
/// @author msyabro
import "namespace_changes_lib.dart";
main() {
P.bFoo;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/namespace_changes_t05.dart b/Language/Libraries_and_Scripts/Imports/namespace_changes_t05.dart
index c783dcf..4ed3630 100644
--- a/Language/Libraries_and_Scripts/Imports/namespace_changes_t05.dart
+++ b/Language/Libraries_and_Scripts/Imports/namespace_changes_t05.dart
@@ -56,11 +56,13 @@
///
/// @description Checks that names imported from library B with prefix P are not
/// available without it.
-/// @compile-error
/// @author msyabro
import "namespace_changes_lib.dart" as P;
main() {
var x = aFoo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/namespace_changes_t07.dart b/Language/Libraries_and_Scripts/Imports/namespace_changes_t07.dart
index 23d0b70..5281201 100644
--- a/Language/Libraries_and_Scripts/Imports/namespace_changes_t07.dart
+++ b/Language/Libraries_and_Scripts/Imports/namespace_changes_t07.dart
@@ -57,7 +57,6 @@
/// @description Checks that imports of an imported library are not accessible
/// with a combination of prefixes used in both import directives. Library being
/// imported does not re-export its own imports by default.
-/// @compile-error
/// @author kaigorodov
@@ -66,5 +65,8 @@
main() {
try {
new PP.P.B.spec().foo();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (x) {}
}
diff --git a/Language/Libraries_and_Scripts/Imports/namespace_changes_t08.dart b/Language/Libraries_and_Scripts/Imports/namespace_changes_t08.dart
index 13d0bf2..662d739 100644
--- a/Language/Libraries_and_Scripts/Imports/namespace_changes_t08.dart
+++ b/Language/Libraries_and_Scripts/Imports/namespace_changes_t08.dart
@@ -57,11 +57,13 @@
/// @description Checks that imports of an imported library are not accessible
/// with a combination of prefixes used in both import directives. Library being
/// imported re-exports its own imports by default.
-/// @compile-error
/// @author kaigorodov
import "namespace_changes_lib_reexport.dart" as PP;
main() {
new PP.P.B.spec().foo();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/namespace_changes_t12.dart b/Language/Libraries_and_Scripts/Imports/namespace_changes_t12.dart
index 83cacde..fd2b169 100644
--- a/Language/Libraries_and_Scripts/Imports/namespace_changes_t12.dart
+++ b/Language/Libraries_and_Scripts/Imports/namespace_changes_t12.dart
@@ -57,11 +57,13 @@
/// @description Checks that names not provided as arguments to a 'show'
/// combinator are undefined even if they are defined in the imported library's
/// export namespace.
-/// @compile-error
/// @author rodionov
import "namespace_changes_lib.dart" show aFoo, A;
main() {
aFunc();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/namespace_changes_t13.dart b/Language/Libraries_and_Scripts/Imports/namespace_changes_t13.dart
index c010ffe..0ab8f44 100644
--- a/Language/Libraries_and_Scripts/Imports/namespace_changes_t13.dart
+++ b/Language/Libraries_and_Scripts/Imports/namespace_changes_t13.dart
@@ -57,11 +57,13 @@
/// @description Checks that names provided as arguments to a 'show' combinator
/// but not declared in the library being imported (or re-exported by it), are
/// undefined.
-/// @compile-error
/// @author rodionov
import "namespace_changes_lib.dart" show aFoo, A, anUndefinedName;
main() {
print(anUndefinedName);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/namespace_changes_t15.dart b/Language/Libraries_and_Scripts/Imports/namespace_changes_t15.dart
index 763c848..026129e 100644
--- a/Language/Libraries_and_Scripts/Imports/namespace_changes_t15.dart
+++ b/Language/Libraries_and_Scripts/Imports/namespace_changes_t15.dart
@@ -57,11 +57,13 @@
/// @description Checks that all specified show and hide combinators are applied
/// and if a name is hidden by any of them, it's undefined in the resulting
/// namespace.
-/// @compile-error
/// @author rodionov
import "namespace_changes_lib.dart" show aFoo, aFunc hide aFunc;
main() {
aFunc();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/namespace_changes_t19.dart b/Language/Libraries_and_Scripts/Imports/namespace_changes_t19.dart
index a59b893..0bbb586 100644
--- a/Language/Libraries_and_Scripts/Imports/namespace_changes_t19.dart
+++ b/Language/Libraries_and_Scripts/Imports/namespace_changes_t19.dart
@@ -56,11 +56,13 @@
///
/// @description Checks that all show/hide combinators used in a chain of
/// re-export are applied.
-/// @compile-error
/// @author rodionov
import "namespace_changes_lib_reexport2_filtered.dart";
main() {
new F();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/namespace_changes_t23.dart b/Language/Libraries_and_Scripts/Imports/namespace_changes_t23.dart
index d714d58..5cfc0fc 100644
--- a/Language/Libraries_and_Scripts/Imports/namespace_changes_t23.dart
+++ b/Language/Libraries_and_Scripts/Imports/namespace_changes_t23.dart
@@ -56,13 +56,19 @@
///
/// @description Checks that it is a compile-time error when prefix value
/// duplicates a top-level declaration in the importing library.
-/// @compile-error
/// @author rodionov
import "syntax_lib.dart" as prefix;
+// ^
+// [cfe] unspecified
class prefix {}
+// ^
+// [analyzer] unspecified
main() {
new prefix();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/namespace_changes_t26.dart b/Language/Libraries_and_Scripts/Imports/namespace_changes_t26.dart
index 618bb96..3bdf2e2 100644
--- a/Language/Libraries_and_Scripts/Imports/namespace_changes_t26.dart
+++ b/Language/Libraries_and_Scripts/Imports/namespace_changes_t26.dart
@@ -56,14 +56,20 @@
///
/// @description Checks that it is a compile-time error when prefix value
/// duplicates a function type alias name.
-/// @compile-error
/// @author rodionov
import "syntax_lib.dart" as prefix;
+// ^
+// [cfe] unspecified
typedef prefix(int);
+// ^
+// [analyzer] unspecified
main() {
(int) {} is prefix;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t01.dart b/Language/Libraries_and_Scripts/Imports/same_name_t01.dart
index e7e3fcc..623cc88 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t01.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t01.dart
@@ -15,13 +15,16 @@
/// imported with empty prefixes introduce the same name to the top level scope
/// of L and L uses it as a type annotation in a variable declaration but does
/// not participate in an implicit subtype test.
-/// @compile-error
/// @author rodionov
import "same_name_t01_p1_lib.dart";
import "same_name_t01_p2_lib.dart";
+//^
+// [cfe] unspecified
main() {
foo? x;
+//^
+// [analyzer] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t02.dart b/Language/Libraries_and_Scripts/Imports/same_name_t02.dart
index 510af00..073b293 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t02.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t02.dart
@@ -14,12 +14,15 @@
/// @description Checks that it is a compile error if two different
/// libraries imported with empty prefixes introduce the same type name to the
/// top-level scope of L and L uses it in an explicit type test.
-/// @compile-error
/// @author rodionov
import "same_name_t01_p1_lib.dart";
import "same_name_t01_p2_lib.dart";
+//^
+// [cfe] unspecified
main() {
1 is foo;
+// ^
+// [analyzer] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t03.dart b/Language/Libraries_and_Scripts/Imports/same_name_t03.dart
index 95a2e21..021f807 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t03.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t03.dart
@@ -14,7 +14,6 @@
/// @description Checks that it is a neither an error nor a warning if two
/// different libraries imported with empty prefixes introduce the same type
/// name to the import namespace of L, but L doesn't reference it.
-/// @static-clean
/// @author rodionov
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t04.dart b/Language/Libraries_and_Scripts/Imports/same_name_t04.dart
index e8e9550..02d1981 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t04.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t04.dart
@@ -14,7 +14,6 @@
/// @description Checks that it is neither error nor warning if a library imports
/// two other libraries exporting the same names, and this names are hidden in
/// one of the import declarations of L (so there's actually no name clash).
-/// @static-clean
/// @author rodionov
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t05.dart b/Language/Libraries_and_Scripts/Imports/same_name_t05.dart
index 9e0a882..ef78234 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t05.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t05.dart
@@ -14,12 +14,15 @@
/// @description Checks that it if N is introduced into L by several imports
/// that denote different declarations and N is referenced as a type, then it is
/// a compile error
-/// @compile-error
/// @author kaigorodov
import "same_name_t01_p1_lib.dart";
import "same_name_t01_p2_lib.dart";
+//^
+// [cfe] unspecified
main() {
1 as foo;
+// ^
+// [analyzer] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t06.dart b/Language/Libraries_and_Scripts/Imports/same_name_t06.dart
index 114f346..88300fb 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t06.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t06.dart
@@ -14,13 +14,16 @@
/// @description Checks that it is a compile error if two different libraries
/// introduce the same name N to the top level scope of L and L uses it as
/// a type parameter bound because N is treated as dynamic.
-/// @compile-error
/// @author kaigorodov
import "same_name_t01_p1_lib.dart";
import "same_name_t01_p2_lib.dart";
+//^
+// [cfe] unspecified
class Foo2<T extends foo> {}
+// ^
+// [analyzer] unspecified
main() {
new Foo2<int>();
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t07.dart b/Language/Libraries_and_Scripts/Imports/same_name_t07.dart
index 51ed4b2..3352fa2 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t07.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t07.dart
@@ -14,14 +14,17 @@
/// @description Checks that it is a compile-time error if two different
/// libraries introduce the same name to the top level scope of L and L uses
/// it as a type name reference in an extends clause.
-/// @compile-error
/// @author rodionov
import "same_name_t01_p1_lib.dart";
import "same_name_t01_p2_lib.dart";
+//^
+// [cfe] unspecified
class Foo2 extends foo {}
+// ^
+// [analyzer] unspecified
main() {
new Foo2();
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t08.dart b/Language/Libraries_and_Scripts/Imports/same_name_t08.dart
index 3ba24db..ffc361e 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t08.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t08.dart
@@ -17,7 +17,6 @@
/// libraries introduce the same name T to the top level scope of L.
/// Checks that a compile error occurs if T is used in new instance creation
/// expression.
-/// @compile-error
/// @author kaigorodov
import "same_name_t01_p1_lib.dart";
@@ -25,4 +24,7 @@
main() {
new foo();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t09.dart b/Language/Libraries_and_Scripts/Imports/same_name_t09.dart
index 14bee30..716d9b8 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t09.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t09.dart
@@ -14,7 +14,6 @@
/// @description Checks that it is a compile error if two different
/// libraries introduce the same type name to the top level scope of L and L
/// uses it in a static getter invocation expression.
-/// @compile-error
/// @author rodionov
import "same_name_t01_p1_lib.dart";
@@ -22,4 +21,7 @@
main() {
Bar.BAR;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t10.dart b/Language/Libraries_and_Scripts/Imports/same_name_t10.dart
index d9da5a1..144d35a 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t10.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t10.dart
@@ -14,7 +14,6 @@
/// @description Checks that it is a compile error if two different libraries
/// introduce the same name to the top level scope of L and L uses it as
/// an identifier reference in a type test expression.
-/// @compile-error
/// @author rodionov
import "same_name_t01_p1_lib.dart";
@@ -22,4 +21,7 @@
main() {
id is Object;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t11.dart b/Language/Libraries_and_Scripts/Imports/same_name_t11.dart
index 08adcfd..d1ae50b 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t11.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t11.dart
@@ -14,13 +14,16 @@
/// @description Checks that it is a compile error if two different libraries
/// imported with empty prefixes introduce the same name (one of them via
/// re-export) to the top level scope of L and L uses it as a type annotation.
-/// @compile-error
/// @author rodionov
import "same_name_t11_p1_lib.dart";
import "same_name_t11_p2_lib.dart";
+//^
+// [cfe] unspecified
main() {
foo? x;
+//^
+// [analyzer] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t12.dart b/Language/Libraries_and_Scripts/Imports/same_name_t12.dart
index 414302c..4d72f5e 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t12.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t12.dart
@@ -15,12 +15,15 @@
/// libraries imported with empty prefixes introduce the same name to the
/// top-level scope of L (one of them via re-export) and L uses it in an
/// explicit type test.
-/// @compile-error
/// @author rodionov
import "same_name_t11_p1_lib.dart";
import "same_name_t11_p2_lib.dart";
+//^
+// [cfe] unspecified
main() {
1 is foo;
+// ^
+// [analyzer] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t13.dart b/Language/Libraries_and_Scripts/Imports/same_name_t13.dart
index 02f0b5a..3f73d96 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t13.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t13.dart
@@ -14,7 +14,6 @@
/// @description Checks that it is neither warning nor error if two different
/// libraries imported with an empty prefix introduce the same name to the import
/// namespace of L (one of them via re-export), but L doesn't reference it.
-/// @static-clean
/// @author rodionov
/// @reviewer kaigorodov
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t14.dart b/Language/Libraries_and_Scripts/Imports/same_name_t14.dart
index 8c9b81b..042909e 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t14.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t14.dart
@@ -16,7 +16,6 @@
/// references that name in an explicit type test and other expressions, but
/// it's hidden in one of the import declarations of L (so there's actually no
/// name clash).
-/// @static-clean
/// @author rodionov
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t15.dart b/Language/Libraries_and_Scripts/Imports/same_name_t15.dart
index 5627e72..8128dd9 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t15.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t15.dart
@@ -14,12 +14,15 @@
/// @description Checks that it is a compile error if two different
/// libraries introduce the same name (one of them via re-export) to the top
/// level scope of L and L uses it in a type cast expression.
-/// @compile-error
/// @author rodionov
import "same_name_t11_p1_lib.dart";
import "same_name_t11_p2_lib.dart";
+//^
+// [cfe] unspecified
main() {
1 as foo;
+// ^
+// [analyzer] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t16.dart b/Language/Libraries_and_Scripts/Imports/same_name_t16.dart
index a35c8ed..fba12b1 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t16.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t16.dart
@@ -14,13 +14,16 @@
/// @description Checks that it is a compile error if two different libraries
/// introduce the same name (one of them via re-export) to the top level scope
/// of L and L uses it as a type parameter.
-/// @compile-error
/// @author rodionov
import "same_name_t11_p1_lib.dart";
import "same_name_t11_p2_lib.dart";
+//^
+// [cfe] unspecified
class Foo2<T extends foo> {}
+// ^
+// [analyzer] unspecified
main() {
new Foo2<int>();
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t17.dart b/Language/Libraries_and_Scripts/Imports/same_name_t17.dart
index 81fce76..ae75fe3 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t17.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t17.dart
@@ -14,13 +14,16 @@
/// @description Checks that it is a compile error if two different libraries
/// introduce the same name (one of them via re-export) to the top level scope
/// of L and L uses it as a type name reference in an extends clause.
-/// @compile-error
/// @author rodionov
import "same_name_t11_p1_lib.dart";
import "same_name_t11_p2_lib.dart";
+//^
+// [cfe] unspecified
class Foo2 extends foo {}
+// ^
+// [analyzer] unspecified
main() {
new Foo2();
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t18.dart b/Language/Libraries_and_Scripts/Imports/same_name_t18.dart
index 407d9c8..b0061a1 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t18.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t18.dart
@@ -14,7 +14,6 @@
/// @description Checks that it is a compile error if two different libraries
/// introduce the same name (one of them via re-export) to the top level scope
/// of L and L uses it in an instance creation expression.
-/// @compile-error
/// @author rodionov
import "same_name_t11_p1_lib.dart";
@@ -22,4 +21,7 @@
main() {
new foo();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t19.dart b/Language/Libraries_and_Scripts/Imports/same_name_t19.dart
index 7b66575..88bb6b5 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t19.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t19.dart
@@ -14,13 +14,16 @@
/// @description Checks that if N is introduced into L by several imports
/// that denote different declarations and N is referenced as a type,
/// then a compile error is issued
-/// @compile-error
/// @author kaigorodov
import "same_name_t11_p1_lib.dart";
import "same_name_t11_p2_lib.dart";
+//^
+// [cfe] unspecified
import "same_name_t11_p2_lib.dart" as P2;
main() {
1 is foo;
+// ^
+// [analyzer] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t20.dart b/Language/Libraries_and_Scripts/Imports/same_name_t20.dart
index f885370..7a6cda1 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t20.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t20.dart
@@ -15,7 +15,6 @@
/// libraries imported with empty prefixes introduce the same name (both via
/// re-export of a third library) to the top level scope of L and L uses it as
/// a type annotation.
-/// @static-clean
/// @author rodionov
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t21.dart b/Language/Libraries_and_Scripts/Imports/same_name_t21.dart
index 152e0ce..3d0a9d2 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t21.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t21.dart
@@ -15,7 +15,6 @@
/// libraries imported with empty prefixes introduce the same name to the
/// top-level scope of L (both via re-export of a third library) and L uses it
/// in an explicit type test.
-/// @static-clean
/// @author rodionov
import "same_name_t20_p1_lib.dart";
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t22.dart b/Language/Libraries_and_Scripts/Imports/same_name_t22.dart
index 0843c69..361b048 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t22.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t22.dart
@@ -15,7 +15,6 @@
/// libraries imported with an empty prefix introduce the same name to the
/// import namespace of L (both via re-export of a third library), but L doesn't
/// reference it.
-/// @static-clean
/// @author rodionov
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t23.dart b/Language/Libraries_and_Scripts/Imports/same_name_t23.dart
index 63f20ee..3bd8248 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t23.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t23.dart
@@ -16,7 +16,6 @@
/// third library), references that name in an explicit type test and other
/// expressions, but it's hidden in one of the import declarations of L (so
/// there's actually no name clash).
-/// @static-clean
/// @author rodionov
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t24.dart b/Language/Libraries_and_Scripts/Imports/same_name_t24.dart
index 5e66b42..beb9a6e 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t24.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t24.dart
@@ -15,7 +15,6 @@
/// libraries introduce the same name (both via re-export of a third library) to
/// the top level scope of L and L uses it as a type annotation in a type cast
/// expression.
-/// @static-clean
/// @author rodionov
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t25.dart b/Language/Libraries_and_Scripts/Imports/same_name_t25.dart
index 71fe4f1..6efa172 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t25.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t25.dart
@@ -14,7 +14,6 @@
/// @description Checks that it is not a static warning or error if two different
/// libraries introduce the same name (both via re-export of a third library)
/// to the top level scope of L and L uses it as a type parameter bound.
-/// @static-clean
/// @author rodionov
import "same_name_t20_p1_lib.dart";
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t26.dart b/Language/Libraries_and_Scripts/Imports/same_name_t26.dart
index cfd4ee7..c4e6d6e 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t26.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t26.dart
@@ -15,7 +15,6 @@
/// libraries introduce the same name (both via re-export of a third library) to
/// the top level scope of L and L uses it as a type name reference in an extends
/// clause.
-/// @static-clean
/// @author rodionov
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t27.dart b/Language/Libraries_and_Scripts/Imports/same_name_t27.dart
index e1de6ac..0c5d3ff 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t27.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t27.dart
@@ -14,7 +14,6 @@
/// @description Checks that it is not a static warning or error if two different
/// libraries introduce the same name (one of them via re-export) to the top
/// level scope of L and L uses it in an instance creation expression.
-/// @static-clean
/// @author rodionov
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t28.dart b/Language/Libraries_and_Scripts/Imports/same_name_t28.dart
index fdf522c..7a0866a 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t28.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t28.dart
@@ -15,7 +15,6 @@
/// libraries introduce the same type name (both via re-export of a third
/// library) to the top level scope of L and L uses it in a static getter
/// invocation expression.
-/// @static-clean
/// @author rodionov
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t29.dart b/Language/Libraries_and_Scripts/Imports/same_name_t29.dart
index 9c29be6..8bb94af 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t29.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t29.dart
@@ -15,7 +15,6 @@
/// libraries introduce the same name to the top level scope of L (both via
/// re-export of a third library) and L uses it as an identifier reference in a
/// type test expression.
-/// @static-clean
/// @author rodionov
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t30.dart b/Language/Libraries_and_Scripts/Imports/same_name_t30.dart
index cfe5409..f8dbcea 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t30.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t30.dart
@@ -15,7 +15,6 @@
/// library is imported twice with empty prefixes and introduces a name to the
/// top level scope of L, which L uses as a type annotation in a variable
/// declaration.
-/// @static-clean
/// @author rodionov
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t31.dart b/Language/Libraries_and_Scripts/Imports/same_name_t31.dart
index 7013fe7..c4fee19 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t31.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t31.dart
@@ -14,7 +14,6 @@
/// @description Checks that it is not a static warning or error if the same
/// library is imported twice with empty prefixes and introduces a type name to
/// the top-level scope of L, which L uses in an explicit type test.
-/// @static-clean
/// @author rodionov
import "same_name_t30_lib.dart";
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t32.dart b/Language/Libraries_and_Scripts/Imports/same_name_t32.dart
index 54a6649..397f2bd 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t32.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t32.dart
@@ -14,7 +14,6 @@
/// @description Checks that it is not a static warning or error if the same
/// library is imported twice with empty prefixes and introduces a type name to
/// the top-level scope of L, but L doesn't reference it.
-/// @static-clean
/// @author rodionov
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t33.dart b/Language/Libraries_and_Scripts/Imports/same_name_t33.dart
index e389322..29c6522 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t33.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t33.dart
@@ -14,7 +14,6 @@
/// @description Checks that it is not a static warning or error if the same
/// library is imported twice (one of the imports using a prefix) and uses the
/// names exported by that library in all kinds of valid expressions.
-/// @static-clean
/// @author rodionov
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t34.dart b/Language/Libraries_and_Scripts/Imports/same_name_t34.dart
index 11f481d..5875654 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t34.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t34.dart
@@ -15,7 +15,6 @@
/// library is imported twice with empty prefixes and introduces a type name to
/// the top-level scope of L, which L uses as a type annotation in a type cast
/// expression.
-/// @static-clean
/// @author rodionov
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t35.dart b/Language/Libraries_and_Scripts/Imports/same_name_t35.dart
index 446d91d..6807162 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t35.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t35.dart
@@ -15,7 +15,6 @@
/// library is imported twice with empty prefixes and introduces a type name to
/// the top-level scope of L, which L uses as a type parameter bound (which is
/// a type annotation).
-/// @static-clean
/// @author rodionov
import "same_name_t30_lib.dart";
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t36.dart b/Language/Libraries_and_Scripts/Imports/same_name_t36.dart
index 78f57b8..fe55e9e 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t36.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t36.dart
@@ -15,7 +15,6 @@
/// library is imported twice with empty prefixes and introduces a name to the
/// top level scope of L, which L uses as a type name reference in an extends
/// clause.
-/// @static-clean
/// @author rodionov
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t37.dart b/Language/Libraries_and_Scripts/Imports/same_name_t37.dart
index c15a68b..ce89295 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t37.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t37.dart
@@ -15,7 +15,6 @@
/// library is imported twice with empty prefixes and introduces a name to the
/// top level scope of L, which L uses as a type name reference in an instance
/// creation expression.
-/// @static-clean
/// @author rodionov
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t38.dart b/Language/Libraries_and_Scripts/Imports/same_name_t38.dart
index 4d14cb0..4d09d26 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t38.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t38.dart
@@ -14,7 +14,6 @@
/// @description Checks that it is not a static warning or error if the same
/// library is imported twice with empty prefixes and introduces a name to the
/// top level scope of L, which L uses in a static getter invocation expression.
-/// @static-clean
/// @author rodionov
diff --git a/Language/Libraries_and_Scripts/Imports/same_name_t39.dart b/Language/Libraries_and_Scripts/Imports/same_name_t39.dart
index 1fd1c23..6e0c482 100644
--- a/Language/Libraries_and_Scripts/Imports/same_name_t39.dart
+++ b/Language/Libraries_and_Scripts/Imports/same_name_t39.dart
@@ -15,7 +15,6 @@
/// library is imported twice with empty prefixes and introduces a name to the
/// top level scope of L, which L uses as an identifier reference in a type test
/// expression.
-/// @static-clean
/// @author rodionov
diff --git a/Language/Libraries_and_Scripts/Imports/static_type_t01.dart b/Language/Libraries_and_Scripts/Imports/static_type_t01.dart
index 5edb954..9416cae 100644
--- a/Language/Libraries_and_Scripts/Imports/static_type_t01.dart
+++ b/Language/Libraries_and_Scripts/Imports/static_type_t01.dart
@@ -7,7 +7,6 @@
/// @description Check that prefix p contains all functions, getters, setters and
/// declaration defined in the library and loadLibrary() method. So call of these
/// methods should not produce static warnings. Test deferred import
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Libraries_and_Scripts/Imports/static_type_t02.dart b/Language/Libraries_and_Scripts/Imports/static_type_t02.dart
index 3d78e22..374599d 100644
--- a/Language/Libraries_and_Scripts/Imports/static_type_t02.dart
+++ b/Language/Libraries_and_Scripts/Imports/static_type_t02.dart
@@ -7,7 +7,6 @@
/// @description Check that prefix p contains all functions, getters, setters and
/// declaration defined in the library and loadLibrary() method. So call of these
/// methods should not produce static warnings. Test immediate import
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t01.dart b/Language/Libraries_and_Scripts/Imports/syntax_t01.dart
index 851fc4a..5c1ba11 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t01.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t01.dart
@@ -20,11 +20,13 @@
/// ;
/// @description Checks that it is a compile-time error when an import
/// directive starts with '#' symbol.
-/// @compile-error
/// @author vasya
#import "syntax_lib.dart";
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t02.dart b/Language/Libraries_and_Scripts/Imports/syntax_t02.dart
index ef63458..7eb16a5 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t02.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t02.dart
@@ -20,12 +20,17 @@
/// ;
/// @description Checks that it is a compile-time error when the URI in an
/// import directive is enclosed in parentheses.
-/// @compile-error
/// @author vasya
import("syntax_lib.dart");
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t03.dart b/Language/Libraries_and_Scripts/Imports/syntax_t03.dart
index 40cc549..0f80486 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t03.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t03.dart
@@ -20,12 +20,17 @@
/// ;
/// @description Checks that it is a compile-time error when the URI is not
/// enclosed in quotes.
-/// @compile-error
/// @author vasya
import syntax_lib.dart;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t04.dart b/Language/Libraries_and_Scripts/Imports/syntax_t04.dart
index 0282c68..428a34c 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t04.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t04.dart
@@ -20,12 +20,17 @@
/// ;
/// @description Checks that it is a compile-time error when the URI is not
/// enclosed in quotes.
-/// @compile-error
/// @author msyabro
import syntax_lib.dart as prfx;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t05.dart b/Language/Libraries_and_Scripts/Imports/syntax_t05.dart
index 672195b..deae7b3 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t05.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t05.dart
@@ -20,11 +20,13 @@
/// ;
/// @description Checks that it is a compile-time error when an import directive
/// does not end with semicolon.
-/// @compile-error
/// @author vasya
import "syntax_lib.dart"
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t06.dart b/Language/Libraries_and_Scripts/Imports/syntax_t06.dart
index 8cf4fdb..c972f94 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t06.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t06.dart
@@ -20,12 +20,17 @@
/// ;
/// @description Checks that it is a compile-time error when there's no
/// identifier after the 'as' keyword.
-/// @compile-error
/// @author vasya
import "syntax_lib.dart" as;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t07.dart b/Language/Libraries_and_Scripts/Imports/syntax_t07.dart
index 6a6cec4..03821da 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t07.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t07.dart
@@ -20,12 +20,17 @@
/// ;
/// @description Checks that it is a compile-time error when there's an invalid
/// identifier after the 'as' keyword.
-/// @compile-error
/// @author rodionov
import "syntax_lib.dart" as id.entifier;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t08.dart b/Language/Libraries_and_Scripts/Imports/syntax_t08.dart
index a6c0bae..b174e00 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t08.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t08.dart
@@ -20,12 +20,17 @@
/// ;
/// @description Checks that it is a compile-time error when there's an invalid
/// identifier after the 'as' keyword.
-/// @compile-error
/// @author rodionov
import "syntax_lib.dart" as 28digits;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t09.dart b/Language/Libraries_and_Scripts/Imports/syntax_t09.dart
index 5318f50..f32c96f 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t09.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t09.dart
@@ -20,12 +20,17 @@
/// ;
/// @description Checks that it is a compile-time error if the identifier after
/// 'as' keyword is enclosed in quotes.
-/// @compile-error
/// @author vasya
import "syntax_lib.dart" as "lib";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t10.dart b/Language/Libraries_and_Scripts/Imports/syntax_t10.dart
index 4cd5076..baa26c3 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t10.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t10.dart
@@ -20,12 +20,17 @@
/// ;
/// @description Checks that it is a compile-time error if the identifier after
/// 'as' keyword is enclosed in single quotes.
-/// @compile-error
/// @author vasya
import "syntax_lib.dart" as 'lib';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t11.dart b/Language/Libraries_and_Scripts/Imports/syntax_t11.dart
index 001ccaa..2fc2924 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t11.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t11.dart
@@ -20,11 +20,13 @@
/// ;
/// @description Checks that it is a compile-time error when the URI of the
/// library being imported is missing entirely.
-/// @compile-error
/// @author vasya
import as lib;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
var someVar = 0;
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t12.dart b/Language/Libraries_and_Scripts/Imports/syntax_t12.dart
index 2feed27..55b6977 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t12.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t12.dart
@@ -20,12 +20,14 @@
/// ;
/// @description Checks that it is a compile-time error when the 'as' keyword is
/// missing in the import directive while the subsequent identifier isn't.
-/// @compile-error
/// @author msyabro
/// @reviewer rodionov
import "syntax_lib.dart" lib;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t13.dart b/Language/Libraries_and_Scripts/Imports/syntax_t13.dart
index 59884d9..ac5337f 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t13.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t13.dart
@@ -20,11 +20,13 @@
/// ;
/// @description Checks that it is a compile-time error when there is an additive
/// expression in place of the URI.
-/// @compile-error
/// @author msyabro
import 7 + 7;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
var someVar = 0;
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t14.dart b/Language/Libraries_and_Scripts/Imports/syntax_t14.dart
index 162919f..7af2cd1 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t14.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t14.dart
@@ -20,12 +20,17 @@
/// ;
/// @description Checks that it is a compile-time error when there is an additive
/// expression in place of the identifier (prefix).
-/// @compile-error
/// @author msyabro
import "syntax_lib.dart" as 2+2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t16.dart b/Language/Libraries_and_Scripts/Imports/syntax_t16.dart
index 3d354be..b9f8474 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t16.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t16.dart
@@ -20,12 +20,17 @@
/// ;
/// @description Checks that it is a compile-time error when there're two
/// 'as' clauses in an import directive.
-/// @compile-error
/// @author rodionov
import 'syntax_lib.dart' as lib1 as lib2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t17.dart b/Language/Libraries_and_Scripts/Imports/syntax_t17.dart
index 9b63439..9a0e313 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t17.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t17.dart
@@ -20,11 +20,13 @@
/// ;
/// @description Checks that it is a compile-time error if the URI is an invalid
/// string literal
-/// @compile-error
/// @author msyabro
import '1_Imports'_lib.dart';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
var someVar = 0;
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t18.dart b/Language/Libraries_and_Scripts/Imports/syntax_t18.dart
index 9d7f0b5..7a0e931 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t18.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t18.dart
@@ -20,11 +20,13 @@
/// ;
/// @description Checks that it is a compile-time error when an import directive
/// is followed immediately by a semicolon;
-/// @compile-error
/// @author msyabro
import;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
var someVar = 0;
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t19.dart b/Language/Libraries_and_Scripts/Imports/syntax_t19.dart
index 77cf524..75ffd77 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t19.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t19.dart
@@ -20,12 +20,17 @@
/// ;
/// @description Checks that it is a compile-time error when the parts of an
/// import directive are specified in the wrong order.
-/// @compile-error
/// @author rodionov
import "syntax_lib.dart" show foo as prfx;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t20.dart b/Language/Libraries_and_Scripts/Imports/syntax_t20.dart
index be5bdf0..51ed1f9 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t20.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t20.dart
@@ -20,11 +20,13 @@
/// ;
/// @description Checks that it is a compile-time error if the URI is missing
/// in an import directive.
-/// @compile-error
/// @author rodionov
import as lib show foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
var someVar = 0;
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t21.dart b/Language/Libraries_and_Scripts/Imports/syntax_t21.dart
index d20eb1f..33b176a 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t21.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t21.dart
@@ -20,13 +20,18 @@
/// ;
/// @description Checks that it is a compile-time error if the parts of an import
/// directive are specified in the wrong order.
-/// @compile-error
/// @author rodionov
/// @reviewer kaigorodov
import show foo hide someVar "syntax_lib.dart" as prfx;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t22.dart b/Language/Libraries_and_Scripts/Imports/syntax_t22.dart
index 3b871ee..05c2700 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t22.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t22.dart
@@ -20,13 +20,17 @@
/// ;
/// @description Checks that it is a compile-time error if the parts of an import
/// directive are separated by commas.
-/// @compile-error
/// @author rodionov
/// @reviewer kaigorodov
import "syntax_lib.dart", as prfx, show foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
+//^
+// [analyzer] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t23.dart b/Language/Libraries_and_Scripts/Imports/syntax_t23.dart
index b9d5f04..bb0a940 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t23.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t23.dart
@@ -20,11 +20,13 @@
/// ;
/// @description Checks that it is a compile-time error if the value of a
/// show/hide combinator is a list literal.
-/// @compile-error
/// @author rodionov
import "syntax_lib.dart" as prfx show [foo, someVar];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t24.dart b/Language/Libraries_and_Scripts/Imports/syntax_t24.dart
index 1f35688..52ffb72 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t24.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t24.dart
@@ -20,11 +20,13 @@
/// ;
/// @description Checks that it is a compile-time error if the value of a
/// show/hide combinator is a list literal.
-/// @compile-error
/// @author rodionov
import "syntax_lib.dart" hide [foo, someVar];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t27.dart b/Language/Libraries_and_Scripts/Imports/syntax_t27.dart
index 8d5c1e3..ea1c1ed 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t27.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t27.dart
@@ -20,12 +20,17 @@
/// ;
/// @description Checks that it is a compile-time error when there's an ampersand
/// character in an import directive.
-/// @compile-error
/// @author rodionov
import "syntax_lib.dart" as lib & export;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t28.dart b/Language/Libraries_and_Scripts/Imports/syntax_t28.dart
index 9fe7235..eaf334a 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t28.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t28.dart
@@ -20,12 +20,17 @@
/// ;
/// @description Checks that it is a compile-time error when there's an ampersand
/// character in an import directive.
-/// @compile-error
/// @author rodionov
import "syntax_lib.dart" as lib & "export I guess";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t29.dart b/Language/Libraries_and_Scripts/Imports/syntax_t29.dart
index 83cb4cb..a6e172e 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t29.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t29.dart
@@ -20,12 +20,17 @@
/// ;
/// @description Checks that it is a compile-time error when the arguments of a
/// show/hide combinator include an invalid identifier.
-/// @compile-error
/// @author rodionov
import "syntax_lib.dart" show fo.o;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t30.dart b/Language/Libraries_and_Scripts/Imports/syntax_t30.dart
index 4ac519e..653850a 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t30.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t30.dart
@@ -20,12 +20,16 @@
/// ;
/// @description Checks that it is a compile-time error when the arguments of a
/// show/hide combinator include an invalid identifier.
-/// @compile-error
/// @author rodionov
import "syntax_lib.dart" show foo, 8ar;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
+//^
+// [analyzer] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t31.dart b/Language/Libraries_and_Scripts/Imports/syntax_t31.dart
index c1867a8..0f12042 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t31.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t31.dart
@@ -20,11 +20,13 @@
/// ;
/// @description Checks that it is a compile-time error when the arguments of a
/// show/hide combinator include an invalid identifier.
-/// @compile-error
/// @author rodionov
import "syntax_lib.dart" hide foo, 8ar;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t32.dart b/Language/Libraries_and_Scripts/Imports/syntax_t32.dart
index b46c87d..07a170a 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t32.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t32.dart
@@ -20,11 +20,13 @@
/// ;
/// @description Checks that it is a compile-time error when the arguments of a
/// show/hide combinator include an invalid identifier.
-/// @compile-error
/// @author rodionov
import "syntax_lib.dart" hide foo, фу;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t33.dart b/Language/Libraries_and_Scripts/Imports/syntax_t33.dart
index 11520a8..a33b11c 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t33.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t33.dart
@@ -20,11 +20,13 @@
/// ;
/// @description Checks that it is a compile-time error when the arguments of a
/// show/hide combinator include a string literal.
-/// @compile-error
/// @author rodionov
import "syntax_lib.dart" hide foo, "someVar";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t34.dart b/Language/Libraries_and_Scripts/Imports/syntax_t34.dart
index e49ead4..2828e7f 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t34.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t34.dart
@@ -20,12 +20,16 @@
/// ;
/// @description Checks that it is a compile-time error when the arguments of a
/// show/hide combinator include a string literal.
-/// @compile-error
/// @author rodionov
import "syntax_lib.dart" show foo, "someVar";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
someVar = 0;
+//^
+// [analyzer] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t39.dart b/Language/Libraries_and_Scripts/Imports/syntax_t39.dart
index e75901d..5a482c5 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t39.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t39.dart
@@ -20,12 +20,16 @@
/// ;
/// @description Checks that it is a compile-time error if there're no
/// identifiers following a show combinator in an import declaration.
-/// @compile-error
/// @author rodionov
import "syntax_lib.dart" show;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
var x = foo;
+// ^
+// [analyzer] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t40.dart b/Language/Libraries_and_Scripts/Imports/syntax_t40.dart
index 20421e5..090d99f 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t40.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t40.dart
@@ -20,11 +20,13 @@
/// ;
/// @description Checks that it is a compile-time error if there're no
/// identifiers following a hide combinator in an import declaration.
-/// @compile-error
/// @author rodionov
import "syntax_lib.dart" hide;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
var x = foo;
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t41.dart b/Language/Libraries_and_Scripts/Imports/syntax_t41.dart
index 4af7ec0..0db073c 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t41.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t41.dart
@@ -20,11 +20,13 @@
/// ;
/// @description Checks that it is a compile-time error if there is no as clause
/// in a deferred import declaration.
-/// @compile-error
/// @author ngl@unipro.ru
import "syntax_lib.dart" deferred;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
var x = foo;
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t42.dart b/Language/Libraries_and_Scripts/Imports/syntax_t42.dart
index 8f2c17c..d391bba 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t42.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t42.dart
@@ -20,12 +20,17 @@
/// ;
/// @description Checks that it is a compile-time error if there're no an
/// identifier in as clause of a deferred import declaration.
-/// @compile-error
/// @author ngl@unipro.ru
import "syntax_lib.dart" deferred as;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
var x = foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t43.dart b/Language/Libraries_and_Scripts/Imports/syntax_t43.dart
index 36b9bd5..d01a6de 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t43.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t43.dart
@@ -20,11 +20,13 @@
/// ;
/// @description Checks that it is a compile-time error if as clause precedes
/// deferred clause in a deferred import declaration.
-/// @compile-error
/// @author ngl@unipro.ru
import "syntax_lib.dart" as p deferred;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
var x = p.foo;
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t44.dart b/Language/Libraries_and_Scripts/Imports/syntax_t44.dart
index 7111179..aec3d7d 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t44.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t44.dart
@@ -21,11 +21,13 @@
/// @description Checks that it is not an error if the arguments of show/hide
/// combinators include identifiers named 'hide' and 'show' and that filtering
/// of the imported names is done correctly.
-/// @compile-error
/// @author rodionov
import "syntax_lib.dart" show hide hide show;
main() {
print(show); // compile error, because show is hidden
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Imports/syntax_t45.dart b/Language/Libraries_and_Scripts/Imports/syntax_t45.dart
index 8acc341..982d088 100644
--- a/Language/Libraries_and_Scripts/Imports/syntax_t45.dart
+++ b/Language/Libraries_and_Scripts/Imports/syntax_t45.dart
@@ -21,11 +21,13 @@
/// @description Checks that it is not an error if the arguments of show/hide
/// combinators include identifiers named 'hide' and 'show' and that filtering
/// of the imported names is done correctly.
-/// @compile-error
/// @author rodionov
import "syntax_lib.dart" show hide hide show;
main() {
print(foo); // foo is not defined, expecting compile error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Parts/compilation_t01.dart b/Language/Libraries_and_Scripts/Parts/compilation_t01.dart
index 4a33c12..0e31f56 100644
--- a/Language/Libraries_and_Scripts/Parts/compilation_t01.dart
+++ b/Language/Libraries_and_Scripts/Parts/compilation_t01.dart
@@ -9,9 +9,8 @@
/// contents of the URI are not a valid part declaration.
/// @description Checks that it is a compile-time error when names in the
/// included file conflict with top-level definitions in this library.
-/// @compile-error
/// @author rodionov
-
+/// @issue 44990
library Parts_test_lib;
part "part_0.dart";
@@ -20,4 +19,6 @@
main() {
foo = 1;
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Parts/compilation_t02.dart b/Language/Libraries_and_Scripts/Parts/compilation_t02.dart
index d968603..457108e 100644
--- a/Language/Libraries_and_Scripts/Parts/compilation_t02.dart
+++ b/Language/Libraries_and_Scripts/Parts/compilation_t02.dart
@@ -9,7 +9,6 @@
/// part are available without errors.
/// @description Checks that it is a compile-time error if there're two part
/// directives referencing the same URI.
-/// @compile-error
/// @author rodionov
/// @reviewer kaigorodov
@@ -17,6 +16,8 @@
library Parts_test_lib;
part "part_0.dart";
part "part_0.dart";
+// ^
+// [analyzer] unspecified
main() {
foo is int;
diff --git a/Language/Libraries_and_Scripts/Parts/compilation_t06.dart b/Language/Libraries_and_Scripts/Parts/compilation_t06.dart
index 0aa3a91..052ae9d 100644
--- a/Language/Libraries_and_Scripts/Parts/compilation_t06.dart
+++ b/Language/Libraries_and_Scripts/Parts/compilation_t06.dart
@@ -10,9 +10,8 @@
/// @description Checks that it is a compile-time error if the contents of
/// the URI are not a valid part declaration (syntax error in a top-level
/// declaration).
-/// @compile-error
/// @author rodionov
-
+/// @issue 44990
library Parts_test_lib;
part "part_8.dart";
diff --git a/Language/Libraries_and_Scripts/Parts/compilation_t07.dart b/Language/Libraries_and_Scripts/Parts/compilation_t07.dart
index a2d3172..e090c52 100644
--- a/Language/Libraries_and_Scripts/Parts/compilation_t07.dart
+++ b/Language/Libraries_and_Scripts/Parts/compilation_t07.dart
@@ -9,13 +9,17 @@
/// contents of the URI are not a valid part declaration.
/// @description Checks that it is a compile-time error when the included
/// compilation unit contains a library definition instead of a part declaration.
-/// @compile-error
/// @author rodionov
library Parts_test_lib;
part "part_9_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
var x = foo;
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Parts/compilation_t08.dart b/Language/Libraries_and_Scripts/Parts/compilation_t08.dart
index ff2bb30..92d7902 100644
--- a/Language/Libraries_and_Scripts/Parts/compilation_t08.dart
+++ b/Language/Libraries_and_Scripts/Parts/compilation_t08.dart
@@ -9,9 +9,8 @@
/// contents of the URI are not a valid part declaration.
/// @description Checks that it is a compile-time error when the included
/// compilation unit contains another part directive.
-/// @compile-error
/// @author rodionov
-
+/// @issue 44990
library Parts_test_lib;
part "part_1.dart";
diff --git a/Language/Libraries_and_Scripts/Parts/compilation_t09.dart b/Language/Libraries_and_Scripts/Parts/compilation_t09.dart
index 8ee6431..dbab6b2 100644
--- a/Language/Libraries_and_Scripts/Parts/compilation_t09.dart
+++ b/Language/Libraries_and_Scripts/Parts/compilation_t09.dart
@@ -10,12 +10,13 @@
/// @description Checks that it is a compile-time error when this library
/// references itself in a part directive (and doesn't contain a part
/// declaration).
-/// @compile-error
/// @author rodionov
library Parts_test_lib;
part "compilation_t09.dart";
+// ^
+// [analyzer] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/Parts/compilation_t10.dart b/Language/Libraries_and_Scripts/Parts/compilation_t10.dart
index ce3f1d1..16f037f 100644
--- a/Language/Libraries_and_Scripts/Parts/compilation_t10.dart
+++ b/Language/Libraries_and_Scripts/Parts/compilation_t10.dart
@@ -1,4 +1,6 @@
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+//^
+// [cfe] unspecified
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -9,12 +11,13 @@
/// contents of the URI are not a valid part declaration.
/// @description Checks that it is a compile-time error when this library
/// references itself in a part directive (and contains a part declaration).
-/// @compile-error
/// @author rodionov
library Parts_test_lib;
part of Parts_test_lib;
+//^
+// [analyzer] unspecified
part "part_3.dart";
main() {
diff --git a/Language/Libraries_and_Scripts/Parts/compilation_t11.dart b/Language/Libraries_and_Scripts/Parts/compilation_t11.dart
index dcbd5cc..f9329d4 100644
--- a/Language/Libraries_and_Scripts/Parts/compilation_t11.dart
+++ b/Language/Libraries_and_Scripts/Parts/compilation_t11.dart
@@ -9,11 +9,13 @@
/// contents of the URI are not a valid part declaration.
/// @description Checks that it is a compile-time error when the included part
/// unit contains an import declaration.
-/// @compile-error
/// @author rodionov
-
+/// @issue 44990
part "part_9.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/Parts/compilation_t12.dart b/Language/Libraries_and_Scripts/Parts/compilation_t12.dart
index ee3ba7e..dba2ee6 100644
--- a/Language/Libraries_and_Scripts/Parts/compilation_t12.dart
+++ b/Language/Libraries_and_Scripts/Parts/compilation_t12.dart
@@ -9,9 +9,8 @@
/// contents of the URI are not a valid part declaration.
/// @description Checks that it is a compile-time error if the contents of the
/// URI are not a valid part declaration (missing semicolon in the part header).
-/// @compile-error
/// @author rodionov
-
+/// @issue 44990
library Parts_test_lib;
part "part_4.dart";
diff --git a/Language/Libraries_and_Scripts/Parts/compilation_t13.dart b/Language/Libraries_and_Scripts/Parts/compilation_t13.dart
index 68d520a..c069909 100644
--- a/Language/Libraries_and_Scripts/Parts/compilation_t13.dart
+++ b/Language/Libraries_and_Scripts/Parts/compilation_t13.dart
@@ -9,8 +9,8 @@
/// contents of the URI are not a valid part declaration.
/// @description Checks that it is a compile-time error if the included part
/// contains a statement where a top-level definition is expected.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
library Parts_test_lib;
part "part_6.dart";
diff --git a/Language/Libraries_and_Scripts/Parts/compilation_t14.dart b/Language/Libraries_and_Scripts/Parts/compilation_t14.dart
index 8aa0e08..eafbd02 100644
--- a/Language/Libraries_and_Scripts/Parts/compilation_t14.dart
+++ b/Language/Libraries_and_Scripts/Parts/compilation_t14.dart
@@ -9,9 +9,8 @@
/// contents of the URI are not a valid part declaration.
/// @description Checks that it is a compile-time error if the included part
/// contains an expression where a top-level definition is expected.
-/// @compile-error
/// @author rodionov
-
+/// @issue 44990
library Parts_test_lib;
part "part_7.dart";
diff --git a/Language/Libraries_and_Scripts/Parts/part_0.dart b/Language/Libraries_and_Scripts/Parts/part_0.dart
index 8e46afb..f1d31a0 100644
--- a/Language/Libraries_and_Scripts/Parts/part_0.dart
+++ b/Language/Libraries_and_Scripts/Parts/part_0.dart
@@ -10,4 +10,7 @@
}
final foo = "foo";
+// ^^^
+// [analyzer] unspecified
+// [cfe] unspecified
var bar = 1;
diff --git a/Language/Libraries_and_Scripts/Parts/part_1.dart b/Language/Libraries_and_Scripts/Parts/part_1.dart
index 5e98e69..93aa9d9 100644
--- a/Language/Libraries_and_Scripts/Parts/part_1.dart
+++ b/Language/Libraries_and_Scripts/Parts/part_1.dart
@@ -3,7 +3,10 @@
// BSD-style license that can be found in the LICENSE file.
part of Parts_test_lib;
-part "part_11.dart";
+ part "part_11.dart";
+//^^^^^^^^^^^^^^^^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
class A { }
diff --git a/Language/Libraries_and_Scripts/Parts/part_10.dart b/Language/Libraries_and_Scripts/Parts/part_10.dart
index c227d98..b0f62d2 100644
--- a/Language/Libraries_and_Scripts/Parts/part_10.dart
+++ b/Language/Libraries_and_Scripts/Parts/part_10.dart
@@ -3,4 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
part of Parts_test_lib.id;
-import 'part_9_lib.dart';
+ import 'part_9_lib.dart';
+//^^^^^^^^^^^^^^^^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Libraries_and_Scripts/Parts/part_4.dart b/Language/Libraries_and_Scripts/Parts/part_4.dart
index 6cbccd5..e60a25a 100644
--- a/Language/Libraries_and_Scripts/Parts/part_4.dart
+++ b/Language/Libraries_and_Scripts/Parts/part_4.dart
@@ -3,6 +3,9 @@
// BSD-style license that can be found in the LICENSE file.
part of Parts_test_lib
+// ^^^^^^^^^^^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
get value { return _value; }
set value(value) { _value = value; }
diff --git a/Language/Libraries_and_Scripts/Parts/part_6.dart b/Language/Libraries_and_Scripts/Parts/part_6.dart
index 739f90b..e9aecf5 100644
--- a/Language/Libraries_and_Scripts/Parts/part_6.dart
+++ b/Language/Libraries_and_Scripts/Parts/part_6.dart
@@ -5,6 +5,9 @@
part of Parts_test_lib;
var foo;
-if (foo == null) {
- foo = -1;
-}
+ if (foo == null) {
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
+ foo = -1;
+ }
diff --git a/Language/Libraries_and_Scripts/Parts/part_7.dart b/Language/Libraries_and_Scripts/Parts/part_7.dart
index 929c71f..6adad57 100644
--- a/Language/Libraries_and_Scripts/Parts/part_7.dart
+++ b/Language/Libraries_and_Scripts/Parts/part_7.dart
@@ -10,4 +10,7 @@
set value(value) { _value = value; }
var _value;
-12 //error
+ 12
+//^^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Libraries_and_Scripts/Parts/part_8.dart b/Language/Libraries_and_Scripts/Parts/part_8.dart
index b9e884a..ab2deb8 100644
--- a/Language/Libraries_and_Scripts/Parts/part_8.dart
+++ b/Language/Libraries_and_Scripts/Parts/part_8.dart
@@ -4,4 +4,7 @@
part of Parts_test_lib;
-static final foo = "FOO"; // error
+ static final foo = "FOO";
+//^^^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Libraries_and_Scripts/Parts/part_9.dart b/Language/Libraries_and_Scripts/Parts/part_9.dart
index ab72a69..c9ad96c 100644
--- a/Language/Libraries_and_Scripts/Parts/part_9.dart
+++ b/Language/Libraries_and_Scripts/Parts/part_9.dart
@@ -2,5 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-part of Parts_test_lib;
-import 'part_9_lib.dart';
+ part of Parts_test_lib;
+ import 'part_9_lib.dart';
+//^^^^^^^^^^^^^^^^^^^^^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Libraries_and_Scripts/Parts/static_warning_t01.dart b/Language/Libraries_and_Scripts/Parts/static_warning_t01.dart
index 2dc2238..0ca7f9e 100644
--- a/Language/Libraries_and_Scripts/Parts/static_warning_t01.dart
+++ b/Language/Libraries_and_Scripts/Parts/static_warning_t01.dart
@@ -6,12 +6,16 @@
/// a library other than the current library as the library to which p belongs.
/// @description Checks that it is a compile error if the referenced part names
/// another library.
-/// @compile-error
/// @author rodionov
library Parts_test_lib_not;
part "part_3.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
A();
+//^
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Parts/syntax_t01.dart b/Language/Libraries_and_Scripts/Parts/syntax_t01.dart
index 60ebcff..07f8707 100644
--- a/Language/Libraries_and_Scripts/Parts/syntax_t01.dart
+++ b/Language/Libraries_and_Scripts/Parts/syntax_t01.dart
@@ -20,9 +20,8 @@
/// part belongs to. A part declaration consists of a part header followed by a
/// sequence of top-level declarations.
/// @description Checks that part unit can not contain an import directive.
-/// @compile-error
/// @author kaigorodov
-
+/// @issue 44990
library Parts_test_lib.id;
part "part_10.dart";
diff --git a/Language/Libraries_and_Scripts/Parts/syntax_t02.dart b/Language/Libraries_and_Scripts/Parts/syntax_t02.dart
index 91d3c6b..8284a62 100644
--- a/Language/Libraries_and_Scripts/Parts/syntax_t02.dart
+++ b/Language/Libraries_and_Scripts/Parts/syntax_t02.dart
@@ -20,12 +20,14 @@
/// part belongs to. A part declaration consists of a part header followed by a
/// sequence of top-level declarations.
/// @description Checks that part directive must end with a semicolon.
-/// @compile-error
/// @author rodionov
library Parts_test_lib;
part "part_0.dart"
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/Parts/syntax_t03.dart b/Language/Libraries_and_Scripts/Parts/syntax_t03.dart
index bb1b7b3..492a5eb 100644
--- a/Language/Libraries_and_Scripts/Parts/syntax_t03.dart
+++ b/Language/Libraries_and_Scripts/Parts/syntax_t03.dart
@@ -21,12 +21,14 @@
/// sequence of top-level declarations.
/// @description Checks that it is a compile-time error when the part's URI is
/// not enclosed in quotes.
-/// @compile-error
/// @author rodionov
library Parts_test_lib;
part part_3.dart
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/Parts/syntax_t04.dart b/Language/Libraries_and_Scripts/Parts/syntax_t04.dart
index dc6fc50..6c36e87 100644
--- a/Language/Libraries_and_Scripts/Parts/syntax_t04.dart
+++ b/Language/Libraries_and_Scripts/Parts/syntax_t04.dart
@@ -21,12 +21,14 @@
/// sequence of top-level declarations.
/// @description Checks that it is a compile-time error if a part directive
/// begins with a '#' character.
-/// @compile-error
/// @author rodionov
library Parts_test_lib;
#part "part_0.dart";
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/Parts/syntax_t05.dart b/Language/Libraries_and_Scripts/Parts/syntax_t05.dart
index e272c74..b3db6ea 100644
--- a/Language/Libraries_and_Scripts/Parts/syntax_t05.dart
+++ b/Language/Libraries_and_Scripts/Parts/syntax_t05.dart
@@ -21,12 +21,14 @@
/// sequence of top-level declarations.
/// @description Checks that it is a compile-time error when a part directive
/// is missing the URI entirely.
-/// @compile-error
/// @author rodionov
library Parts_test_lib;
part;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/Parts/syntax_t06.dart b/Language/Libraries_and_Scripts/Parts/syntax_t06.dart
index 71878e8..bc7c987 100644
--- a/Language/Libraries_and_Scripts/Parts/syntax_t06.dart
+++ b/Language/Libraries_and_Scripts/Parts/syntax_t06.dart
@@ -21,12 +21,14 @@
/// sequence of top-level declarations.
/// @description Checks that it is a compile-time error when the resource
/// specified by the URI does not exist.
-/// @compile-error
/// @author rodionov
library Parts_test_lib;
part "IntentionallyMissingFile.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/Parts/syntax_t07.dart b/Language/Libraries_and_Scripts/Parts/syntax_t07.dart
index 8b0e65d..dc1e71a 100644
--- a/Language/Libraries_and_Scripts/Parts/syntax_t07.dart
+++ b/Language/Libraries_and_Scripts/Parts/syntax_t07.dart
@@ -21,11 +21,13 @@
/// sequence of top-level declarations.
/// @description Checks that in a compile-time error if the part directive
/// includes an additive expression instead of URI.
-/// @compile-error
/// @author rodionov
part 0+0;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/Parts/syntax_t08.dart b/Language/Libraries_and_Scripts/Parts/syntax_t08.dart
index 7acd864..4421cad 100644
--- a/Language/Libraries_and_Scripts/Parts/syntax_t08.dart
+++ b/Language/Libraries_and_Scripts/Parts/syntax_t08.dart
@@ -21,11 +21,13 @@
/// sequence of top-level declarations.
/// @description Checks that it is a compile-time error if the part directive
/// includes a function invocation expression instead of URI.
-/// @compile-error
/// @author rodionov
part new StringBuffer("part_0.dart").toString();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/Scripts/syntax_t01.dart b/Language/Libraries_and_Scripts/Scripts/syntax_t01.dart
index a06446d..2a5de70 100644
--- a/Language/Libraries_and_Scripts/Scripts/syntax_t01.dart
+++ b/Language/Libraries_and_Scripts/Scripts/syntax_t01.dart
@@ -1,5 +1,8 @@
library Script_A01_t01;
#! scripts tag // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -13,7 +16,6 @@
/// ;
/// @description Checks that it is a compile-time error when the library name
/// comes before the script tag.
-/// @compile-error
/// @author vasya
diff --git a/Language/Libraries_and_Scripts/Scripts/syntax_t02.dart b/Language/Libraries_and_Scripts/Scripts/syntax_t02.dart
index c31bbff..81d12c6 100644
--- a/Language/Libraries_and_Scripts/Scripts/syntax_t02.dart
+++ b/Language/Libraries_and_Scripts/Scripts/syntax_t02.dart
@@ -1,5 +1,11 @@
part "../Parts/part_0.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
#! scripts tag // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -12,7 +18,6 @@
/// ;
/// @description Checks that it is a compile-time error when a part directive
/// comes before the script tag.
-/// @compile-error
/// @author msyabro
diff --git a/Language/Libraries_and_Scripts/Scripts/syntax_t03.dart b/Language/Libraries_and_Scripts/Scripts/syntax_t03.dart
index 61da14d..176f430 100644
--- a/Language/Libraries_and_Scripts/Scripts/syntax_t03.dart
+++ b/Language/Libraries_and_Scripts/Scripts/syntax_t03.dart
@@ -1,5 +1,8 @@
import "library1.dart";
#! scripts tag // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -13,7 +16,6 @@
/// ;
/// @description Checks that it is a compile-time error when an import directive
/// comes before the script tag.
-/// @compile-error
/// @author msyabro
diff --git a/Language/Libraries_and_Scripts/Scripts/syntax_t04.dart b/Language/Libraries_and_Scripts/Scripts/syntax_t04.dart
index 50aedd9..ce86364 100644
--- a/Language/Libraries_and_Scripts/Scripts/syntax_t04.dart
+++ b/Language/Libraries_and_Scripts/Scripts/syntax_t04.dart
@@ -1,5 +1,8 @@
class C {}
#! scripts tag // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -13,7 +16,6 @@
/// ;
/// @description Checks that it is a compile-time error when a top-level
/// definition (a class declaration) comes before the script tag.
-/// @compile-error
/// @author msyabro
diff --git a/Language/Libraries_and_Scripts/Scripts/syntax_t05.dart b/Language/Libraries_and_Scripts/Scripts/syntax_t05.dart
index 6d612cf..9ddec71 100644
--- a/Language/Libraries_and_Scripts/Scripts/syntax_t05.dart
+++ b/Language/Libraries_and_Scripts/Scripts/syntax_t05.dart
@@ -11,12 +11,14 @@
/// ;
/// @description Checks that it is a compile-time error when an import directive
/// comes before the library name.
-/// @compile-error
/// @author vasya
import "library1.dart";
library Parts_test_lib;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
part "../Parts/part_0.dart";
main() {
diff --git a/Language/Libraries_and_Scripts/Scripts/syntax_t06.dart b/Language/Libraries_and_Scripts/Scripts/syntax_t06.dart
index fb74730..053c016 100644
--- a/Language/Libraries_and_Scripts/Scripts/syntax_t06.dart
+++ b/Language/Libraries_and_Scripts/Scripts/syntax_t06.dart
@@ -11,12 +11,16 @@
/// ;
/// @description Checks that it is a compile-time error when a part directive
/// comes before the library name.
-/// @compile-error
/// @author vasya
part "../Parts/part_0.dart";
+// ^
+// [analyzer] unspecified
library Parts_test_lib;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/Scripts/syntax_t07.dart b/Language/Libraries_and_Scripts/Scripts/syntax_t07.dart
index f45d60e..7206b94 100644
--- a/Language/Libraries_and_Scripts/Scripts/syntax_t07.dart
+++ b/Language/Libraries_and_Scripts/Scripts/syntax_t07.dart
@@ -11,13 +11,18 @@
/// ;
/// @description Checks that it is a compile-time error when a top level
/// definition (an interface declaration) comes before the library name.
-/// @compile-error
/// @author msyabro
abstract class I {}
library Script_A01_t09;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
I();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Scripts/syntax_t08.dart b/Language/Libraries_and_Scripts/Scripts/syntax_t08.dart
index cf1b8d4..ab9c068 100644
--- a/Language/Libraries_and_Scripts/Scripts/syntax_t08.dart
+++ b/Language/Libraries_and_Scripts/Scripts/syntax_t08.dart
@@ -11,12 +11,17 @@
/// ;
/// @description Checks that it is a compile-time error when a part directive
/// comes before an import directive.
-/// @compile-error
/// @author vasya
part "../Parts/part_0.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
import "library1.dart";
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/Scripts/syntax_t09.dart b/Language/Libraries_and_Scripts/Scripts/syntax_t09.dart
index c0fe5da..8000656 100644
--- a/Language/Libraries_and_Scripts/Scripts/syntax_t09.dart
+++ b/Language/Libraries_and_Scripts/Scripts/syntax_t09.dart
@@ -11,14 +11,19 @@
/// ;
/// @description Checks that it is a compile-time error when a top level
/// definition (function type alias) comes before an import directive.
-/// @compile-error
/// @author msyabro
typedef f(p1, p2);
import "library1.dart";
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f func = (p1, p2) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Scripts/syntax_t10.dart b/Language/Libraries_and_Scripts/Scripts/syntax_t10.dart
index 46442f5..419831c 100644
--- a/Language/Libraries_and_Scripts/Scripts/syntax_t10.dart
+++ b/Language/Libraries_and_Scripts/Scripts/syntax_t10.dart
@@ -11,7 +11,6 @@
/// ;
/// @description Checks that is is a compile-time error when a variable
/// declaration comes before a part directive.
-/// @compile-error
/// @author vasya
library Script_A01_t14;
@@ -19,6 +18,9 @@
final int script = 1; // error
part "../Parts/part_0.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
print(script);
diff --git a/Language/Libraries_and_Scripts/Scripts/syntax_t13.dart b/Language/Libraries_and_Scripts/Scripts/syntax_t13.dart
index 75dafb8..e4d0e3d 100644
--- a/Language/Libraries_and_Scripts/Scripts/syntax_t13.dart
+++ b/Language/Libraries_and_Scripts/Scripts/syntax_t13.dart
@@ -1,5 +1,8 @@
#! script tag 1
#! script tag 2
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
@@ -13,7 +16,6 @@
/// ;
/// @description Checks that it is a compile-time error when a script has two
/// script tags.
-/// @compile-error
/// @author msyabro
diff --git a/Language/Libraries_and_Scripts/Scripts/syntax_t14.dart b/Language/Libraries_and_Scripts/Scripts/syntax_t14.dart
index 13f443c..b33cf9e 100644
--- a/Language/Libraries_and_Scripts/Scripts/syntax_t14.dart
+++ b/Language/Libraries_and_Scripts/Scripts/syntax_t14.dart
@@ -11,12 +11,14 @@
/// ;
/// @description Checks that it is a compile-time error when a script has two
/// library directives.
-/// @compile-error
/// @author msyabro
library L;
library M;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t02.dart b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t02.dart
index 9497a1b..d0816a3 100644
--- a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t02.dart
+++ b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t02.dart
@@ -23,11 +23,13 @@
/// ;
/// @description Checks that it is a compile-time error when a string literal is
/// used in place of a top level definition in a script.
-/// @compile-error
/// @author msyabro
"string literal"
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t03.dart b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t03.dart
index 001767f..f47d96c 100644
--- a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t03.dart
+++ b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t03.dart
@@ -23,11 +23,13 @@
/// ;
/// @description Checks that it is a compile-time error when a number literal is
/// used in place of a top level definition in a script.
-/// @compile-error
/// @author msyabro
20
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t04.dart b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t04.dart
index b4b4b8c..1c6be57 100644
--- a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t04.dart
+++ b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t04.dart
@@ -23,11 +23,13 @@
/// ;
/// @description Checks that it is a compile-time error when a list literal is
/// used in place of a top level definition in a script.
-/// @compile-error
/// @author msyabro
[1, 2, 3]
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t05.dart b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t05.dart
index 273bc99..80fa060 100644
--- a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t05.dart
+++ b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t05.dart
@@ -23,13 +23,18 @@
/// ;
/// @description Checks that it is a compile-time error when a function
/// invocation expression is used in place of a top level definition in a script.
-/// @compile-error
/// @author msyabro
f() {}
f()
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t06.dart b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t06.dart
index ba62d1d..b02020d 100644
--- a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t06.dart
+++ b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t06.dart
@@ -23,11 +23,13 @@
/// ;
/// @description Checks that it is a compile-time error when an expression
/// statement is used in place of a top level definition in a script.
-/// @compile-error
/// @author msyabro
2 + 3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t07.dart b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t07.dart
index 12e289e..c42ca0c 100644
--- a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t07.dart
+++ b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t07.dart
@@ -23,11 +23,13 @@
/// ;
/// @description Checks that it is a compile-time error when a block statement
/// is used in place of a top level definition in a script.
-/// @compile-error
/// @author msyabro
{
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
var x = 1;
var closure = () => x + 1;
}
diff --git a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t08.dart b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t08.dart
index 7ae635c..6ef9d59 100644
--- a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t08.dart
+++ b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t08.dart
@@ -23,13 +23,18 @@
/// ;
/// @description Checks that it is a compile-time error when an if statement
/// is used in place of a top level definition in a script.
-/// @compile-error
/// @author msyabro
if (true) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
true;
} else {
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
false;
}
diff --git a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t09.dart b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t09.dart
index c019fca..fee3f7e 100644
--- a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t09.dart
+++ b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t09.dart
@@ -23,11 +23,13 @@
/// ;
/// @description Checks that it is a compile-time error when a for statement
/// is used in place of a top level definition in a script.
-/// @compile-error
/// @author msyabro
for (;;);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t10.dart b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t10.dart
index 6beff61..602ce70 100644
--- a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t10.dart
+++ b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t10.dart
@@ -23,11 +23,13 @@
/// ;
/// @description Checks that it is a compile-time error when a while statement
/// is used in place of a top level definition in a script.
-/// @compile-error
/// @author msyabro
while (true);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t11.dart b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t11.dart
index feec6f8..bbebd37 100644
--- a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t11.dart
+++ b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t11.dart
@@ -23,13 +23,18 @@
/// ;
/// @description Checks that it is a compile-time error when a try statement
/// is used in place of a top level definition in a script.
-/// @compile-error
/// @author msyabro
try {
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
var x;
} catch (e) {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t12.dart b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t12.dart
index 85c683d..003dc83 100644
--- a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t12.dart
+++ b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t12.dart
@@ -23,11 +23,13 @@
/// ;
/// @description Checks that it is a compile-time error when a return statement
/// is used in place of a top level definition in a script.
-/// @compile-error
/// @author msyabro
return null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t13.dart b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t13.dart
index 02aaf89..1d65b7f 100644
--- a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t13.dart
+++ b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t13.dart
@@ -23,11 +23,13 @@
/// ;
/// @description Checks that it is a compile-time error when a throw statement
/// is used in place of a top level definition in a script.
-/// @compile-error
/// @author msyabro
throw '';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t14.dart b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t14.dart
index 00219e0..6eca9b4 100644
--- a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t14.dart
+++ b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t14.dart
@@ -23,11 +23,13 @@
/// ;
/// @description Checks that it is a compile-time error when a labeled statement
/// is used in place of a top level definition in a script.
-/// @compile-error
/// @author msyabro
label: final x = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t15.dart b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t15.dart
index 7bb0a1f..e32896c 100644
--- a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t15.dart
+++ b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t15.dart
@@ -23,12 +23,14 @@
/// ;
/// @description Checks that it is a compile-time error when a comma character
/// is used in place of a top level definition in a script.
-/// @compile-error
/// @author msyabro
class C {}
,
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
class D {}
main() {
diff --git a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t16.dart b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t16.dart
index 39d1fc7..2a75e29 100644
--- a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t16.dart
+++ b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t16.dart
@@ -23,12 +23,14 @@
/// ;
/// @description Checks that it is a compile-time error when a colon character
/// is used in place of a top level definition in a script.
-/// @compile-error
/// @author msyabro
f() {}
:
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
g() {}
main() {
diff --git a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t17.dart b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t17.dart
index a8b4bf8..5f88515 100644
--- a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t17.dart
+++ b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t17.dart
@@ -23,12 +23,14 @@
/// ;
/// @description Checks that it is a compile-time error when a backslash
/// character is used in place of a top level definition in a script.
-/// @compile-error
/// @author msyabro
final x = 1;
\
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
var y = 2;
main() {
diff --git a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t18.dart b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t18.dart
index 1eb3a5f..ec848e3 100644
--- a/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t18.dart
+++ b/Language/Libraries_and_Scripts/Scripts/top_level_syntax_t18.dart
@@ -24,7 +24,6 @@
/// @description Checks that it is a compile-time error when an arbitrary
/// sequence of symbols (which is not an identifier) is used in place of a top
/// level definition in a script.
-/// @compile-error
/// @author msyabro
@@ -32,6 +31,9 @@
f2() {}
it$^does%^not#@matter_what!Im#typing!@here
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Libraries_and_Scripts/definition_syntax_t01.dart b/Language/Libraries_and_Scripts/definition_syntax_t01.dart
index 41818da..b9af111 100644
--- a/Language/Libraries_and_Scripts/definition_syntax_t01.dart
+++ b/Language/Libraries_and_Scripts/definition_syntax_t01.dart
@@ -21,9 +21,8 @@
/// name of the library.
/// @description Checks that it is a compile-time error if a library includes
/// two library definitions with the same identifier.
-/// @compile-error
/// @author vasya
-
+/// @issue 44990
import "definition_syntax_t01_lib.dart";
diff --git a/Language/Libraries_and_Scripts/definition_syntax_t03.dart b/Language/Libraries_and_Scripts/definition_syntax_t03.dart
index f6aa06b..59d8aa2 100644
--- a/Language/Libraries_and_Scripts/definition_syntax_t03.dart
+++ b/Language/Libraries_and_Scripts/definition_syntax_t03.dart
@@ -21,9 +21,8 @@
/// name of the library.
/// @description Checks that it is a compile-error if an import declaration
/// comes before the library name.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import "definition_syntax_t03_lib.dart";
diff --git a/Language/Libraries_and_Scripts/definition_syntax_t04.dart b/Language/Libraries_and_Scripts/definition_syntax_t04.dart
index bc7fdf3..1e45fe6 100644
--- a/Language/Libraries_and_Scripts/definition_syntax_t04.dart
+++ b/Language/Libraries_and_Scripts/definition_syntax_t04.dart
@@ -21,9 +21,8 @@
/// name of the library.
/// @description Checks that it is a compile-error if a part directive comes
/// before the library name.
-/// @compile-error
/// @author rodionov
-
+/// @issue 44990
import "definition_syntax_t04_lib.dart";
diff --git a/Language/Libraries_and_Scripts/definition_syntax_t05.dart b/Language/Libraries_and_Scripts/definition_syntax_t05.dart
index e5397c5..59ef8fc 100644
--- a/Language/Libraries_and_Scripts/definition_syntax_t05.dart
+++ b/Language/Libraries_and_Scripts/definition_syntax_t05.dart
@@ -21,12 +21,14 @@
/// name of the library.
/// @description Checks that it is a compile-error if an import directive
/// comes before the library name.
-/// @compile-error
/// @author msyabro
import "definition_syntax_t05_lib.dart";
library Libraries_and_Scripts_A04_t08;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
var someVar = 1;
diff --git a/Language/Libraries_and_Scripts/definition_syntax_t06.dart b/Language/Libraries_and_Scripts/definition_syntax_t06.dart
index 2f1b2da..8f9c2ba 100644
--- a/Language/Libraries_and_Scripts/definition_syntax_t06.dart
+++ b/Language/Libraries_and_Scripts/definition_syntax_t06.dart
@@ -21,9 +21,8 @@
/// name of the library.
/// @description Checks that it is a compile-error if a top-level definition
/// comes before the library name.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import "definition_syntax_t06_lib.dart";
diff --git a/Language/Libraries_and_Scripts/definition_syntax_t07.dart b/Language/Libraries_and_Scripts/definition_syntax_t07.dart
index e3e2921..afd1733 100644
--- a/Language/Libraries_and_Scripts/definition_syntax_t07.dart
+++ b/Language/Libraries_and_Scripts/definition_syntax_t07.dart
@@ -21,9 +21,8 @@
/// name of the library.
/// @description Checks that it is a compile-error if a part directive
/// comes before an import directive.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import "definition_syntax_t07_lib.dart";
diff --git a/Language/Libraries_and_Scripts/definition_syntax_t08.dart b/Language/Libraries_and_Scripts/definition_syntax_t08.dart
index 718f7c5..d0999c3 100644
--- a/Language/Libraries_and_Scripts/definition_syntax_t08.dart
+++ b/Language/Libraries_and_Scripts/definition_syntax_t08.dart
@@ -21,9 +21,8 @@
/// name of the library.
/// @description Checks that it is a compile-error if a top-level definition
/// comes before an import directive.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import "definition_syntax_t08_lib.dart";
diff --git a/Language/Libraries_and_Scripts/definition_syntax_t09.dart b/Language/Libraries_and_Scripts/definition_syntax_t09.dart
index 202ec9b..585c5b0 100644
--- a/Language/Libraries_and_Scripts/definition_syntax_t09.dart
+++ b/Language/Libraries_and_Scripts/definition_syntax_t09.dart
@@ -21,9 +21,8 @@
/// name of the library.
/// @description Checks that it is a compile-error if a top-level definition
/// comes before a part directive.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import "definition_syntax_t09_lib.dart";
diff --git a/Language/Libraries_and_Scripts/definition_syntax_t10.dart b/Language/Libraries_and_Scripts/definition_syntax_t10.dart
index 82b0870..3e78eb4 100644
--- a/Language/Libraries_and_Scripts/definition_syntax_t10.dart
+++ b/Language/Libraries_and_Scripts/definition_syntax_t10.dart
@@ -21,9 +21,8 @@
/// name of the library.
/// @description Checks that it is a compile-error if a library contains
/// two library declarations (with different names).
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import "definition_syntax_t10_lib.dart";
diff --git a/Language/Libraries_and_Scripts/definition_syntax_t15.dart b/Language/Libraries_and_Scripts/definition_syntax_t15.dart
index e35c431..4fe7fc7 100644
--- a/Language/Libraries_and_Scripts/definition_syntax_t15.dart
+++ b/Language/Libraries_and_Scripts/definition_syntax_t15.dart
@@ -21,9 +21,8 @@
/// name of the library.
/// @description Checks that it is a compile-time error when the library name is
/// enclosed in parentheses.
-/// @compile-error
/// @author vasya
-
+/// @issue 44990
import "definition_syntax_t15_lib.dart";
diff --git a/Language/Libraries_and_Scripts/definition_syntax_t16.dart b/Language/Libraries_and_Scripts/definition_syntax_t16.dart
index 6b36ccd..a0d38b2 100644
--- a/Language/Libraries_and_Scripts/definition_syntax_t16.dart
+++ b/Language/Libraries_and_Scripts/definition_syntax_t16.dart
@@ -21,9 +21,8 @@
/// name of the library.
/// @description Checks that it is a compile-time error if the library directive
/// does not end with a semicolon.
-/// @compile-error
/// @author vasya
-
+/// @issue 44990
import "definition_syntax_t16_lib.dart";
diff --git a/Language/Libraries_and_Scripts/definition_syntax_t17.dart b/Language/Libraries_and_Scripts/definition_syntax_t17.dart
index 4875b92..65dfe5e 100644
--- a/Language/Libraries_and_Scripts/definition_syntax_t17.dart
+++ b/Language/Libraries_and_Scripts/definition_syntax_t17.dart
@@ -21,12 +21,14 @@
/// name of the library.
/// @description Checks that it is a compile-time error if the library name is
/// a function invocation expression.
-/// @compile-error
/// @author vasya
-
+/// @issue 44990
import "definition_syntax_t17_lib.dart";
main() {
bar someVar = 1;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/definition_syntax_t18.dart b/Language/Libraries_and_Scripts/definition_syntax_t18.dart
index 58b8c9a..c445b54 100644
--- a/Language/Libraries_and_Scripts/definition_syntax_t18.dart
+++ b/Language/Libraries_and_Scripts/definition_syntax_t18.dart
@@ -21,9 +21,8 @@
/// name of the library.
/// @description Checks that it is a compile-time error if the library directive
/// is missing the library name.
-/// @compile-error
/// @author vasya
-
+/// @issue 44990
import "definition_syntax_t18_lib.dart";
diff --git a/Language/Libraries_and_Scripts/definition_syntax_t19.dart b/Language/Libraries_and_Scripts/definition_syntax_t19.dart
index 7740c33..aa74545 100644
--- a/Language/Libraries_and_Scripts/definition_syntax_t19.dart
+++ b/Language/Libraries_and_Scripts/definition_syntax_t19.dart
@@ -21,9 +21,8 @@
/// name of the library.
/// @description Checks that it is a compile-time error when the library name is
/// enclosed in double quotes.
-/// @compile-error
/// @author rodionov
-
+/// @issue 44990
import "definition_syntax_t19_lib.dart";
diff --git a/Language/Libraries_and_Scripts/definition_syntax_t20.dart b/Language/Libraries_and_Scripts/definition_syntax_t20.dart
index 515a8f9..4f25d5a 100644
--- a/Language/Libraries_and_Scripts/definition_syntax_t20.dart
+++ b/Language/Libraries_and_Scripts/definition_syntax_t20.dart
@@ -21,9 +21,8 @@
/// name of the library.
/// @description Checks that it is a compile-time error when the library name is
/// enclosed in single quotes.
-/// @compile-error
/// @author rodionov
-
+/// @issue 44990
import "definition_syntax_t20_lib.dart";
diff --git a/Language/Libraries_and_Scripts/definition_syntax_t21.dart b/Language/Libraries_and_Scripts/definition_syntax_t21.dart
index 177dbcc..f46380c 100644
--- a/Language/Libraries_and_Scripts/definition_syntax_t21.dart
+++ b/Language/Libraries_and_Scripts/definition_syntax_t21.dart
@@ -21,9 +21,8 @@
/// name of the library.
/// @description Checks that it is a compile-time error if the library name is
/// an additive expression rather than an identifier.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import "definition_syntax_t21_lib.dart";
diff --git a/Language/Libraries_and_Scripts/definition_syntax_t22.dart b/Language/Libraries_and_Scripts/definition_syntax_t22.dart
index 835f02f..1e4a52d 100644
--- a/Language/Libraries_and_Scripts/definition_syntax_t22.dart
+++ b/Language/Libraries_and_Scripts/definition_syntax_t22.dart
@@ -21,9 +21,8 @@
/// name of the library.
/// @description Checks that it is a compile-time error if the library name is
/// enclosed in square brackets.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import "definition_syntax_t22_lib.dart";
diff --git a/Language/Libraries_and_Scripts/definition_syntax_t23.dart b/Language/Libraries_and_Scripts/definition_syntax_t23.dart
index 1f6b043..f131be8 100644
--- a/Language/Libraries_and_Scripts/definition_syntax_t23.dart
+++ b/Language/Libraries_and_Scripts/definition_syntax_t23.dart
@@ -21,9 +21,8 @@
/// name of the library.
/// @description Checks that it is a compile-time error if the library name is
/// enclosed in angle brackets.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import "definition_syntax_t23_lib.dart";
diff --git a/Language/Libraries_and_Scripts/definition_syntax_t24.dart b/Language/Libraries_and_Scripts/definition_syntax_t24.dart
index 285f49f..ad35552 100644
--- a/Language/Libraries_and_Scripts/definition_syntax_t24.dart
+++ b/Language/Libraries_and_Scripts/definition_syntax_t24.dart
@@ -21,9 +21,8 @@
/// name of the library.
/// @description Checks that it is a compile-time error if the library name is
/// enclosed in curly braces.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import "definition_syntax_t24_lib.dart";
diff --git a/Language/Libraries_and_Scripts/definition_syntax_t25.dart b/Language/Libraries_and_Scripts/definition_syntax_t25.dart
index 3a038f2..55afe8a 100644
--- a/Language/Libraries_and_Scripts/definition_syntax_t25.dart
+++ b/Language/Libraries_and_Scripts/definition_syntax_t25.dart
@@ -21,9 +21,8 @@
/// name of the library.
/// @description Checks that it is a compile-time error if the library name
/// is enclosed in triple single quotes.
-/// @compile-error
/// @author rodionov
-
+/// @issue 44990
import "definition_syntax_t25_lib.dart";
diff --git a/Language/Libraries_and_Scripts/definition_syntax_t26.dart b/Language/Libraries_and_Scripts/definition_syntax_t26.dart
index 2613a23..4dd3fca 100644
--- a/Language/Libraries_and_Scripts/definition_syntax_t26.dart
+++ b/Language/Libraries_and_Scripts/definition_syntax_t26.dart
@@ -21,9 +21,8 @@
/// name of the library.
/// @description Checks that it is a compile-time error if the library name
/// is enclosed in triple double quotes.
-/// @compile-error
/// @author rodionov
-
+/// @issue 44990
import "definition_syntax_t26_lib.dart";
diff --git a/Language/Libraries_and_Scripts/definition_syntax_t27.dart b/Language/Libraries_and_Scripts/definition_syntax_t27.dart
index 9d0ca68..e8f2164 100644
--- a/Language/Libraries_and_Scripts/definition_syntax_t27.dart
+++ b/Language/Libraries_and_Scripts/definition_syntax_t27.dart
@@ -21,9 +21,8 @@
/// name of the library.
/// @description Checks that it is a compile-time error if the library name
/// is not a valid identifier (starts with a digit).
-/// @compile-error
/// @author rodionov
-
+/// @issue 44990
import "definition_syntax_t27_lib.dart";
diff --git a/Language/Libraries_and_Scripts/definition_syntax_t28.dart b/Language/Libraries_and_Scripts/definition_syntax_t28.dart
index 4d49055..a1d63ef 100644
--- a/Language/Libraries_and_Scripts/definition_syntax_t28.dart
+++ b/Language/Libraries_and_Scripts/definition_syntax_t28.dart
@@ -21,11 +21,13 @@
/// name of the library.
/// @description Checks that it is a compile-time error if the library name
/// is not a valid identifier (starts with a digit).
-/// @compile-error
/// @author rodionov
library 13_Libraries_and_Scripts_A03_t16_lib;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
var someVar = 1;
diff --git a/Language/Libraries_and_Scripts/definition_syntax_t29.dart b/Language/Libraries_and_Scripts/definition_syntax_t29.dart
index e01e46c..6999674 100644
--- a/Language/Libraries_and_Scripts/definition_syntax_t29.dart
+++ b/Language/Libraries_and_Scripts/definition_syntax_t29.dart
@@ -21,9 +21,8 @@
/// name of the library.
/// @description Checks that it is a compile-time error if the library name
/// is not a valid identifier (contains non-latin characters).
-/// @compile-error
/// @author rodionov
-
+/// @issue 44990
import "definition_syntax_t29_lib.dart";
diff --git a/Language/Libraries_and_Scripts/private_access_t01.dart b/Language/Libraries_and_Scripts/private_access_t01.dart
index 62c2f5b..3a91d21 100644
--- a/Language/Libraries_and_Scripts/private_access_t01.dart
+++ b/Language/Libraries_and_Scripts/private_access_t01.dart
@@ -8,7 +8,6 @@
/// getter or setter lookup failure.
/// @description Checks that an attempt to access a private instance member from
/// outside L results in compile error.
-/// @compile-error
/// @author vasya
import "private_access_t01_lib.dart" as lib;
@@ -16,4 +15,7 @@
main() {
lib.C c = new lib.C();
c._foo();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/private_access_t03.dart b/Language/Libraries_and_Scripts/private_access_t03.dart
index 81ccaac..79e4dc0 100644
--- a/Language/Libraries_and_Scripts/private_access_t03.dart
+++ b/Language/Libraries_and_Scripts/private_access_t03.dart
@@ -8,11 +8,13 @@
/// getter or setter lookup failure.
/// @description Checks that an attempt to access a private static member from
/// outside L results in a compile error.
-/// @compile-error
/// @author vasya
import "private_access_t03_lib.dart" as lib;
main() {
lib.C._x;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/private_access_t04.dart b/Language/Libraries_and_Scripts/private_access_t04.dart
index 55629e3..d8e57f8 100644
--- a/Language/Libraries_and_Scripts/private_access_t04.dart
+++ b/Language/Libraries_and_Scripts/private_access_t04.dart
@@ -9,11 +9,13 @@
/// @description Checks that an attempt to access a private top level variable
/// from outside library L in a top-level function context results in a
/// compile error.
-/// @compile-error
/// @author vasya
import "private_access_t04_lib.dart" as lib;
main() {
lib._topLevelDeclaration;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/private_access_t05.dart b/Language/Libraries_and_Scripts/private_access_t05.dart
index 869d8a6..e9aba3f 100644
--- a/Language/Libraries_and_Scripts/private_access_t05.dart
+++ b/Language/Libraries_and_Scripts/private_access_t05.dart
@@ -8,7 +8,6 @@
/// getter or setter lookup failure.
/// @description Checks that an attempt to access a private instance member from
/// outside L results in compile error.
-/// @compile-error
/// @author vasya
import "private_access_t01_lib.dart" as lib;
@@ -16,4 +15,7 @@
main() {
lib.C c = new lib.C();
c._bar;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Libraries_and_Scripts/top_level_syntax_t02.dart b/Language/Libraries_and_Scripts/top_level_syntax_t02.dart
index 5ffcd70..cfb7087 100644
--- a/Language/Libraries_and_Scripts/top_level_syntax_t02.dart
+++ b/Language/Libraries_and_Scripts/top_level_syntax_t02.dart
@@ -23,6 +23,7 @@
/// @description Checks that a null literal can't be a top level definition
/// in a library.
/// @author msyabro
+/// @issue 44990
import "top_level_syntax_t02_lib.dart";
diff --git a/Language/Libraries_and_Scripts/top_level_syntax_t03.dart b/Language/Libraries_and_Scripts/top_level_syntax_t03.dart
index 79aa261..f96e576 100644
--- a/Language/Libraries_and_Scripts/top_level_syntax_t03.dart
+++ b/Language/Libraries_and_Scripts/top_level_syntax_t03.dart
@@ -22,9 +22,8 @@
/// ;
/// @description Checks that a string literal can't be a top level definition
/// in a library.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import 'top_level_syntax_t03_lib.dart';
diff --git a/Language/Libraries_and_Scripts/top_level_syntax_t04.dart b/Language/Libraries_and_Scripts/top_level_syntax_t04.dart
index 3418e5a..c754234 100644
--- a/Language/Libraries_and_Scripts/top_level_syntax_t04.dart
+++ b/Language/Libraries_and_Scripts/top_level_syntax_t04.dart
@@ -22,9 +22,8 @@
/// ;
/// @description Checks that a number literal can't be a top level definition
/// in a library.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import 'top_level_syntax_t04_lib.dart';
diff --git a/Language/Libraries_and_Scripts/top_level_syntax_t05.dart b/Language/Libraries_and_Scripts/top_level_syntax_t05.dart
index de87085..48e3f71 100644
--- a/Language/Libraries_and_Scripts/top_level_syntax_t05.dart
+++ b/Language/Libraries_and_Scripts/top_level_syntax_t05.dart
@@ -22,7 +22,6 @@
/// ;
/// @description Checks that a map literal can't be a top level definition in
/// a library.
-/// @compile-error
/// @author msyabro
diff --git a/Language/Libraries_and_Scripts/top_level_syntax_t06.dart b/Language/Libraries_and_Scripts/top_level_syntax_t06.dart
index e965a33..da0135b 100644
--- a/Language/Libraries_and_Scripts/top_level_syntax_t06.dart
+++ b/Language/Libraries_and_Scripts/top_level_syntax_t06.dart
@@ -22,9 +22,8 @@
/// ;
/// @description Checks that a function invocation expression can't be a top
/// level definition in a library.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import 'top_level_syntax_t06_lib.dart';
diff --git a/Language/Libraries_and_Scripts/top_level_syntax_t07.dart b/Language/Libraries_and_Scripts/top_level_syntax_t07.dart
index ff10f89..684a0f3 100644
--- a/Language/Libraries_and_Scripts/top_level_syntax_t07.dart
+++ b/Language/Libraries_and_Scripts/top_level_syntax_t07.dart
@@ -22,9 +22,8 @@
/// ;
/// @description Checks that an expression statement can't be a top level
/// definition in a library.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import 'top_level_syntax_t07_lib.dart';
diff --git a/Language/Libraries_and_Scripts/top_level_syntax_t08.dart b/Language/Libraries_and_Scripts/top_level_syntax_t08.dart
index ed9911a..13855f3 100644
--- a/Language/Libraries_and_Scripts/top_level_syntax_t08.dart
+++ b/Language/Libraries_and_Scripts/top_level_syntax_t08.dart
@@ -22,9 +22,8 @@
/// ;
/// @description Checks that a block statement can't be a top level definition
/// in a library.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import 'top_level_syntax_t08_lib.dart';
diff --git a/Language/Libraries_and_Scripts/top_level_syntax_t09.dart b/Language/Libraries_and_Scripts/top_level_syntax_t09.dart
index 4d17638..60dadc0 100644
--- a/Language/Libraries_and_Scripts/top_level_syntax_t09.dart
+++ b/Language/Libraries_and_Scripts/top_level_syntax_t09.dart
@@ -22,9 +22,8 @@
/// ;
/// @description Checks that an if statement can't be a top level definition in
/// a library.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import 'top_level_syntax_t09_lib.dart';
diff --git a/Language/Libraries_and_Scripts/top_level_syntax_t10.dart b/Language/Libraries_and_Scripts/top_level_syntax_t10.dart
index 0ecc95d..666c175 100644
--- a/Language/Libraries_and_Scripts/top_level_syntax_t10.dart
+++ b/Language/Libraries_and_Scripts/top_level_syntax_t10.dart
@@ -22,9 +22,8 @@
/// ;
/// @description Checks that a for statement can't be a top level definition in
/// a library.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import 'top_level_syntax_t10_lib.dart';
diff --git a/Language/Libraries_and_Scripts/top_level_syntax_t11.dart b/Language/Libraries_and_Scripts/top_level_syntax_t11.dart
index fcb25a4..964322d 100644
--- a/Language/Libraries_and_Scripts/top_level_syntax_t11.dart
+++ b/Language/Libraries_and_Scripts/top_level_syntax_t11.dart
@@ -22,9 +22,8 @@
/// ;
/// @description Checks that a while statement can't be a top level definition
/// in a library.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import 'top_level_syntax_t11_lib.dart';
diff --git a/Language/Libraries_and_Scripts/top_level_syntax_t12.dart b/Language/Libraries_and_Scripts/top_level_syntax_t12.dart
index bf3b20e..2386f09 100644
--- a/Language/Libraries_and_Scripts/top_level_syntax_t12.dart
+++ b/Language/Libraries_and_Scripts/top_level_syntax_t12.dart
@@ -22,9 +22,8 @@
/// ;
/// @description Checks that a try statement can't be a top level definition in
/// a library.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import 'top_level_syntax_t12_lib.dart';
diff --git a/Language/Libraries_and_Scripts/top_level_syntax_t13.dart b/Language/Libraries_and_Scripts/top_level_syntax_t13.dart
index c02795f..8b7c1c1 100644
--- a/Language/Libraries_and_Scripts/top_level_syntax_t13.dart
+++ b/Language/Libraries_and_Scripts/top_level_syntax_t13.dart
@@ -22,9 +22,8 @@
/// ;
/// @description Checks that a return statement can't be a top level definition
/// in a library.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import 'top_level_syntax_t13_lib.dart';
diff --git a/Language/Libraries_and_Scripts/top_level_syntax_t14.dart b/Language/Libraries_and_Scripts/top_level_syntax_t14.dart
index e42e472..cdec76e 100644
--- a/Language/Libraries_and_Scripts/top_level_syntax_t14.dart
+++ b/Language/Libraries_and_Scripts/top_level_syntax_t14.dart
@@ -22,9 +22,8 @@
/// ;
/// @description Checks that a throw statement can't be a top level definition
/// in a library.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import 'top_level_syntax_t14_lib.dart';
diff --git a/Language/Libraries_and_Scripts/top_level_syntax_t15.dart b/Language/Libraries_and_Scripts/top_level_syntax_t15.dart
index 8d21126..f2a65cc 100644
--- a/Language/Libraries_and_Scripts/top_level_syntax_t15.dart
+++ b/Language/Libraries_and_Scripts/top_level_syntax_t15.dart
@@ -22,9 +22,8 @@
/// ;
/// @description Checks that a labeled statement (variable declaration) can't
/// be a top level definition in a library.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import 'top_level_syntax_t15_lib.dart';
diff --git a/Language/Libraries_and_Scripts/top_level_syntax_t16.dart b/Language/Libraries_and_Scripts/top_level_syntax_t16.dart
index 45a8872..d59fe5f 100644
--- a/Language/Libraries_and_Scripts/top_level_syntax_t16.dart
+++ b/Language/Libraries_and_Scripts/top_level_syntax_t16.dart
@@ -22,9 +22,8 @@
/// ;
/// @description Checks that a lone comma character can't be a top level
/// definition in a library.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import 'top_level_syntax_t16_lib.dart';
diff --git a/Language/Libraries_and_Scripts/top_level_syntax_t17.dart b/Language/Libraries_and_Scripts/top_level_syntax_t17.dart
index 7ecb807..2c8ee41 100644
--- a/Language/Libraries_and_Scripts/top_level_syntax_t17.dart
+++ b/Language/Libraries_and_Scripts/top_level_syntax_t17.dart
@@ -22,9 +22,8 @@
/// ;
/// @description Checks that a lone colon character can't be a top level
/// definition in a library.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import 'top_level_syntax_t17_lib.dart';
diff --git a/Language/Libraries_and_Scripts/top_level_syntax_t18.dart b/Language/Libraries_and_Scripts/top_level_syntax_t18.dart
index 191123e..85a14eb 100644
--- a/Language/Libraries_and_Scripts/top_level_syntax_t18.dart
+++ b/Language/Libraries_and_Scripts/top_level_syntax_t18.dart
@@ -22,9 +22,8 @@
/// ;
/// @description Checks that a lone backslash character can't be a top level
/// definition in a library.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import 'top_level_syntax_t18_lib.dart';
diff --git a/Language/Libraries_and_Scripts/top_level_syntax_t19.dart b/Language/Libraries_and_Scripts/top_level_syntax_t19.dart
index 5c87698..16282c5 100644
--- a/Language/Libraries_and_Scripts/top_level_syntax_t19.dart
+++ b/Language/Libraries_and_Scripts/top_level_syntax_t19.dart
@@ -22,9 +22,8 @@
/// ;
/// @description Checks that an arbitrary sequence of symbols (which is not an
/// identifier) can't be a top level definition in a library.
-/// @compile-error
/// @author msyabro
-
+/// @issue 44990
import 'top_level_syntax_t19_lib.dart';
diff --git a/Language/Metadata/compilation_t01.dart b/Language/Metadata/compilation_t01.dart
index afd49f1..1bc8353 100644
--- a/Language/Metadata/compilation_t01.dart
+++ b/Language/Metadata/compilation_t01.dart
@@ -16,8 +16,6 @@
// [analyzer] unspecified
// [cfe] unspecified
class A {}
-// ^
-// [cfe] unspecified
main() {
A? a;
diff --git a/Language/Metadata/compilation_t03.dart b/Language/Metadata/compilation_t03.dart
index 7ab207a..ef41cc0 100644
--- a/Language/Metadata/compilation_t03.dart
+++ b/Language/Metadata/compilation_t03.dart
@@ -20,8 +20,6 @@
// [cfe] unspecified
class B {}
-// ^
-// [cfe] unspecified
main() {
B? b;
diff --git a/Language/Metadata/compilation_t10.dart b/Language/Metadata/compilation_t10.dart
index 9261d84..31837a2 100644
--- a/Language/Metadata/compilation_t10.dart
+++ b/Language/Metadata/compilation_t10.dart
@@ -19,7 +19,7 @@
//^^
// [analyzer] COMPILE_TIME_ERROR.NO_ANNOTATION_CONSTRUCTOR_ARGUMENTS
// ^
-// [cfe] Error: This can't be used as an annotation; an annotation should be a reference to a compile-time constant variable, or a call to a constant constructor.
+// [cfe] This can't be used as an annotation; an annotation should be a reference to a compile-time constant variable, or a call to a constant constructor.
class B {}
main() {
diff --git a/Language/Metadata/syntax_t04.dart b/Language/Metadata/syntax_t04.dart
index c34a599..f5db0ee 100644
--- a/Language/Metadata/syntax_t04.dart
+++ b/Language/Metadata/syntax_t04.dart
@@ -7,7 +7,6 @@
/// (‘@’ qualified (‘.’ identifier)? (arguments)?)*
/// ;
/// @description Check that it is a compile time error, if @ is missing
-/// @compile-error
/// @author a.semenov@unipro.ru
@@ -16,7 +15,13 @@
}
A()
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
class B {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Metadata/syntax_t05.dart b/Language/Metadata/syntax_t05.dart
index 50b6eaa..aad90cb 100644
--- a/Language/Metadata/syntax_t05.dart
+++ b/Language/Metadata/syntax_t05.dart
@@ -8,11 +8,13 @@
/// ;
/// @description Check that it is a compile time error, if qualified identifier
/// is missing
-/// @compile-error
/// @author a.semenov@unipro.ru
@()
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
class B {}
main() {
diff --git a/Language/Metadata/syntax_t06.dart b/Language/Metadata/syntax_t06.dart
index 2a6884d..0d738fb 100644
--- a/Language/Metadata/syntax_t06.dart
+++ b/Language/Metadata/syntax_t06.dart
@@ -8,7 +8,6 @@
/// ;
/// @description Check that it is a compile time error,
/// if opening arguments parenthesis is missing
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
@@ -16,6 +15,9 @@
}
@A)
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
class B {}
main() {
diff --git a/Language/Metadata/syntax_t07.dart b/Language/Metadata/syntax_t07.dart
index 3028142..631f785 100644
--- a/Language/Metadata/syntax_t07.dart
+++ b/Language/Metadata/syntax_t07.dart
@@ -8,7 +8,6 @@
/// ;
/// @description Check that it is a compile time error,
/// if closing arguments parenthesis is missing
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
@@ -16,7 +15,16 @@
}
@A(
-class B {}
+//^
+// [cfe] unspecified
+ class B {}
+//^^^^^^^^^
+// [analyzer] unspecified
-main() {
+ main() {
+//^^^^
+// [analyzer] unspecified
}
+// [error line 30, column 0]
+// [analyzer] unspecified
+// [cfe] unspecified
\ No newline at end of file
diff --git a/Language/Metadata/syntax_t08.dart b/Language/Metadata/syntax_t08.dart
index cbae5a5..ebd2bce 100644
--- a/Language/Metadata/syntax_t08.dart
+++ b/Language/Metadata/syntax_t08.dart
@@ -8,7 +8,6 @@
/// ;
/// @description Check that it is a compile time error,
/// if arguments parenthesis are wrong
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
@@ -16,6 +15,9 @@
}
@A{}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
class B {}
main() {
diff --git a/Language/Mixins/Mixin_Application/abstract_t05.dart b/Language/Mixins/Mixin_Application/abstract_t05.dart
index 05af3a5..1d045e9 100644
--- a/Language/Mixins/Mixin_Application/abstract_t05.dart
+++ b/Language/Mixins/Mixin_Application/abstract_t05.dart
@@ -9,7 +9,6 @@
/// built-in identifier abstract, the class being defined is an abstract class.
/// @description Checks that compile error is issued, if class C declared without
/// 'abstract' identifier does not implement all abstract methods.
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -22,6 +21,9 @@
}
class C = S with M;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Mixins/Mixin_Application/abstract_t06.dart b/Language/Mixins/Mixin_Application/abstract_t06.dart
index ff24a0d..68922bc 100644
--- a/Language/Mixins/Mixin_Application/abstract_t06.dart
+++ b/Language/Mixins/Mixin_Application/abstract_t06.dart
@@ -10,7 +10,6 @@
/// @description Checks that compile error is issued, if class C<T1,...,Tn>
/// declared without 'abstract' identifier does not implement all abstract
/// methods.
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -23,6 +22,9 @@
}
class C<T1, T2, T3> = S with M;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C<int, num, String>();
diff --git a/Language/Mixins/Mixin_Application/abstract_t07.dart b/Language/Mixins/Mixin_Application/abstract_t07.dart
index c159d58..42aa760 100644
--- a/Language/Mixins/Mixin_Application/abstract_t07.dart
+++ b/Language/Mixins/Mixin_Application/abstract_t07.dart
@@ -10,7 +10,6 @@
/// @description Checks that class C is abstract (cannot be instantiated by
/// new) if there are abstract identifier even if all classes in mixin
/// application are not abstract
-/// @compile-error
/// @author sgrekhov@unipro.ru
class M {
@@ -23,4 +22,7 @@
main() {
new C();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Mixins/Mixin_Application/abstract_t08.dart b/Language/Mixins/Mixin_Application/abstract_t08.dart
index f00397f..26bd76f 100644
--- a/Language/Mixins/Mixin_Application/abstract_t08.dart
+++ b/Language/Mixins/Mixin_Application/abstract_t08.dart
@@ -10,7 +10,6 @@
/// @description Checks that class C<T1,...,Tn> is abstract (cannot be
/// instantiated by new) if there is abstract identifier, even if all classes in
/// mixin application are not abstract
-/// @compile-error
/// @author sgrekhov@unipro.ru
class M {
@@ -23,4 +22,7 @@
main() {
new C<int, bool, String>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Mixins/Mixin_Application/abstract_t13.dart b/Language/Mixins/Mixin_Application/abstract_t13.dart
index 695294b..e47a323 100644
--- a/Language/Mixins/Mixin_Application/abstract_t13.dart
+++ b/Language/Mixins/Mixin_Application/abstract_t13.dart
@@ -10,7 +10,6 @@
/// @description Checks that compile error is issued, if class C declared without
/// 'abstract' identifier does not implement all abstract methods. Test type
/// aliases
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -26,6 +25,9 @@
typedef MAlias = M;
class C = SAlias with MAlias;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Mixins/Mixin_Application/deferred_t01.dart b/Language/Mixins/Mixin_Application/deferred_t01.dart
index 5b2f59d..f0c3dec 100644
--- a/Language/Mixins/Mixin_Application/deferred_t01.dart
+++ b/Language/Mixins/Mixin_Application/deferred_t01.dart
@@ -6,7 +6,6 @@
/// application C includes a deferred type expression.
/// @description Checks that it is a compile-time error when with clause
/// includes a deferred type expression.
-/// @compile-error
/// @author sgrekhov@unipro.ru
/// @issue 42031
@@ -17,6 +16,8 @@
}
class C extends B with d.A {}
+// ^
+// [analyzer] unspecified
main() {
new C();
diff --git a/Language/Mixins/Mixin_Application/deferred_t02.dart b/Language/Mixins/Mixin_Application/deferred_t02.dart
index 4ef7414..66a5023 100644
--- a/Language/Mixins/Mixin_Application/deferred_t02.dart
+++ b/Language/Mixins/Mixin_Application/deferred_t02.dart
@@ -6,7 +6,6 @@
/// application C includes a deferred type expression.
/// @description Checks that it is a compile-time error when with clause
/// includes a deferred type expression.
-/// @compile-error
/// @author sgrekhov@unipro.ru
/// @issue 42031
@@ -17,6 +16,9 @@
}
class C = B with d.A {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Mixins/Mixin_Application/deferred_t03.dart b/Language/Mixins/Mixin_Application/deferred_t03.dart
index 3e56519..8f9f5bf 100644
--- a/Language/Mixins/Mixin_Application/deferred_t03.dart
+++ b/Language/Mixins/Mixin_Application/deferred_t03.dart
@@ -6,7 +6,6 @@
/// application C includes a deferred type expression.
/// @description Checks that it is a compile-time error when with clause
/// includes a deferred type expression. Test type alias
-/// @compile-error
/// @author sgrekhov@unipro.ru
/// @issue 42031
@@ -18,6 +17,9 @@
}
class C = B with d.AAlias {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Mixins/Mixin_Application/error_t01.dart b/Language/Mixins/Mixin_Application/error_t01.dart
index d5abf38..e6d7efb 100644
--- a/Language/Mixins/Mixin_Application/error_t01.dart
+++ b/Language/Mixins/Mixin_Application/error_t01.dart
@@ -10,7 +10,6 @@
/// compile-time error.
/// @description Checks that it is a compile-time error if S and M declare
/// getter and method with the same names
-/// @compile-error
/// @author sgrekhov@unipro.ru
/// @issue 23878
@@ -24,6 +23,9 @@
}
class C = S with M;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C().m;
diff --git a/Language/Mixins/Mixin_Application/error_t02.dart b/Language/Mixins/Mixin_Application/error_t02.dart
index 4b5a59b..acf147b 100644
--- a/Language/Mixins/Mixin_Application/error_t02.dart
+++ b/Language/Mixins/Mixin_Application/error_t02.dart
@@ -10,7 +10,6 @@
/// compile-time error.
/// @description Checks that it is a compile-time error if S and Mi declare
/// getter and method with the same names
-/// @compile-error
/// @author sgrekhov@unipro.ru
/// @issue 23878
@@ -28,6 +27,9 @@
}
class C = S with M1, M2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C().m;
diff --git a/Language/Mixins/Mixin_Application/interfaces_t01.dart b/Language/Mixins/Mixin_Application/interfaces_t01.dart
index 9ced340..12bae75 100644
--- a/Language/Mixins/Mixin_Application/interfaces_t01.dart
+++ b/Language/Mixins/Mixin_Application/interfaces_t01.dart
@@ -7,7 +7,6 @@
/// @description Checks that if the mixin application declares support for
/// interfaces and the resulting class implements those interfaces then no
/// static warning occurs
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Mixins/Mixin_Application/interfaces_t02.dart b/Language/Mixins/Mixin_Application/interfaces_t02.dart
index 586adf7..04ddb53 100644
--- a/Language/Mixins/Mixin_Application/interfaces_t02.dart
+++ b/Language/Mixins/Mixin_Application/interfaces_t02.dart
@@ -8,7 +8,6 @@
/// interfaces and the resulting class implements those interfaces then no
/// static warning occurs. Interface num get g => 0; declared in class S of the
/// S with M
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Mixins/Mixin_Application/interfaces_t03.dart b/Language/Mixins/Mixin_Application/interfaces_t03.dart
index ad8cac3..e6e5590 100644
--- a/Language/Mixins/Mixin_Application/interfaces_t03.dart
+++ b/Language/Mixins/Mixin_Application/interfaces_t03.dart
@@ -7,7 +7,6 @@
/// @description Checks that if the mixin application declares support for
/// interfaces and the resulting class implements those interfaces then no
/// static warning occurs. Interface implementation declared in mixin
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Mixins/Mixin_Application/interfaces_t04.dart b/Language/Mixins/Mixin_Application/interfaces_t04.dart
index 5bbc940..1a3471c 100644
--- a/Language/Mixins/Mixin_Application/interfaces_t04.dart
+++ b/Language/Mixins/Mixin_Application/interfaces_t04.dart
@@ -8,7 +8,6 @@
/// interfaces and the resulting class implements those interfaces then no
/// static warning occurs. Interface implementation declared partially in a
/// mixin, partially in a superclass
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Mixins/Mixin_Application/interfaces_t05.dart b/Language/Mixins/Mixin_Application/interfaces_t05.dart
index 874a4fd..69b444c 100644
--- a/Language/Mixins/Mixin_Application/interfaces_t05.dart
+++ b/Language/Mixins/Mixin_Application/interfaces_t05.dart
@@ -7,7 +7,6 @@
/// @description Checks that if the mixin application declares support for
/// interfaces and the resulting class does not implement those interfaces then
/// compile error occurs
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -22,6 +21,9 @@
}
class C = S with M implements I;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Mixins/Mixin_Application/interfaces_t06.dart b/Language/Mixins/Mixin_Application/interfaces_t06.dart
index 1f9b3fe..21be114 100644
--- a/Language/Mixins/Mixin_Application/interfaces_t06.dart
+++ b/Language/Mixins/Mixin_Application/interfaces_t06.dart
@@ -7,7 +7,6 @@
/// @description Checks that if the mixin application declares support for
/// interfaces and the resulting class implements those interfaces then no
/// static warning occurs. Test type aliases
-/// @static-clean
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
diff --git a/Language/Mixins/Mixin_Application/interfaces_t07.dart b/Language/Mixins/Mixin_Application/interfaces_t07.dart
index 37d2948..904a486 100644
--- a/Language/Mixins/Mixin_Application/interfaces_t07.dart
+++ b/Language/Mixins/Mixin_Application/interfaces_t07.dart
@@ -8,7 +8,6 @@
/// interfaces and the resulting class implements those interfaces then no
/// static warning occurs. Interface implementation declared partially in a
/// mixin, partially in a superclass. Test type alias
-/// @static-clean
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
diff --git a/Language/Mixins/Mixin_Application/superinterfaces_t01.dart b/Language/Mixins/Mixin_Application/superinterfaces_t01.dart
index 2a5a52d..a990b60 100644
--- a/Language/Mixins/Mixin_Application/superinterfaces_t01.dart
+++ b/Language/Mixins/Mixin_Application/superinterfaces_t01.dart
@@ -9,7 +9,6 @@
/// or indirectly, all of T1, . . . , Tn.
/// @description Checks that it is a compile error if S does not implement
/// all the direct superinterfaces of M
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -28,6 +27,9 @@
}
class C extends S with M {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Mixins/Mixin_Application/superinterfaces_t02.dart b/Language/Mixins/Mixin_Application/superinterfaces_t02.dart
index 4ed8e84..ed5d69f 100644
--- a/Language/Mixins/Mixin_Application/superinterfaces_t02.dart
+++ b/Language/Mixins/Mixin_Application/superinterfaces_t02.dart
@@ -10,7 +10,6 @@
/// @description Checks that it is a compile error if C does not implement
/// all the direct superinterfaces of M. Test the case when one direct
/// superinterface is implemented and the second not
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -29,6 +28,9 @@
}
class C extends S with M {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
int get b => 0;
}
diff --git a/Language/Mixins/Mixin_Application/superinterfaces_t03.dart b/Language/Mixins/Mixin_Application/superinterfaces_t03.dart
index 62f6453..a28bf14 100644
--- a/Language/Mixins/Mixin_Application/superinterfaces_t03.dart
+++ b/Language/Mixins/Mixin_Application/superinterfaces_t03.dart
@@ -9,7 +9,6 @@
/// or indirectly, all of T1, . . . , Tn.
/// @description Checks that it is no error if C does implement directly all the
/// direct superinterfaces of M
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Mixins/Mixin_Application/superinterfaces_t04.dart b/Language/Mixins/Mixin_Application/superinterfaces_t04.dart
index e008af1..3299a92 100644
--- a/Language/Mixins/Mixin_Application/superinterfaces_t04.dart
+++ b/Language/Mixins/Mixin_Application/superinterfaces_t04.dart
@@ -9,7 +9,6 @@
/// or indirectly, all of T1, . . . , Tn.
/// @description Checks that it is no error if C does implement
/// indirectly all the direct superinterfaces of M
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Mixins/Mixin_Application/superinterfaces_t05.dart b/Language/Mixins/Mixin_Application/superinterfaces_t05.dart
index 7dfca9b..3540849 100644
--- a/Language/Mixins/Mixin_Application/superinterfaces_t05.dart
+++ b/Language/Mixins/Mixin_Application/superinterfaces_t05.dart
@@ -9,7 +9,6 @@
/// or indirectly, all of T1, . . . , Tn.
/// @description Checks that it is no error if M directly implements all
/// its superinterfaces
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Mixins/Mixin_Application/superinterfaces_t06.dart b/Language/Mixins/Mixin_Application/superinterfaces_t06.dart
index 2589b16..280fb11 100644
--- a/Language/Mixins/Mixin_Application/superinterfaces_t06.dart
+++ b/Language/Mixins/Mixin_Application/superinterfaces_t06.dart
@@ -9,7 +9,6 @@
/// or indirectly, all of T1, . . . , Tn.
/// @description Checks that it is a compile error if M has implicit
/// superinterfaces and C does not implement them
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -29,6 +28,9 @@
}
class C extends S with M {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Mixins/Mixin_Application/superinterfaces_t08.dart b/Language/Mixins/Mixin_Application/superinterfaces_t08.dart
index 08110b4..7738d89 100644
--- a/Language/Mixins/Mixin_Application/superinterfaces_t08.dart
+++ b/Language/Mixins/Mixin_Application/superinterfaces_t08.dart
@@ -9,7 +9,6 @@
/// or indirectly, all of T1, . . . , Tn.
/// @description Checks that it is a compile error if M has a superinterfaces
/// and C does not implement them. Test class C = S with M; syntax
-/// @compile-error
/// @author sgrekhov@unipro.ru
abstract class A {
@@ -27,6 +26,9 @@
}
class C = S with M;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Mixins/Mixin_Application/superinterfaces_t10.dart b/Language/Mixins/Mixin_Application/superinterfaces_t10.dart
index cb9208b..e4fab94 100644
--- a/Language/Mixins/Mixin_Application/superinterfaces_t10.dart
+++ b/Language/Mixins/Mixin_Application/superinterfaces_t10.dart
@@ -9,7 +9,6 @@
/// or indirectly, all of T1, . . . , Tn.
/// @description Checks that it is a compile error if S does not implement
/// all the direct superinterfaces of M. Test type aliases
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -30,6 +29,9 @@
typedef MAlias = M;
class C extends S with MAlias {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Mixins/Mixin_Application/superinterfaces_t11.dart b/Language/Mixins/Mixin_Application/superinterfaces_t11.dart
index ef8a711..826596a 100644
--- a/Language/Mixins/Mixin_Application/superinterfaces_t11.dart
+++ b/Language/Mixins/Mixin_Application/superinterfaces_t11.dart
@@ -9,7 +9,6 @@
/// or indirectly, all of T1, . . . , Tn.
/// @description Checks that it is no error if C does implement directly all the
/// direct superinterfaces of M. Test type aliases
-/// @static-clean
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
diff --git a/Language/Mixins/Mixin_Application/superinterfaces_t12.dart b/Language/Mixins/Mixin_Application/superinterfaces_t12.dart
index 60f608c..5e5ac59 100644
--- a/Language/Mixins/Mixin_Application/superinterfaces_t12.dart
+++ b/Language/Mixins/Mixin_Application/superinterfaces_t12.dart
@@ -9,7 +9,6 @@
/// or indirectly, all of T1, . . . , Tn.
/// @description Checks that it is no error if M directly implements all
/// its superinterfaces
-/// @static-clean
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
diff --git a/Language/Mixins/Mixin_Application/superinterfaces_t13.dart b/Language/Mixins/Mixin_Application/superinterfaces_t13.dart
index ec57e99..6f77048 100644
--- a/Language/Mixins/Mixin_Application/superinterfaces_t13.dart
+++ b/Language/Mixins/Mixin_Application/superinterfaces_t13.dart
@@ -10,7 +10,6 @@
/// @description Checks that it is a compile error if M has implicit
/// superinterfaces and C does not implement them. Test type aliases
/// @issue 26409
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -32,6 +31,9 @@
}
class C extends S with MAlias {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Mixins/Mixin_Application/syntax_t15.dart b/Language/Mixins/Mixin_Application/syntax_t15.dart
index 3d4423d..4d6a475 100644
--- a/Language/Mixins/Mixin_Application/syntax_t15.dart
+++ b/Language/Mixins/Mixin_Application/syntax_t15.dart
@@ -21,7 +21,6 @@
/// In both cases above, C declares the same instance members as M (respec-
/// tively, Mk).
/// @description Test that mixin cannot mixed into itself
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -29,6 +28,9 @@
}
class C = S with C;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Mixins/Mixin_Application/syntax_t20.dart b/Language/Mixins/Mixin_Application/syntax_t20.dart
index dfdab51..01ab3c1 100644
--- a/Language/Mixins/Mixin_Application/syntax_t20.dart
+++ b/Language/Mixins/Mixin_Application/syntax_t20.dart
@@ -22,7 +22,6 @@
/// @description Test that mixin may have type parameters. Test that if there are
/// two members have the same name then it is a compile error
/// @issue 26409
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -39,6 +38,9 @@
}
class C extends S<int> with M<String> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Mixins/Mixin_Application/syntax_t21.dart b/Language/Mixins/Mixin_Application/syntax_t21.dart
index 5b11cd8..bd50f98 100644
--- a/Language/Mixins/Mixin_Application/syntax_t21.dart
+++ b/Language/Mixins/Mixin_Application/syntax_t21.dart
@@ -22,7 +22,6 @@
/// @description Checks that if two members have the same name then it is a
/// compile error
/// @issue 26409
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -39,6 +38,9 @@
class C extends S with M {
String a = "";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Mixins/Mixin_Application/warning_t01.dart b/Language/Mixins/Mixin_Application/warning_t01.dart
index f2f38eb..413b080 100644
--- a/Language/Mixins/Mixin_Application/warning_t01.dart
+++ b/Language/Mixins/Mixin_Application/warning_t01.dart
@@ -8,7 +8,6 @@
/// would cause a compile-time error.
/// @description Checks that it is a compile-time error if Mi declare members
/// with the same names but conflicting types
-/// @compile-error
/// @author sgrekhov@unipro.ru
/// @issue 23878
@@ -22,6 +21,9 @@
}
class C = S with M;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Mixins/Mixin_Application/warning_t02.dart b/Language/Mixins/Mixin_Application/warning_t02.dart
index fd594fd..29d6b3c 100644
--- a/Language/Mixins/Mixin_Application/warning_t02.dart
+++ b/Language/Mixins/Mixin_Application/warning_t02.dart
@@ -8,7 +8,6 @@
/// would cause a compile-time error.
/// @description Checks that it is a compile-time error if Mi declare members
/// with the same names but conflicting types
-/// @compile-error
/// @author sgrekhov@unipro.ru
/// @issue 23878
@@ -26,6 +25,9 @@
}
class C = S with M1, M2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Mixins/Mixin_Application/warning_t03.dart b/Language/Mixins/Mixin_Application/warning_t03.dart
index ea1b15b..5736884 100644
--- a/Language/Mixins/Mixin_Application/warning_t03.dart
+++ b/Language/Mixins/Mixin_Application/warning_t03.dart
@@ -8,7 +8,6 @@
/// would cause a compile-time error.
/// @description Checks that it is a compile-time error if Mi declare members
/// with the same names but conflicting types
-/// @compile-error
/// @author sgrekhov@unipro.ru
/// @issue 23878
@@ -25,6 +24,9 @@
}
class C = S with M1, M2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Mixins/Mixin_Application/warning_t04.dart b/Language/Mixins/Mixin_Application/warning_t04.dart
index 6009422..e57ab95 100644
--- a/Language/Mixins/Mixin_Application/warning_t04.dart
+++ b/Language/Mixins/Mixin_Application/warning_t04.dart
@@ -8,7 +8,6 @@
/// would cause a compile-time error.
/// @description Checks that it is a compile-time error if Mi declare members
/// with the same names but conflicting types. Test type aliases
-/// @compile-error
/// @author sgrekhov@unipro.ru
/// @issue 23878
@@ -28,6 +27,9 @@
typedef MAlias2 = M2;
class C = S with MAlias1, MAlias2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Mixins/Mixin_Application/wrong_mixin_type_t01.dart b/Language/Mixins/Mixin_Application/wrong_mixin_type_t01.dart
index 0d1ba61..d97ee16 100644
--- a/Language/Mixins/Mixin_Application/wrong_mixin_type_t01.dart
+++ b/Language/Mixins/Mixin_Application/wrong_mixin_type_t01.dart
@@ -10,7 +10,6 @@
/// an enumerated type or a malformed type.
/// @description Checks that it is a compile-time error if M is an enumerated
/// type
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -20,6 +19,9 @@
enum M {a, b, c}
class C = S with M;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Mixins/Mixin_Application/wrong_mixin_type_t02.dart b/Language/Mixins/Mixin_Application/wrong_mixin_type_t02.dart
index c1716b3..10db214 100644
--- a/Language/Mixins/Mixin_Application/wrong_mixin_type_t02.dart
+++ b/Language/Mixins/Mixin_Application/wrong_mixin_type_t02.dart
@@ -10,7 +10,6 @@
/// an enumerated type or a malformed type.
/// @description Checks that it is a compile-time error if Mi is an enumerated
/// type
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -23,6 +22,9 @@
enum M2 {a, b, c}
class C = S with M1, M2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Mixins/Mixin_Application/wrong_mixin_type_t03.dart b/Language/Mixins/Mixin_Application/wrong_mixin_type_t03.dart
index 5b50c45..8f63be4 100644
--- a/Language/Mixins/Mixin_Application/wrong_mixin_type_t03.dart
+++ b/Language/Mixins/Mixin_Application/wrong_mixin_type_t03.dart
@@ -9,7 +9,6 @@
/// It is a compile-time error if M (respectively, any of M1,..., Mk) is
/// an enumerated type or a malformed type.
/// @description Checks that it is a compile-time error if M is malformed type
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -19,6 +18,9 @@
var M;
class C = S with M;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Mixins/Mixin_Application/wrong_mixin_type_t04.dart b/Language/Mixins/Mixin_Application/wrong_mixin_type_t04.dart
index 5432faf..b3b457c 100644
--- a/Language/Mixins/Mixin_Application/wrong_mixin_type_t04.dart
+++ b/Language/Mixins/Mixin_Application/wrong_mixin_type_t04.dart
@@ -9,7 +9,6 @@
/// It is a compile-time error if M (respectively, any of M1,..., Mk) is
/// an enumerated type or a malformed type.
/// @description Checks that it is a compile-time error if Mi is malformed type
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -22,6 +21,9 @@
var M2;
class C = S with M1, M2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Mixins/Mixin_Application/wrong_mixin_type_t05.dart b/Language/Mixins/Mixin_Application/wrong_mixin_type_t05.dart
index 14ce67b..bf9ec9a 100644
--- a/Language/Mixins/Mixin_Application/wrong_mixin_type_t05.dart
+++ b/Language/Mixins/Mixin_Application/wrong_mixin_type_t05.dart
@@ -9,7 +9,6 @@
/// It is a compile-time error if M (respectively, any of M1,..., Mk) is
/// an enumerated type or a malformed type.
/// @description Checks that it is a compile-time error if Mi is malformed type
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -22,6 +21,9 @@
}
class C = S with M1, M2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Mixins/Mixin_Application/wrong_mixin_type_t06.dart b/Language/Mixins/Mixin_Application/wrong_mixin_type_t06.dart
index bd2c013..41cfa28 100644
--- a/Language/Mixins/Mixin_Application/wrong_mixin_type_t06.dart
+++ b/Language/Mixins/Mixin_Application/wrong_mixin_type_t06.dart
@@ -9,7 +9,6 @@
/// It is a compile-time error if M (respectively, any of M1,..., Mk) is
/// an enumerated type or a malformed type.
/// @description Checks that it is a compile-time error if Mi is malformed type
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -25,6 +24,9 @@
}
class C = S with M1, M2, M3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Mixins/Mixin_Application/wrong_mixin_type_t07.dart b/Language/Mixins/Mixin_Application/wrong_mixin_type_t07.dart
index e0421ac..429ee80 100644
--- a/Language/Mixins/Mixin_Application/wrong_mixin_type_t07.dart
+++ b/Language/Mixins/Mixin_Application/wrong_mixin_type_t07.dart
@@ -10,7 +10,6 @@
/// an enumerated type or a malformed type.
/// @description Checks that it is a compile-time error if class extends mixin
/// application where M is an enumerated type
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -20,6 +19,9 @@
enum M {a, b, c}
class C extends S with M {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Mixins/Mixin_Application/wrong_mixin_type_t08.dart b/Language/Mixins/Mixin_Application/wrong_mixin_type_t08.dart
index c6dc58e..fdd704a 100644
--- a/Language/Mixins/Mixin_Application/wrong_mixin_type_t08.dart
+++ b/Language/Mixins/Mixin_Application/wrong_mixin_type_t08.dart
@@ -10,7 +10,6 @@
/// an enumerated type or a malformed type.
/// @description Checks that it is a compile-time error if extends mixin
/// application where M is malformed type
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -20,6 +19,9 @@
var M;
class C extends S with M {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Mixins/Mixin_Application/wrong_mixin_type_t09.dart b/Language/Mixins/Mixin_Application/wrong_mixin_type_t09.dart
index e8b1333..e159427 100644
--- a/Language/Mixins/Mixin_Application/wrong_mixin_type_t09.dart
+++ b/Language/Mixins/Mixin_Application/wrong_mixin_type_t09.dart
@@ -10,7 +10,6 @@
/// an enumerated type or a malformed type.
/// @description Checks that it is a compile-time error if extends mixin
/// application where M is malformed type. Test type alias
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -22,6 +21,9 @@
var M;
class C extends SAlias with M {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Mixins/Mixin_Application/wrong_type_t01.dart b/Language/Mixins/Mixin_Application/wrong_type_t01.dart
index c0f9ac4..021b829 100644
--- a/Language/Mixins/Mixin_Application/wrong_type_t01.dart
+++ b/Language/Mixins/Mixin_Application/wrong_type_t01.dart
@@ -9,7 +9,6 @@
/// It is a compile-time error if S is an enumerated type or a malformed type.
/// @description Checks that it is a compile-time error if S is an enumerated
/// type
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -19,7 +18,12 @@
}
class C = E with M;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Mixins/Mixin_Application/wrong_type_t02.dart b/Language/Mixins/Mixin_Application/wrong_type_t02.dart
index 8522a34..9b23cd7 100644
--- a/Language/Mixins/Mixin_Application/wrong_type_t02.dart
+++ b/Language/Mixins/Mixin_Application/wrong_type_t02.dart
@@ -8,7 +8,6 @@
/// ...
/// It is a compile-time error if S is an enumerated type or a malformed type.
/// @description Checks that it is a compile-time error if S is a malformed type
-/// @compile-error
/// @author sgrekhov@unipro.ru
var E;
@@ -17,6 +16,9 @@
}
class C = E with M;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Mixins/Mixin_Application/wrong_type_t03.dart b/Language/Mixins/Mixin_Application/wrong_type_t03.dart
index 1e9babe..d59d1ee 100644
--- a/Language/Mixins/Mixin_Application/wrong_type_t03.dart
+++ b/Language/Mixins/Mixin_Application/wrong_type_t03.dart
@@ -8,7 +8,6 @@
/// ...
/// It is a compile-time error if S is an enumerated type or a malformed type.
/// @description Checks that it is a compile-time error if S is a malformed type
-/// @compile-error
/// @author sgrekhov@unipro.ru
var E;
@@ -17,6 +16,9 @@
}
class C extends E with M {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Mixins/Mixin_Application/wrong_type_t04.dart b/Language/Mixins/Mixin_Application/wrong_type_t04.dart
index c483cab..45c0c4c 100644
--- a/Language/Mixins/Mixin_Application/wrong_type_t04.dart
+++ b/Language/Mixins/Mixin_Application/wrong_type_t04.dart
@@ -9,7 +9,6 @@
/// It is a compile-time error if S is an enumerated type or a malformed type.
/// @description Checks that it is a compile-time error if S is an enumerated
/// type
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -19,6 +18,9 @@
}
class C extends E with M {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Mixins/Mixin_Application/wrong_type_t05.dart b/Language/Mixins/Mixin_Application/wrong_type_t05.dart
index 6f867a1..add5b11 100644
--- a/Language/Mixins/Mixin_Application/wrong_type_t05.dart
+++ b/Language/Mixins/Mixin_Application/wrong_type_t05.dart
@@ -9,7 +9,6 @@
/// It is a compile-time error if S is an enumerated type or a malformed type.
/// @description Checks that it is a compile-time error if S is an enumerated
/// type and there are several Mi mixins
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -25,7 +24,12 @@
}
class C = E with M1, M2, M3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Mixins/Mixin_Application/wrong_type_t06.dart b/Language/Mixins/Mixin_Application/wrong_type_t06.dart
index aa91f4f..2edfb20 100644
--- a/Language/Mixins/Mixin_Application/wrong_type_t06.dart
+++ b/Language/Mixins/Mixin_Application/wrong_type_t06.dart
@@ -9,7 +9,6 @@
/// It is a compile-time error if S is an enumerated type or a malformed type.
/// @description Checks that it is a compile-time error if S is an enumerated
/// type and there are several Mi mixins
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -25,6 +24,9 @@
}
class C extends E with M1, M2, M3 {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Mixins/declaring_constructor_t01.dart b/Language/Mixins/declaring_constructor_t01.dart
index 14bd178..c1bce9d 100644
--- a/Language/Mixins/declaring_constructor_t01.dart
+++ b/Language/Mixins/declaring_constructor_t01.dart
@@ -6,7 +6,6 @@
/// explicitly declares a constructor which is not a factory constructor.
/// @description Checks that it is a compile-time error if a derived mixin
/// explicitly declares a constructor.
-/// @compile-error
/// @author kaigorodov, sgrekhov@unipro.ru
@@ -18,6 +17,9 @@
}
class C extends A with M {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Mixins/declaring_constructor_t02.dart b/Language/Mixins/declaring_constructor_t02.dart
index d6f28d4..7895555 100644
--- a/Language/Mixins/declaring_constructor_t02.dart
+++ b/Language/Mixins/declaring_constructor_t02.dart
@@ -6,7 +6,6 @@
/// explicitly declares a constructor which is not a factory constructor.
/// @description Checks that it is a compile-time error if a derived mixin
/// explicitly declares a constructor.
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -18,6 +17,9 @@
}
class C = A with M;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Mixins/declaring_constructor_t03.dart b/Language/Mixins/declaring_constructor_t03.dart
index 867ef86..906ef04 100644
--- a/Language/Mixins/declaring_constructor_t03.dart
+++ b/Language/Mixins/declaring_constructor_t03.dart
@@ -6,7 +6,6 @@
/// explicitly declares a constructor which is not a factory constructor.
/// @description Checks that it is a compile-time error if a derived mixin
/// explicitly declares a constant constructor.
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -18,6 +17,9 @@
}
class C extends A with M {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Mixins/declaring_constructor_t04.dart b/Language/Mixins/declaring_constructor_t04.dart
index 2a6053d..d9bcc40 100644
--- a/Language/Mixins/declaring_constructor_t04.dart
+++ b/Language/Mixins/declaring_constructor_t04.dart
@@ -6,7 +6,6 @@
/// explicitly declares a constructor which is not a factory constructor.
/// @description Checks that it is a compile-time error if a derived mixin
/// explicitly declares a constant constructor.
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -18,6 +17,9 @@
}
class C = A with M;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Mixins/declaring_constructor_t07.dart b/Language/Mixins/declaring_constructor_t07.dart
index 1069d00..83555a7 100644
--- a/Language/Mixins/declaring_constructor_t07.dart
+++ b/Language/Mixins/declaring_constructor_t07.dart
@@ -6,7 +6,6 @@
/// explicitly declares a constructor which is not a factory constructor.
/// @description Checks that it is a compile-time error if a derived mixin
/// explicitly declares a redirecting constructor.
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -19,6 +18,9 @@
}
class C extends A with M {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Mixins/declaring_constructor_t08.dart b/Language/Mixins/declaring_constructor_t08.dart
index ff58e77..6e84b5c 100644
--- a/Language/Mixins/declaring_constructor_t08.dart
+++ b/Language/Mixins/declaring_constructor_t08.dart
@@ -6,7 +6,6 @@
/// explicitly declares a constructor which is not a factory constructor.
/// @description Checks that it is a compile-time error if a derived mixin
/// explicitly declares a redirecting constructor.
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -19,6 +18,9 @@
}
class C = A with M;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Mixins/declaring_constructor_t09.dart b/Language/Mixins/declaring_constructor_t09.dart
index 4eb3850..2840f08 100644
--- a/Language/Mixins/declaring_constructor_t09.dart
+++ b/Language/Mixins/declaring_constructor_t09.dart
@@ -6,7 +6,6 @@
/// explicitly declares a constructor which is not a factory constructor.
/// @description Checks that it is a compile-time error if a derived mixin
/// explicitly declares a named constructor.
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -18,6 +17,9 @@
}
class C extends A with M {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Mixins/declaring_constructor_t10.dart b/Language/Mixins/declaring_constructor_t10.dart
index 0ad117c..fdf64a2 100644
--- a/Language/Mixins/declaring_constructor_t10.dart
+++ b/Language/Mixins/declaring_constructor_t10.dart
@@ -6,7 +6,6 @@
/// explicitly declares a constructor which is not a factory constructor.
/// @description Checks that it is a compile-time error if a derived mixin
/// explicitly declares a named constructor.
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -18,6 +17,9 @@
}
class C = A with M;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new C();
diff --git a/Language/Mixins/declaring_constructor_t11.dart b/Language/Mixins/declaring_constructor_t11.dart
index af0d697..ba5d6c7 100644
--- a/Language/Mixins/declaring_constructor_t11.dart
+++ b/Language/Mixins/declaring_constructor_t11.dart
@@ -6,7 +6,6 @@
/// explicitly declares a constructor which is not a factory constructor.
/// @description Checks that it is a compile-time error if a derived mixin
/// explicitly declares a constructor.
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -20,6 +19,9 @@
typedef MAlias = M;
class C extends A with MAlias {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Overview/Privacy/private_and_public_t02.dart b/Language/Overview/Privacy/private_and_public_t02.dart
index 9923fdc..8806273 100644
--- a/Language/Overview/Privacy/private_and_public_t02.dart
+++ b/Language/Overview/Privacy/private_and_public_t02.dart
@@ -12,11 +12,13 @@
/// public.
/// @description Checks that a private class declaration is inaccessible outside
/// the library.
-/// @compile-error
/// @author msyabro
import "../lib.dart";
main() {
new _InaccessibleClass();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Overview/Privacy/private_and_public_t06.dart b/Language/Overview/Privacy/private_and_public_t06.dart
index 08b5990..f735636 100644
--- a/Language/Overview/Privacy/private_and_public_t06.dart
+++ b/Language/Overview/Privacy/private_and_public_t06.dart
@@ -12,11 +12,13 @@
/// public.
/// @description Checks that a private type declared with typedef is
/// inaccessible outside the library.
-/// @compile-error
/// @author msyabro
import "../lib.dart" as lib;
main() {
(p) {} is lib._inaccessibleFuncType;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Overview/Privacy/private_and_public_t08.dart b/Language/Overview/Privacy/private_and_public_t08.dart
index 4ed9794..bd461b9 100644
--- a/Language/Overview/Privacy/private_and_public_t08.dart
+++ b/Language/Overview/Privacy/private_and_public_t08.dart
@@ -13,7 +13,6 @@
/// @description Checks that access to private instance class members
/// from a script that imports the library where the class is declared results
/// in compile error.
-/// @compile-error
/// @author iefremov
import "../lib.dart";
@@ -21,4 +20,7 @@
main() {
var c = new ClassWithPrivateMembers();
c._var = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Overview/Privacy/private_and_public_t09.dart b/Language/Overview/Privacy/private_and_public_t09.dart
index 1fce97f..bbce85e 100644
--- a/Language/Overview/Privacy/private_and_public_t09.dart
+++ b/Language/Overview/Privacy/private_and_public_t09.dart
@@ -12,7 +12,6 @@
/// public.
/// @description Checks that access to private static field that is
/// not accessible to the current script results in a compile error
-/// @compile-error
/// @author iefremov
/// @issue 42338
@@ -20,4 +19,7 @@
main() {
ClassWithPrivateMembers._staticvar = "1";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Overview/Privacy/private_and_public_t19.dart b/Language/Overview/Privacy/private_and_public_t19.dart
index 7c47480..b101551 100644
--- a/Language/Overview/Privacy/private_and_public_t19.dart
+++ b/Language/Overview/Privacy/private_and_public_t19.dart
@@ -12,11 +12,13 @@
/// public.
/// @description Checks that compile error is produced due to access to
/// a private named constructor that is not accessible to the current script.
-/// @compile-error
/// @author iefremov
import "../lib.dart";
main() {
new ClassWithPrivateMembers._named();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Overview/Privacy/private_and_public_t20.dart b/Language/Overview/Privacy/private_and_public_t20.dart
index 2465d9a..865b952 100644
--- a/Language/Overview/Privacy/private_and_public_t20.dart
+++ b/Language/Overview/Privacy/private_and_public_t20.dart
@@ -12,11 +12,13 @@
/// public.
/// @description Checks that a compile error is produced due to access to
/// a private factory constructor that is not accessible to the current script.
-/// @compile-error
/// @author iefremov
import "../lib.dart";
main() {
new ClassWithPrivateMembers._named2();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Overview/Privacy/private_and_public_t23.dart b/Language/Overview/Privacy/private_and_public_t23.dart
index 5390997..5a0150c 100644
--- a/Language/Overview/Privacy/private_and_public_t23.dart
+++ b/Language/Overview/Privacy/private_and_public_t23.dart
@@ -13,7 +13,6 @@
/// @description Checks that access to private instance class members
/// from a script that imports the library where the class is declared result
/// in a compile error
-/// @compile-error
/// @author iefremov
import "../lib.dart";
@@ -21,4 +20,7 @@
main() {
var c = new ClassWithPrivateMembers();
c._finalvar;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Overview/Privacy/private_and_public_t24.dart b/Language/Overview/Privacy/private_and_public_t24.dart
index cc30bea..353ef72 100644
--- a/Language/Overview/Privacy/private_and_public_t24.dart
+++ b/Language/Overview/Privacy/private_and_public_t24.dart
@@ -13,7 +13,6 @@
/// @description Checks that access to private instance class members
/// from a script that imports the library where the class is declared result
/// in a compile error
-/// @compile-error
/// @author iefremov
import "../lib.dart";
@@ -21,4 +20,7 @@
main() {
var c = new ClassWithPrivateMembers();
c._getter;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Overview/Privacy/private_and_public_t25.dart b/Language/Overview/Privacy/private_and_public_t25.dart
index ba23e4f..093329f 100644
--- a/Language/Overview/Privacy/private_and_public_t25.dart
+++ b/Language/Overview/Privacy/private_and_public_t25.dart
@@ -13,7 +13,6 @@
/// @description Checks that access to private instance class members
/// from a script that imports the library where the class is declared result
/// in a compile error
-/// @compile-error
/// @author iefremov
import "../lib.dart";
@@ -21,4 +20,7 @@
main() {
var c = new ClassWithPrivateMembers();
c._setter = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Overview/Scoping/conflicting_names_t01.dart b/Language/Overview/Scoping/conflicting_names_t01.dart
index e513ce8..39cd5fc 100644
--- a/Language/Overview/Scoping/conflicting_names_t01.dart
+++ b/Language/Overview/Scoping/conflicting_names_t01.dart
@@ -10,15 +10,21 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a variable and a
/// function with the same name are declared within the library scope.
-/// @compile-error
/// @author msyabro
var conflictingName;
conflictingName(p1) {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
conflictingName = 1;
+// ^
+// [cfe] unspecified
conflictingName(1);
+//^
+// [cfe] unspecified
}
diff --git a/Language/Overview/Scoping/conflicting_names_t02.dart b/Language/Overview/Scoping/conflicting_names_t02.dart
index b68e160..9ff93d5 100644
--- a/Language/Overview/Scoping/conflicting_names_t02.dart
+++ b/Language/Overview/Scoping/conflicting_names_t02.dart
@@ -10,15 +10,22 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a variable and a
/// class with the same name are declared within the library scope.
-/// @compile-error
/// @author msyabro
var conflictingName;
class conflictingName {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
conflictingName = 1;
+// ^
+// [cfe] unspecified
new conflictingName();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Overview/Scoping/conflicting_names_t04.dart b/Language/Overview/Scoping/conflicting_names_t04.dart
index 9af2d86..97f377e 100644
--- a/Language/Overview/Scoping/conflicting_names_t04.dart
+++ b/Language/Overview/Scoping/conflicting_names_t04.dart
@@ -10,15 +10,22 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a variable and a
/// typedef declaration with the same name are declared within the library scope.
-/// @compile-error
/// @author msyabro
var conflictingName;
typedef conflictingName();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
conflictingName = 1;
+// ^
+// [cfe] unspecified
conflictingName func = () {};
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Overview/Scoping/conflicting_names_t05.dart b/Language/Overview/Scoping/conflicting_names_t05.dart
index 6ab8e38..fe36764 100644
--- a/Language/Overview/Scoping/conflicting_names_t05.dart
+++ b/Language/Overview/Scoping/conflicting_names_t05.dart
@@ -10,15 +10,22 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a function and a
/// typedef declaration with the same name are declared within the library scope.
-/// @compile-error
/// @author msyabro
void conflictingName() {}
typedef conflictingName();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
conflictingName();
+//^
+// [cfe] unspecified
conflictingName func = () {};
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Overview/Scoping/conflicting_names_t06.dart b/Language/Overview/Scoping/conflicting_names_t06.dart
index 6fc17a0..e5186c3 100644
--- a/Language/Overview/Scoping/conflicting_names_t06.dart
+++ b/Language/Overview/Scoping/conflicting_names_t06.dart
@@ -10,15 +10,22 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a function and a
/// class with the same name are declared within the library scope.
-/// @compile-error
/// @author msyabro
void conflictingName() {}
class conflictingName {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
conflictingName();
+//^
+// [cfe] unspecified
new conflictingName();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Overview/Scoping/conflicting_names_t09.dart b/Language/Overview/Scoping/conflicting_names_t09.dart
index e6cdb21..a2815d1 100644
--- a/Language/Overview/Scoping/conflicting_names_t09.dart
+++ b/Language/Overview/Scoping/conflicting_names_t09.dart
@@ -10,15 +10,22 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a class and a typedef
/// declaration with the same name are declared within the library scope.
-/// @compile-error
/// @author msyabro
class conflictingName {}
typedef conflictingName();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new conflictingName();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
conflictingName func = () {};
+//^
+// [cfe] unspecified
}
diff --git a/Language/Overview/Scoping/conflicting_names_t11.dart b/Language/Overview/Scoping/conflicting_names_t11.dart
index ddc88b0..5a9be93 100644
--- a/Language/Overview/Scoping/conflicting_names_t11.dart
+++ b/Language/Overview/Scoping/conflicting_names_t11.dart
@@ -10,13 +10,17 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if the library scope
/// contains two variables with the same name.
-/// @compile-error
/// @author msyabro
var conflictingName;
var conflictingName;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
conflictingName = 42;
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Overview/Scoping/conflicting_names_t12.dart b/Language/Overview/Scoping/conflicting_names_t12.dart
index ade745e..cfb189f 100644
--- a/Language/Overview/Scoping/conflicting_names_t12.dart
+++ b/Language/Overview/Scoping/conflicting_names_t12.dart
@@ -10,13 +10,17 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if the library scope
/// contains two functions with the same name.
-/// @compile-error
/// @author msyabro
void conflictingName() {}
conflictingName() => 42;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
conflictingName();
+//^
+// [cfe] unspecified
}
diff --git a/Language/Overview/Scoping/conflicting_names_t13.dart b/Language/Overview/Scoping/conflicting_names_t13.dart
index 774f953..375873a 100644
--- a/Language/Overview/Scoping/conflicting_names_t13.dart
+++ b/Language/Overview/Scoping/conflicting_names_t13.dart
@@ -10,13 +10,17 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if the library scope
/// contains two classes with the same name.
-/// @compile-error
/// @author msyabro
class conflictingName {}
class conflictingName implements Map {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new conflictingName();
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Overview/Scoping/conflicting_names_t15.dart b/Language/Overview/Scoping/conflicting_names_t15.dart
index 87220d1..0238bed 100644
--- a/Language/Overview/Scoping/conflicting_names_t15.dart
+++ b/Language/Overview/Scoping/conflicting_names_t15.dart
@@ -10,13 +10,17 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if the library scope
/// contains two typedef declarations with the same name.
-/// @compile-error
/// @author msyabro
typedef conflictingName();
typedef conflictingName(p1, p2);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
conflictingName func = () {};
+//^
+// [cfe] unspecified
}
diff --git a/Language/Overview/Scoping/conflicting_names_t16.dart b/Language/Overview/Scoping/conflicting_names_t16.dart
index d17b0e2..da1c889 100644
--- a/Language/Overview/Scoping/conflicting_names_t16.dart
+++ b/Language/Overview/Scoping/conflicting_names_t16.dart
@@ -10,13 +10,15 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if two variables with
/// the same name are declared in a function scope.
-/// @compile-error
/// @author msyabro
func() {
var conflictingName;
var conflictingName;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Overview/Scoping/conflicting_names_t17.dart b/Language/Overview/Scoping/conflicting_names_t17.dart
index 20df8e1..ec39636 100644
--- a/Language/Overview/Scoping/conflicting_names_t17.dart
+++ b/Language/Overview/Scoping/conflicting_names_t17.dart
@@ -10,13 +10,15 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a function body
/// contains two local functions with the same name.
-/// @compile-error
/// @author msyabro
func() {
conflictingName() {}
conflictingName(p1) {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Overview/Scoping/conflicting_names_t18.dart b/Language/Overview/Scoping/conflicting_names_t18.dart
index beb43a8..a50c09d 100644
--- a/Language/Overview/Scoping/conflicting_names_t18.dart
+++ b/Language/Overview/Scoping/conflicting_names_t18.dart
@@ -10,13 +10,15 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a function body
/// contains a variable and a function with the same name.
-/// @compile-error
/// @author msyabro
func() {
var conflictingName;
conflictingName(p1) {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Overview/Scoping/conflicting_names_t19.dart b/Language/Overview/Scoping/conflicting_names_t19.dart
index 7a2ed21..8572113 100644
--- a/Language/Overview/Scoping/conflicting_names_t19.dart
+++ b/Language/Overview/Scoping/conflicting_names_t19.dart
@@ -10,16 +10,20 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a class contains
/// a variable and a method with the same name.
-/// @compile-error
/// @author msyabro
class C {
var conflictingName;
conflictingName(p1) {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
var c = new C();
c.conflictingName;
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Overview/Scoping/conflicting_names_t20.dart b/Language/Overview/Scoping/conflicting_names_t20.dart
index a2f1c93..b59d7ff 100644
--- a/Language/Overview/Scoping/conflicting_names_t20.dart
+++ b/Language/Overview/Scoping/conflicting_names_t20.dart
@@ -10,16 +10,20 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a class contains
/// two instance variables with the same name.
-/// @compile-error
/// @author msyabro
class C {
var conflictingName;
var conflictingName;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
var c = new C();
c.conflictingName;
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Overview/Scoping/conflicting_names_t21.dart b/Language/Overview/Scoping/conflicting_names_t21.dart
index 5be2dba..81218b4 100644
--- a/Language/Overview/Scoping/conflicting_names_t21.dart
+++ b/Language/Overview/Scoping/conflicting_names_t21.dart
@@ -10,16 +10,20 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a class contains
/// two instance methods with the same name.
-/// @compile-error
/// @author msyabro
class C {
conflictingName() {}
conflictingName(p1) {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
var c = new C();
c.conflictingName;
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Overview/Scoping/conflicting_names_t25.dart b/Language/Overview/Scoping/conflicting_names_t25.dart
index 60981f5..991e4c9 100644
--- a/Language/Overview/Scoping/conflicting_names_t25.dart
+++ b/Language/Overview/Scoping/conflicting_names_t25.dart
@@ -10,7 +10,6 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a block statement
/// contains a variable and a function with the same name.
-/// @compile-error
/// @author msyabro
@@ -18,5 +17,8 @@
{
var conflictingName = 1;
conflictingName(p1) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Overview/Scoping/conflicting_names_t26.dart b/Language/Overview/Scoping/conflicting_names_t26.dart
index 17c070a..c0d89bb 100644
--- a/Language/Overview/Scoping/conflicting_names_t26.dart
+++ b/Language/Overview/Scoping/conflicting_names_t26.dart
@@ -10,7 +10,6 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a block statement
/// contains two variables with the same name.
-/// @compile-error
/// @author msyabro
@@ -18,5 +17,8 @@
{
var conflictingName = 1;
String conflictingName;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Overview/Scoping/conflicting_names_t27.dart b/Language/Overview/Scoping/conflicting_names_t27.dart
index 85ea3ac..9f8171d 100644
--- a/Language/Overview/Scoping/conflicting_names_t27.dart
+++ b/Language/Overview/Scoping/conflicting_names_t27.dart
@@ -10,7 +10,6 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a block statement
/// contains two functions with the same name.
-/// @compile-error
/// @author msyabro
@@ -18,5 +17,8 @@
{
void conflictingName() {}
conflictingName(p1) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Overview/Scoping/conflicting_names_t31.dart b/Language/Overview/Scoping/conflicting_names_t31.dart
index d600412..79574b5 100644
--- a/Language/Overview/Scoping/conflicting_names_t31.dart
+++ b/Language/Overview/Scoping/conflicting_names_t31.dart
@@ -10,10 +10,12 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a local function
/// declares two formal parameters with a same name.
-/// @compile-error
/// @author iefremov
main() {
f(a, a) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Overview/Scoping/conflicting_names_t32.dart b/Language/Overview/Scoping/conflicting_names_t32.dart
index a2bee85..986f7cc 100644
--- a/Language/Overview/Scoping/conflicting_names_t32.dart
+++ b/Language/Overview/Scoping/conflicting_names_t32.dart
@@ -10,10 +10,12 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a local function
/// declares a positional and an optional parameters with the same name.
-/// @compile-error
/// @author iefremov
main() {
f(a, [a]) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Overview/Scoping/conflicting_names_t33.dart b/Language/Overview/Scoping/conflicting_names_t33.dart
index d8fc14e..e02d9f5 100644
--- a/Language/Overview/Scoping/conflicting_names_t33.dart
+++ b/Language/Overview/Scoping/conflicting_names_t33.dart
@@ -10,10 +10,12 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a local function
/// declares two optional parameters with a same name.
-/// @compile-error
/// @author iefremov
main() {
f([a, a]) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Overview/Scoping/conflicting_names_t34.dart b/Language/Overview/Scoping/conflicting_names_t34.dart
index 5b79cd0..8f812ff 100644
--- a/Language/Overview/Scoping/conflicting_names_t34.dart
+++ b/Language/Overview/Scoping/conflicting_names_t34.dart
@@ -10,11 +10,13 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a generic class
/// specifies two type parameters with the same name.
-/// @compile-error
/// @author iefremov
class G<T, T> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
G() {
"" is T;
}
diff --git a/Language/Overview/Scoping/conflicting_names_t35.dart b/Language/Overview/Scoping/conflicting_names_t35.dart
index 9520b14..e8675c7 100644
--- a/Language/Overview/Scoping/conflicting_names_t35.dart
+++ b/Language/Overview/Scoping/conflicting_names_t35.dart
@@ -10,11 +10,13 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a generic typedef
/// specifies two type parameters with the same name.
-/// @compile-error
/// @author iefremov
typedef f<T, T>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f<int, String> foo = () {};
diff --git a/Language/Overview/Scoping/conflicting_names_t37.dart b/Language/Overview/Scoping/conflicting_names_t37.dart
index abb10cd..f9d719c 100644
--- a/Language/Overview/Scoping/conflicting_names_t37.dart
+++ b/Language/Overview/Scoping/conflicting_names_t37.dart
@@ -10,10 +10,12 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a variable
/// declaration statement declares two identically named variables.
-/// @compile-error
/// @author iefremov
main() {
int i, i;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Overview/Scoping/conflicting_names_t38.dart b/Language/Overview/Scoping/conflicting_names_t38.dart
index 5cb16dc..94da014 100644
--- a/Language/Overview/Scoping/conflicting_names_t38.dart
+++ b/Language/Overview/Scoping/conflicting_names_t38.dart
@@ -10,10 +10,12 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error when a variable
/// declaration statement in a for loop declares two identically named variables.
-/// @compile-error
/// @author iefremov
main() {
for (int i, i; i < 10; ++i) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Overview/Scoping/conflicting_names_t39.dart b/Language/Overview/Scoping/conflicting_names_t39.dart
index 4858dab..45ab941 100644
--- a/Language/Overview/Scoping/conflicting_names_t39.dart
+++ b/Language/Overview/Scoping/conflicting_names_t39.dart
@@ -10,11 +10,13 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a typedef declaration
/// declares two identically named optional parameters.
-/// @compile-error
/// @author iefremov
typedef f([x, x]);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
(([x, xx]) {}) is f;
diff --git a/Language/Overview/Scoping/conflicting_names_t40.dart b/Language/Overview/Scoping/conflicting_names_t40.dart
index cb30fa9..4099818 100644
--- a/Language/Overview/Scoping/conflicting_names_t40.dart
+++ b/Language/Overview/Scoping/conflicting_names_t40.dart
@@ -10,11 +10,13 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a typedef declaration
/// declares a positional and an optional parameter using the same name.
-/// @compile-error
/// @author iefremov
typedef f(x, [x]);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f foo = (x, [y]) {};
diff --git a/Language/Overview/Scoping/conflicting_names_t41.dart b/Language/Overview/Scoping/conflicting_names_t41.dart
index 1b4b894..df8f37b 100644
--- a/Language/Overview/Scoping/conflicting_names_t41.dart
+++ b/Language/Overview/Scoping/conflicting_names_t41.dart
@@ -10,11 +10,13 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a typedef declaration
/// declares two identically named parameters.
-/// @compile-error
/// @author iefremov
typedef f(x, x);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f foo = (x, y) {};
diff --git a/Language/Overview/Scoping/conflicting_names_t43.dart b/Language/Overview/Scoping/conflicting_names_t43.dart
index 1e6b6ab..66ce046 100644
--- a/Language/Overview/Scoping/conflicting_names_t43.dart
+++ b/Language/Overview/Scoping/conflicting_names_t43.dart
@@ -10,11 +10,13 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a catch clause
/// declares two identically named parameters.
-/// @compile-error
/// @author iefremov
main() {
try {
} catch (x, x) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Overview/Scoping/conflicting_names_t44.dart b/Language/Overview/Scoping/conflicting_names_t44.dart
index 46efa2e..89e6b57 100644
--- a/Language/Overview/Scoping/conflicting_names_t44.dart
+++ b/Language/Overview/Scoping/conflicting_names_t44.dart
@@ -10,7 +10,6 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a case clause
/// declares two identically named variables.
-/// @compile-error
/// @author iefremov
@@ -19,5 +18,8 @@
case 1:
var z;
var z;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Overview/Scoping/conflicting_names_t45.dart b/Language/Overview/Scoping/conflicting_names_t45.dart
index 7cf65d9..7ff9d87 100644
--- a/Language/Overview/Scoping/conflicting_names_t45.dart
+++ b/Language/Overview/Scoping/conflicting_names_t45.dart
@@ -10,15 +10,21 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a class declares an
/// instance method and an abstract method with the same name.
-/// @compile-error
/// @author iefremov
class A {
+// ^
+// [cfe] unspecified
f() {}
f();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new A().f();
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Overview/Scoping/conflicting_names_t46.dart b/Language/Overview/Scoping/conflicting_names_t46.dart
index f434eaf..8d948de 100644
--- a/Language/Overview/Scoping/conflicting_names_t46.dart
+++ b/Language/Overview/Scoping/conflicting_names_t46.dart
@@ -10,15 +10,19 @@
/// declaration d is in scope if d is available in the current scope.
/// @description Checks that it is a compile-time error if a class declares two
/// identically named constructors.
-/// @compile-error
/// @author iefremov
class A {
A() {}
A() {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new A();
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Overview/Scoping/hiding_declaration_t05.dart b/Language/Overview/Scoping/hiding_declaration_t05.dart
index 578c02d..b6dd1a8 100644
--- a/Language/Overview/Scoping/hiding_declaration_t05.dart
+++ b/Language/Overview/Scoping/hiding_declaration_t05.dart
@@ -8,13 +8,15 @@
/// @description Checks that it is a compile error if a type variable hides
/// a class name declared in an enclosing scope and it's referenced in a static
/// context.
-/// @compile-error
/// @author iefremov
class C {}
class G<C> {
static f() => new C();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Overview/Scoping/hiding_declaration_t06.dart b/Language/Overview/Scoping/hiding_declaration_t06.dart
index a23ed87..4af2c51 100644
--- a/Language/Overview/Scoping/hiding_declaration_t06.dart
+++ b/Language/Overview/Scoping/hiding_declaration_t06.dart
@@ -7,7 +7,6 @@
/// lexically enclosing scope of S.
/// @description Checks that it is a compile error if a type parameter hides
/// a class name declared in an enclosing scope.
-/// @compile-error
/// @author iefremov
@@ -15,6 +14,9 @@
class G<C> {
G() {
new C();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Overview/Scoping/hiding_declaration_t28.dart b/Language/Overview/Scoping/hiding_declaration_t28.dart
index b647b81..3c2a1e1 100644
--- a/Language/Overview/Scoping/hiding_declaration_t28.dart
+++ b/Language/Overview/Scoping/hiding_declaration_t28.dart
@@ -7,7 +7,6 @@
/// lexically enclosing scope of S.
/// @description Checks that a hidden class name can't be used as a type.
/// A compile error is expected.
-/// @compile-error
/// @author msyabro
class C {}
@@ -15,4 +14,7 @@
main() {
var C = 1;
new C();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Comments/documentation_t01.dart b/Language/Reference/Lexical_Rules/Comments/documentation_t01.dart
index 17a8fd0..f30fda7 100644
--- a/Language/Reference/Lexical_Rules/Comments/documentation_t01.dart
+++ b/Language/Reference/Lexical_Rules/Comments/documentation_t01.dart
@@ -8,13 +8,24 @@
/// whitespace do not make a documentation comment start token (or any other kind
/// of comment).
/// @author vasya
-/// @compile-error
/
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
**
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
* Documentation comment
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
*/
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Comments/documentation_t02.dart b/Language/Reference/Lexical_Rules/Comments/documentation_t02.dart
index 3c4026c..9b3c185 100644
--- a/Language/Reference/Lexical_Rules/Comments/documentation_t02.dart
+++ b/Language/Reference/Lexical_Rules/Comments/documentation_t02.dart
@@ -7,13 +7,16 @@
/// @description Checks that asterisk and slash characters separated by
/// whitespace do not make a documentation comment end token.
/// @author vasya
-/// @compile-error
/**
+//^
+// [cfe] unspecified
* Documentation comment
*
/
main() {
}
+// [error line 22, column 0]
+// [analyzer] unspecified
\ No newline at end of file
diff --git a/Language/Reference/Lexical_Rules/Comments/documentation_t03.dart b/Language/Reference/Lexical_Rules/Comments/documentation_t03.dart
index e08664b..f64bbf6 100644
--- a/Language/Reference/Lexical_Rules/Comments/documentation_t03.dart
+++ b/Language/Reference/Lexical_Rules/Comments/documentation_t03.dart
@@ -7,11 +7,14 @@
/// @description Checks that it is a compile-time error when a documentation
/// comment does not have the end token, regardless of whether or not it contains
/// single- and multi-line comment start tokens.
-/// @compile-error
/// @author vasya
/** Documentation comment
+//^
+// [cfe] unspecified
main() {
}
+// [error line 20, column 0]
+// [analyzer] unspecified
\ No newline at end of file
diff --git a/Language/Reference/Lexical_Rules/Comments/documentation_t04.dart b/Language/Reference/Lexical_Rules/Comments/documentation_t04.dart
index 91a75d3..315f370 100644
--- a/Language/Reference/Lexical_Rules/Comments/documentation_t04.dart
+++ b/Language/Reference/Lexical_Rules/Comments/documentation_t04.dart
@@ -7,13 +7,16 @@
/// @description Checks that it is a compile-time error when a documentation
/// comment does not have the end token, regardless of whether or not it contains
/// single- and multi-line comment start tokens.
-/// @compile-error
/// @author vasya
/**
+//^
+// [cfe] unspecified
* Documentation comment
/*
main() {
}
+// [error line 22, column 0]
+// [analyzer] unspecified
\ No newline at end of file
diff --git a/Language/Reference/Lexical_Rules/Comments/documentation_t05.dart b/Language/Reference/Lexical_Rules/Comments/documentation_t05.dart
index 0a20d69..26f170a 100644
--- a/Language/Reference/Lexical_Rules/Comments/documentation_t05.dart
+++ b/Language/Reference/Lexical_Rules/Comments/documentation_t05.dart
@@ -7,13 +7,16 @@
/// @description Checks that it is a compile-time error when a documentation
/// comment does not have the end token, regardless of whether or not it contains
/// single- and multi-line comment start tokens.
-/// @compile-error
/// @author vasya
/**
+//^
+// [cfe] unspecified
* Documentation comment
//
main() {
}
+// [error line 22, column 0]
+// [analyzer] unspecified
\ No newline at end of file
diff --git a/Language/Reference/Lexical_Rules/Comments/documentation_t06.dart b/Language/Reference/Lexical_Rules/Comments/documentation_t06.dart
index 52119e6..4b25e20 100644
--- a/Language/Reference/Lexical_Rules/Comments/documentation_t06.dart
+++ b/Language/Reference/Lexical_Rules/Comments/documentation_t06.dart
@@ -7,13 +7,16 @@
/// @description Checks that it is a compile-time error when a documentation
/// comment does not have the end token, regardless of whether or not it contains
/// single- and multi-line comment start tokens.
-/// @compile-error
/// @author vasya
/**
+//^
+// [cfe] unspecified
* Documentation comments.
**
main() {
}
+// [error line 22, column 0]
+// [analyzer] unspecified
\ No newline at end of file
diff --git a/Language/Reference/Lexical_Rules/Comments/documentation_t09.dart b/Language/Reference/Lexical_Rules/Comments/documentation_t09.dart
index 4cf81f5..4b5f085 100644
--- a/Language/Reference/Lexical_Rules/Comments/documentation_t09.dart
+++ b/Language/Reference/Lexical_Rules/Comments/documentation_t09.dart
@@ -6,11 +6,13 @@
/// or '/''*''*'.
/// @description Checks that a slash character followed by whitespace and two
/// more slashes does not make a documentation comment token.
-/// @compile-error
/// @author vasya
/ // Documentation comment
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Comments/documentation_t10.dart b/Language/Reference/Lexical_Rules/Comments/documentation_t10.dart
index 4cf49cf..da19c12 100644
--- a/Language/Reference/Lexical_Rules/Comments/documentation_t10.dart
+++ b/Language/Reference/Lexical_Rules/Comments/documentation_t10.dart
@@ -6,10 +6,11 @@
/// or '/''*''*'.
/// @description Checks that it is a compile-time error when there is an unpaired
/// multi-line comment start token inside a documentation comment.
-/// @compile-error
/**
+//^
+// [cfe] unspecified
/* Comment */
/*/* Nested comment **/ */
/*/* */ /* Unpaired token **/
@@ -17,3 +18,5 @@
main() {
}
+// [error line 22, column 0]
+// [analyzer] unspecified
\ No newline at end of file
diff --git a/Language/Reference/Lexical_Rules/Comments/documentation_t11.dart b/Language/Reference/Lexical_Rules/Comments/documentation_t11.dart
index 2b89d6d..8526d9d 100644
--- a/Language/Reference/Lexical_Rules/Comments/documentation_t11.dart
+++ b/Language/Reference/Lexical_Rules/Comments/documentation_t11.dart
@@ -6,11 +6,12 @@
/// or '/''*''*'.
/// @description Checks that it is a compile-time error when there is an unpaired
/// documentation comment start token inside another documentation comment.
-/// @compile-error
/// @author rodionov
/**
+//^
+// [cfe] unspecified
/* Comment */
/*/* Nested comment **/ */
/*/* */ /** Unpaired token **/
@@ -18,3 +19,5 @@
main() {
}
+// [error line 23, column 0]
+// [analyzer] unspecified
\ No newline at end of file
diff --git a/Language/Reference/Lexical_Rules/Comments/multi_line_t01.dart b/Language/Reference/Lexical_Rules/Comments/multi_line_t01.dart
index 6ae8af1..682f76e 100644
--- a/Language/Reference/Lexical_Rules/Comments/multi_line_t01.dart
+++ b/Language/Reference/Lexical_Rules/Comments/multi_line_t01.dart
@@ -10,11 +10,13 @@
/// ;
/// @description Checks that slash and asterisk characters separated by
/// whitespace do not make a multi-line comment start token.
-/// @compile-error
/// @author vasya
/ * Comment
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Comments/multi_line_t02.dart b/Language/Reference/Lexical_Rules/Comments/multi_line_t02.dart
index a0d2050..6757a19 100644
--- a/Language/Reference/Lexical_Rules/Comments/multi_line_t02.dart
+++ b/Language/Reference/Lexical_Rules/Comments/multi_line_t02.dart
@@ -10,11 +10,13 @@
/// ;
/// @description Checks that it is a compile-time error when a standalone
/// multi-line comment end token is used outside of a string literal.
-/// @compile-error
/// @author vasya
*/
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Comments/multi_line_t03.dart b/Language/Reference/Lexical_Rules/Comments/multi_line_t03.dart
index 79db5e1..e4bd75e 100644
--- a/Language/Reference/Lexical_Rules/Comments/multi_line_t03.dart
+++ b/Language/Reference/Lexical_Rules/Comments/multi_line_t03.dart
@@ -11,11 +11,14 @@
/// @description Checks that it is a compile-time error when a multi-line comment
/// does not have the end token, regardless of whether or not it contains
/// single- and multi-line comment start tokens.
-/// @compile-error
/// @author vasya
/* Comment
+//^
+// [cfe] unspecified
main() {
}
+// [error line 24, column 0]
+// [analyzer] unspecified
\ No newline at end of file
diff --git a/Language/Reference/Lexical_Rules/Comments/multi_line_t04.dart b/Language/Reference/Lexical_Rules/Comments/multi_line_t04.dart
index 1011a03..4063ad4 100644
--- a/Language/Reference/Lexical_Rules/Comments/multi_line_t04.dart
+++ b/Language/Reference/Lexical_Rules/Comments/multi_line_t04.dart
@@ -11,11 +11,14 @@
/// @description Checks that it is a compile-time error when a multi-line comment
/// does not have the end token, regardless of whether or not it contains
/// single- and multi-line comment start tokens.
-/// @compile-error
/// @author vasya
/* Comment //
+//^
+// [cfe] unspecified
main() {
}
+// [error line 24, column 0]
+// [analyzer] unspecified
\ No newline at end of file
diff --git a/Language/Reference/Lexical_Rules/Comments/multi_line_t05.dart b/Language/Reference/Lexical_Rules/Comments/multi_line_t05.dart
index d1e4097..8abe56a 100644
--- a/Language/Reference/Lexical_Rules/Comments/multi_line_t05.dart
+++ b/Language/Reference/Lexical_Rules/Comments/multi_line_t05.dart
@@ -11,11 +11,14 @@
/// @description Checks that it is a compile-time error when a multi-line comment
/// does not have the end token, regardless of whether or not it contains
/// single- and multi-line comment start tokens.
-/// @compile-error
/// @author vasya
/* Comment /*
+//^
+// [cfe] unspecified
main() {
}
+// [error line 24, column 0]
+// [analyzer] unspecified
\ No newline at end of file
diff --git a/Language/Reference/Lexical_Rules/Comments/multi_line_t06.dart b/Language/Reference/Lexical_Rules/Comments/multi_line_t06.dart
index dc3f43e..b560695 100644
--- a/Language/Reference/Lexical_Rules/Comments/multi_line_t06.dart
+++ b/Language/Reference/Lexical_Rules/Comments/multi_line_t06.dart
@@ -10,11 +10,12 @@
/// ;
/// @description Checks that it is a compile-time error when there is an unpaired
/// multi-line comment start token inside another multi-line comment.
-/// @compile-error
/// @author rodionov
/*
+//^
+// [cfe] unspecified
/* Comment */
/*/* Nested comment **/ */
/*/* */ /* Unpaired token **/
@@ -22,3 +23,5 @@
main() {
}
+// [error line 27, column 0]
+// [analyzer] unspecified
\ No newline at end of file
diff --git a/Language/Reference/Lexical_Rules/Comments/multi_line_t07.dart b/Language/Reference/Lexical_Rules/Comments/multi_line_t07.dart
index 5fcec73..3577db7 100644
--- a/Language/Reference/Lexical_Rules/Comments/multi_line_t07.dart
+++ b/Language/Reference/Lexical_Rules/Comments/multi_line_t07.dart
@@ -10,7 +10,6 @@
/// ;
/// @description Checks that it is a compile-time error when there is an unpaired
/// multi-line comment end token inside another multi-line comment.
-/// @compile-error
/// @author rodionov
@@ -18,7 +17,13 @@
/* Comment */
/*/* Nested comment **/ */
*/ Unpaired token /* */
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
*/
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Comments/single_line_t01.dart b/Language/Reference/Lexical_Rules/Comments/single_line_t01.dart
index 6d10aaa..c82cc10 100644
--- a/Language/Reference/Lexical_Rules/Comments/single_line_t01.dart
+++ b/Language/Reference/Lexical_Rules/Comments/single_line_t01.dart
@@ -10,11 +10,13 @@
/// ;
/// @description Checks that a single leading slash character does not make
/// a single-line comment.
-/// @compile-error
/// @author vasya
/ Invalid code
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Comments/single_line_t02.dart b/Language/Reference/Lexical_Rules/Comments/single_line_t02.dart
index 6808f20..6cd04b0 100644
--- a/Language/Reference/Lexical_Rules/Comments/single_line_t02.dart
+++ b/Language/Reference/Lexical_Rules/Comments/single_line_t02.dart
@@ -10,11 +10,13 @@
/// ;
/// @description Checks that two leading slash characters separated by whitespace
/// do not make a single-line comment.
-/// @compile-error
/// @author vasya
/ / Invalid code
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Comments/single_line_t03.dart b/Language/Reference/Lexical_Rules/Comments/single_line_t03.dart
index 15edb12..0d76cca 100644
--- a/Language/Reference/Lexical_Rules/Comments/single_line_t03.dart
+++ b/Language/Reference/Lexical_Rules/Comments/single_line_t03.dart
@@ -10,11 +10,13 @@
/// ;
/// @description Checks that leading slash and backslash characters do not make
/// a single-line comment.
-/// @compile-error
/// @author vasya
/\ Comment
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Comments/single_line_t04.dart b/Language/Reference/Lexical_Rules/Comments/single_line_t04.dart
index 306d584..edb63cc 100644
--- a/Language/Reference/Lexical_Rules/Comments/single_line_t04.dart
+++ b/Language/Reference/Lexical_Rules/Comments/single_line_t04.dart
@@ -10,12 +10,14 @@
/// ;
/// @description Checks that two leading slash characters do not make the next
/// line a comment as well.
-/// @compile-error
/// @author vasya
// single
line comment
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Comments/single_line_t08.dart b/Language/Reference/Lexical_Rules/Comments/single_line_t08.dart
index 35e7980..566859d 100644
--- a/Language/Reference/Lexical_Rules/Comments/single_line_t08.dart
+++ b/Language/Reference/Lexical_Rules/Comments/single_line_t08.dart
@@ -10,12 +10,20 @@
/// ;
/// @description Checks that a multi-line comment start token is ignored if it
/// is contained in a single-line comment.
-/// @compile-error
/// @author hlodvig
main() {
// single line comment /*
* multi-line comment
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
*/
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/assert_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/assert_t01.dart
index 8dd0597..8c4b022 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/assert_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/assert_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "assert" is used as a class name.
-/// @compile-error
/// @author rodionov
class assert { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is assert;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/assert_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/assert_t02.dart
index 3c0af75..e6d9f38 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/assert_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/assert_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "assert" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<assert> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is assert;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/assert_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/assert_t03.dart
index 35a0367..4b74a34 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/assert_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/assert_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "assert" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void assert();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is assert;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/assert_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/assert_t04.dart
index 02a1fa6..e644d2a 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/assert_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/assert_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "assert" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int assert = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().assert is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/assert_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/assert_t05.dart
index eca320f..5ff7b8e 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/assert_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/assert_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "assert" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void assert() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
assert();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/assert_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/assert_t06.dart
index 9de7b6f..e960996 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/assert_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/assert_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "assert" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
assert:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break assert;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/assert_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/assert_t07.dart
index 35d3d8e..46f9c46 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/assert_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/assert_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "assert" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void assert() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.assert();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/assert_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/assert_t08.dart
index 7e30d92..fd07d19 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/assert_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/assert_t08.dart
@@ -7,12 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "assert" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var assert) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/assert_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/assert_t09.dart
index e79177c..4d096ad 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/assert_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/assert_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "assert" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (assert) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/assert_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/assert_t10.dart
index 463a10a..22e244f 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/assert_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/assert_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "assert" is used as a library name.
-/// @compile-error
/// @author rodionov
library assert;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/assert_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/assert_t11.dart
index b2b30b9..11c4581 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/assert_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/assert_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "assert" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as assert;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/assert_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/assert_t12.dart
index 8a673f8..47ae34c 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/assert_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/assert_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "assert" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "assert_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/break_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/break_t01.dart
index 5462967..cae3269 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/break_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/break_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "break" is used as a class name.
-/// @compile-error
/// @author vasya
class break { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/break_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/break_t02.dart
index 4dbdecf..ad7da09 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/break_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/break_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "break" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<break> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/break_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/break_t03.dart
index 0215c0d..0f5f875 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/break_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/break_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "break" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void break();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/break_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/break_t04.dart
index 6c75d02..693402d 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/break_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/break_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "break" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int break = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().break is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/break_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/break_t05.dart
index 373dea2..9875026 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/break_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/break_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "break" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void break() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
break();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/break_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/break_t06.dart
index 246bec9..b389415 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/break_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/break_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "break" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
break:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/break_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/break_t07.dart
index 760e69d..e6db628 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/break_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/break_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "break" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void break() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.break();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/break_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/break_t08.dart
index 2f333cb..0be7071 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/break_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/break_t08.dart
@@ -7,12 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "break" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var break) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/break_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/break_t09.dart
index 7095421..8b4ba74 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/break_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/break_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "break" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (break) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/break_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/break_t10.dart
index 2938cf4..fa1083c 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/break_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/break_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "break" is used as a library name.
-/// @compile-error
/// @author rodionov
library break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/break_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/break_t11.dart
index ac3cdd8..b4f49fd 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/break_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/break_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "break" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/break_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/break_t12.dart
index bfb1217..15623d8 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/break_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/break_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "break" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "break_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/case_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/case_t01.dart
index b136011..2ada23e 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/case_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/case_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "case" is used as a class name.
-/// @compile-error
/// @author vasya
class case { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is case;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/case_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/case_t02.dart
index 79e13f4..93a020f 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/case_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/case_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "case" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<case> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is case;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/case_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/case_t03.dart
index 0372030..3665c0a 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/case_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/case_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "case" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void case();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is case;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/case_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/case_t04.dart
index 8fc4cfb..065c3f0 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/case_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/case_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "case" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int case = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().case is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/case_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/case_t05.dart
index 9e63fb2..209747d 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/case_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/case_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "case" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void case() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
case();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/case_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/case_t06.dart
index c5a6fda..eb235b8 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/case_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/case_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "case" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
case:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break case;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/case_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/case_t07.dart
index 01628a6..8c7ef06 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/case_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/case_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "case" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void case() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.case();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/case_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/case_t08.dart
index 70586a2..2ccbf82 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/case_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/case_t08.dart
@@ -7,11 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "case" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var case) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/case_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/case_t09.dart
index 8754f21..681b251 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/case_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/case_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "case" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (case) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/case_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/case_t10.dart
index 9e85093..2f8e65b 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/case_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/case_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "case" is used as a library name.
-/// @compile-error
/// @author rodionov
library case;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/case_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/case_t11.dart
index 25e2bf3..b5567bf 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/case_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/case_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "case" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as case;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/case_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/case_t12.dart
index 64f8222..f2a6d60 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/case_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/case_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "case" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "case_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/catch_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/catch_t01.dart
index e837507..c798f93 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/catch_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/catch_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "catch" is used as a class name.
-/// @compile-error
/// @author vasya
class catch { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is catch;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/catch_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/catch_t02.dart
index 94139d3..c5d51d2 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/catch_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/catch_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "catch" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<catch> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is catch;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/catch_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/catch_t03.dart
index 07bae1f..100e093 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/catch_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/catch_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "catch" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void catch();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is catch;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/catch_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/catch_t04.dart
index 6a501f6..e00e17e 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/catch_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/catch_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "catch" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int catch = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().catch is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/catch_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/catch_t05.dart
index cca125c..8021291 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/catch_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/catch_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "catch" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void catch() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
catch();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/catch_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/catch_t06.dart
index 9936bb7..2588a4f 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/catch_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/catch_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "catch" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
catch:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break catch;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/catch_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/catch_t07.dart
index b6eedb1..f162d64 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/catch_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/catch_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "catch" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void catch() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.catch();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/catch_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/catch_t08.dart
index 0771992..4e03d23 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/catch_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/catch_t08.dart
@@ -7,11 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "catch" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var catch) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/catch_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/catch_t09.dart
index b84fa7c..c219d60 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/catch_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/catch_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "catch" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (catch) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/catch_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/catch_t10.dart
index 91a8a0f..2d1ea0f 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/catch_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/catch_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "catch" is used as a library name.
-/// @compile-error
/// @author rodionov
library catch;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/catch_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/catch_t11.dart
index c51a659..7fd0cdd 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/catch_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/catch_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "catch" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as catch;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/catch_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/catch_t12.dart
index ae1f8af..12b5bdf 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/catch_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/catch_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "catch" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "catch_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/class_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/class_t01.dart
index 7edd7f8..72333c8 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/class_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/class_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "class" is used as a class name.
-/// @compile-error
/// @author vasya
class class {} // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is class;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/class_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/class_t02.dart
index 471449e..f8859c7 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/class_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/class_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "class" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<class> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is class;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/class_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/class_t03.dart
index f89fa04..4514c13 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/class_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/class_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "class" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void class();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is class;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/class_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/class_t04.dart
index 2abe83e..0995407 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/class_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/class_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "class" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int class = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().class is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/class_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/class_t05.dart
index a08b3ca..7b27421 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/class_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/class_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "class" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void class() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/class_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/class_t06.dart
index 8bdd948..03e28d5 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/class_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/class_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "class" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
class:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break class;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/class_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/class_t07.dart
index dfbb4d7..86e4394 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/class_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/class_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "class" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void class() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.class();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/class_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/class_t08.dart
index cf2005f..a00fb87 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/class_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/class_t08.dart
@@ -7,11 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "class" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var class) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/class_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/class_t09.dart
index 9a38639..4fbc0cd 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/class_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/class_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "class" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (class) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/class_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/class_t10.dart
index f340798..454141d 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/class_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/class_t10.dart
@@ -7,10 +7,15 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "class" is used as a library name.
-/// @compile-error
/// @author rodionov
library class;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/class_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/class_t11.dart
index 9901bb7..b80df48 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/class_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/class_t11.dart
@@ -8,10 +8,15 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "class" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as class;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/class_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/class_t12.dart
index 3e7f6e2..2c7cb0a 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/class_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/class_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "class" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "class_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/const_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/const_t01.dart
index a9208be..6cb456a 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/const_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/const_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "const" is used as a class name.
-/// @compile-error
/// @author vasya
class const { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is const;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/const_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/const_t02.dart
index d416731..6ae8999 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/const_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/const_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "const" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<const> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is const;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/const_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/const_t03.dart
index 1cc979e..e6789da 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/const_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/const_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "const" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void const();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is const;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/const_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/const_t04.dart
index d5aecc7..a743da8 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/const_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/const_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "const" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int const = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().const is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/const_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/const_t05.dart
index d0dbc72..43885e2 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/const_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/const_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "const" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void const() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
const();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/const_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/const_t06.dart
index 8ea820b..3b05f93 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/const_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/const_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "const" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
const:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break const;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/const_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/const_t07.dart
index 69ba1de..eacaaee 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/const_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/const_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "const" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void const() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.const();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/const_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/const_t08.dart
index 8c93486..c40a6e7 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/const_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/const_t08.dart
@@ -7,12 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "const" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var const) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/const_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/const_t09.dart
index 2720f59..c8ed82b 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/const_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/const_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "const" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (const) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/const_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/const_t10.dart
index 681d308..7e3d0dd 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/const_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/const_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "const" is used as a library name.
-/// @compile-error
/// @author rodionov
library const;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/const_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/const_t11.dart
index d7ee41e..8a048cd 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/const_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/const_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "const" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as const;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/const_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/const_t12.dart
index 45310e3..7602a90 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/const_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/const_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "const" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "const_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/continue_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/continue_t01.dart
index 8b4ee16..8c0a893 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/continue_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/continue_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "continue" is used as a class name.
-/// @compile-error
/// @author vasya
class continue { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is continue;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/continue_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/continue_t02.dart
index 1c3ad20..5d1aefe 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/continue_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/continue_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "continue" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<continue> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is continue;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/continue_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/continue_t03.dart
index 280cae8..e8fae80 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/continue_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/continue_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "continue" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void continue();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is continue;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/continue_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/continue_t04.dart
index 559c2ad..0018457 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/continue_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/continue_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "continue" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int continue = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().continue is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/continue_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/continue_t05.dart
index 987084a..f2a8e37 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/continue_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/continue_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "continue" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void continue() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
continue();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/continue_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/continue_t06.dart
index 7e84dff..fa461a9 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/continue_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/continue_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "continue" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
continue:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break continue;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/continue_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/continue_t07.dart
index b01b529..b925b8b 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/continue_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/continue_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "continue" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void continue() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.continue();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/continue_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/continue_t08.dart
index 968291a..faacf54 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/continue_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/continue_t08.dart
@@ -7,12 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "continue" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var continue) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/continue_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/continue_t09.dart
index fc23851..979a274 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/continue_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/continue_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "continue" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (continue) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/continue_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/continue_t10.dart
index a3818db..0460769 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/continue_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/continue_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "continue" is used as a library name.
-/// @compile-error
/// @author rodionov
library continue;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/continue_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/continue_t11.dart
index 2f41964..273f656 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/continue_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/continue_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "continue" is used as an identifier following a 'show' combinator in an
/// import directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as continue;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/continue_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/continue_t12.dart
index 68fb9fa..59d79ae 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/continue_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/continue_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "continue" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "continue_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/default_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/default_t01.dart
index 77dd324..8370fab 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/default_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/default_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "default" is used as a class name.
-/// @compile-error
/// @author vasya
class default { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is default;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/default_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/default_t02.dart
index 161f3b2..96dd839 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/default_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/default_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "default" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<default> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is default;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/default_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/default_t03.dart
index 2988837..2262dae 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/default_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/default_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "default" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void default();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is default;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/default_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/default_t04.dart
index 3c0b2fe..4637d66 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/default_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/default_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "default" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int default = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().default is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/default_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/default_t05.dart
index 3084de2..a58286e 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/default_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/default_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "default" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void default() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
default ();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/default_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/default_t06.dart
index e7d29bf..624f4aa 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/default_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/default_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "default" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
default:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break default;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/default_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/default_t07.dart
index d9e42fc..a97a257 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/default_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/default_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "default" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void default() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.default();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/default_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/default_t08.dart
index 2de95f3..666f6be 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/default_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/default_t08.dart
@@ -7,11 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "default" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var default) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/default_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/default_t09.dart
index 0b15107..444074f 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/default_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/default_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "default" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (default) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/default_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/default_t10.dart
index 65265e8..1d9609f 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/default_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/default_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "default" is used as a library name.
-/// @compile-error
/// @author rodionov
library default;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/default_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/default_t11.dart
index b246efa..5184cc0 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/default_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/default_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "default" is used as an identifier following a 'show' combinator in an
/// import directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as default;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/default_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/default_t12.dart
index 786d735..c5e89ce 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/default_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/default_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "default" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "default_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/do_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/do_t01.dart
index 0332a21..a73a870 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/do_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/do_t01.dart
@@ -7,12 +7,20 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "do"
/// is used as a class name.
-/// @compile-error
/// @author vasya
class do { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is do;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/do_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/do_t02.dart
index 7de2034..4493053 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/do_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/do_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "do"
/// is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<do> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is do;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/do_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/do_t03.dart
index 50d1ebe..50d6eb4 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/do_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/do_t03.dart
@@ -7,12 +7,20 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "do"
/// is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void do();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is do;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/do_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/do_t04.dart
index 4b32dcc..6a641a4 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/do_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/do_t04.dart
@@ -7,14 +7,22 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "do"
/// is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int do = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().do is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/do_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/do_t05.dart
index 91d75c7..c753ed2 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/do_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/do_t05.dart
@@ -7,11 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "do"
/// is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void do() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/do_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/do_t06.dart
index 4b1f8e1..f8c303a 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/do_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/do_t06.dart
@@ -7,13 +7,21 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "do"
/// is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
do:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break do;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/do_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/do_t07.dart
index 777836f..740eb70 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/do_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/do_t07.dart
@@ -7,14 +7,22 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "do"
/// is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void do() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.do();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/do_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/do_t08.dart
index 336ec9c..9cd0b98 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/do_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/do_t08.dart
@@ -7,12 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "do"
/// is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var do) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/do_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/do_t09.dart
index 225aded..0754327 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/do_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/do_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "do"
/// is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (do) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/do_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/do_t10.dart
index 0a40e0c..341c399 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/do_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/do_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "do"
/// is used as a library name.
-/// @compile-error
/// @author rodionov
library do;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/do_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/do_t11.dart
index b41d6b6..11974ef 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/do_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/do_t11.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "do"
/// is used as an identifier following a 'show' combinator in an import directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as do;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/do_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/do_t12.dart
index 2bfba14..6effec7 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/do_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/do_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "do"
/// is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "do_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/else_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/else_t01.dart
index 470ddef..caf5985 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/else_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/else_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "else" is used as a class name.
-/// @compile-error
/// @author vasya
class else { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is else;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/else_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/else_t02.dart
index 460f626..c4ce167 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/else_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/else_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "else" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<else> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is else;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/else_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/else_t03.dart
index c8672ae..d290e2a 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/else_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/else_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "else" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void else();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is else;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/else_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/else_t04.dart
index 9d86f6b..cde7755 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/else_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/else_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "else" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int else = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().else is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/else_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/else_t05.dart
index b8f32a1..0e60981 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/else_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/else_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "else" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void else() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
else();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/else_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/else_t06.dart
index d04789c..68d1871 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/else_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/else_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "else" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
else:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break else;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/else_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/else_t07.dart
index 6078217..ed6eb2b 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/else_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/else_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "else" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void else() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.else();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/else_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/else_t08.dart
index cf4d022..8c3b008 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/else_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/else_t08.dart
@@ -7,12 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "else" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var else) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/else_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/else_t09.dart
index 660622f..185524a 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/else_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/else_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "else" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (else) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/else_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/else_t10.dart
index 93f0154..665fad3 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/else_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/else_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "else" is used as a library name.
-/// @compile-error
/// @author rodionov
library else;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/else_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/else_t11.dart
index 22b8f1e..81b19f8 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/else_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/else_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "else" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as else;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/else_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/else_t12.dart
index c7b8207..69346b2 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/else_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/else_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "else" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "else_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/enum_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/enum_t01.dart
index 82e3330..b15661e 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/enum_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/enum_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "enum" is used as a class name.
-/// @compile-error
/// @author ngl@unipro.ru
class enum { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is enum;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/enum_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/enum_t02.dart
index 62d1530..6baee6a 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/enum_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/enum_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "enum" is used as a type parameter name.
-/// @compile-error
/// @author ngl@unipro.ru
class A<enum> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is enum;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/enum_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/enum_t03.dart
index 718a833..8b86dd2 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/enum_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/enum_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "enum" is used as a function type alias name.
-/// @compile-error
/// @author ngl@unipro.ru
typedef void enum();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is enum;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/enum_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/enum_t04.dart
index d971bcd..6389bba 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/enum_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/enum_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "enum" is used as a class member (field) name.
-/// @compile-error
/// @author ngl@unipro.ru
class C {
int enum = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().enum is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/enum_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/enum_t05.dart
index 7f9cfd3..2a9f490 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/enum_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/enum_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "enum" is used as a local function name.
-/// @compile-error
/// @author ngl@unipro.ru
main() {
void enum() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
enum();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/enum_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/enum_t06.dart
index 346387f..2242322 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/enum_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/enum_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "enum" is used as a label name.
-/// @compile-error
/// @author ngl@unipro.ru
main() {
enum:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break enum;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/enum_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/enum_t07.dart
index f3d5f46..b104574 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/enum_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/enum_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "enum" is used as a static class member (function) name.
-/// @compile-error
/// @author ngl@unipro.ru
class C {
static void enum() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.enum();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/enum_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/enum_t08.dart
index 791b94d..2d293c7 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/enum_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/enum_t08.dart
@@ -7,11 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "enum" is used as a function parameter name.
-/// @compile-error
/// @author ngl@unipro.ru
void f(var enum) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/enum_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/enum_t09.dart
index 84c4f49..0dce6db 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/enum_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/enum_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "enum" is used as an identifier in a catch clause.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (enum) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/enum_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/enum_t10.dart
index c48b54f..2c78dc4 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/enum_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/enum_t10.dart
@@ -7,10 +7,15 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "enum" is used as a library name.
-/// @compile-error
/// @author ngl@unipro.ru
library enum;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/enum_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/enum_t11.dart
index 3a10532..0ef54fb 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/enum_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/enum_t11.dart
@@ -8,10 +8,15 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "enum" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author ngl@unipro.ru
import "lib.dart" as enum;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/enum_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/enum_t12.dart
index 37f7653..fc6a0b8 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/enum_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/enum_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "enum" is used as an identifier in a part declaration.
-/// @compile-error
/// @author ngl@unipro.ru
+/// @issue 44990
part "enum_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/extends_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/extends_t01.dart
index 91255d1..4c05d45 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/extends_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/extends_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "extends" is used as a class name.
-/// @compile-error
/// @author vasya
class extends {} // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is extends;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/extends_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/extends_t02.dart
index b6cec01..2ec26dd 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/extends_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/extends_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "extends" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<extends> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is extends;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/extends_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/extends_t03.dart
index 61d35e6..2f53bda 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/extends_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/extends_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "extends" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void extends();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is extends;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/extends_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/extends_t04.dart
index 4c031a3..80f1fb9 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/extends_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/extends_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "extends" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int extends = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().extends is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/extends_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/extends_t05.dart
index 9164e35..4718ff8 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/extends_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/extends_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "extends" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void extends() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
extends();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/extends_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/extends_t06.dart
index 01ab7b3..e7bfbd3 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/extends_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/extends_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "extends" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
extends:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break extends;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/extends_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/extends_t07.dart
index 78a782f..e588fd3 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/extends_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/extends_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "extends" sis used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void extends() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.extends();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/extends_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/extends_t08.dart
index 2c15b58..f1382c2 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/extends_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/extends_t08.dart
@@ -7,11 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "extends" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var extends) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/extends_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/extends_t09.dart
index 3ed7df1..96aeb08 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/extends_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/extends_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "extends" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (extends) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/extends_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/extends_t10.dart
index 761c088..3e15a82 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/extends_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/extends_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "extends" is used as a library name.
-/// @compile-error
/// @author rodionov
library extends;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/extends_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/extends_t11.dart
index 6571e70..60f838d 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/extends_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/extends_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "extends" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as extends;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/extends_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/extends_t12.dart
index 86239cb..918e7d6 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/extends_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/extends_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "extends" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "extends_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/false_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/false_t01.dart
index 7dab064..6791182 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/false_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/false_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "false" is used as a class name.
-/// @compile-error
/// @author vasya
class false { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is false;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/false_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/false_t02.dart
index 3e0ada7..75a9cb9 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/false_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/false_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "false" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<false> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is false;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/false_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/false_t03.dart
index 3e8818c..cc02b72 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/false_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/false_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "false" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void false();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is false;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/false_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/false_t04.dart
index ebf1acc..0b828ff 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/false_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/false_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "false" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int false = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().false is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/false_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/false_t05.dart
index 5a68bfa..5f56511 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/false_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/false_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "false" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void false() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
false();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/false_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/false_t06.dart
index c83f775..1090fe0 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/false_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/false_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "false" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
false:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break false;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/false_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/false_t07.dart
index acd1d25..785e7e0 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/false_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/false_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "false" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void false() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.false();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/false_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/false_t08.dart
index 7b03e40..de0c586 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/false_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/false_t08.dart
@@ -7,11 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "false" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var false) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/false_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/false_t09.dart
index 270a51c..ff321f1 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/false_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/false_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "false" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (false) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/false_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/false_t10.dart
index 4c22e19..be62bf1 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/false_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/false_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "false" is used as a library name.
-/// @compile-error
/// @author rodionov
library false;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/false_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/false_t11.dart
index 38cd016..3afc398 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/false_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/false_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "false" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as false;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/false_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/false_t12.dart
index 2638c78..acf0b1d 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/false_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/false_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "false" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "false_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/final_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/final_t01.dart
index 9bb163d..d3252ef 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/final_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/final_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "final" is used as a class name.
-/// @compile-error
/// @author vasya
class final { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is final;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/final_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/final_t02.dart
index 8bd4e51..81c6b36 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/final_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/final_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "final" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<final> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is final;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/final_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/final_t03.dart
index 718de6c..2b56867 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/final_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/final_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "final" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void final();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is final;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/final_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/final_t04.dart
index 9cc5073..6a5c4d3 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/final_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/final_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "final" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int final = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().final is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/final_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/final_t05.dart
index 4f99316..f3457ad 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/final_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/final_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "final" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void final() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
final();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/final_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/final_t06.dart
index 430490a..cc56b5b 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/final_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/final_t06.dart
@@ -7,13 +7,21 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "final" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
final:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
break final;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/final_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/final_t07.dart
index 9ffbe74..1439a3f 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/final_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/final_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "final" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void final() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.final();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/final_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/final_t08.dart
index 05af3ab..b433f5d 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/final_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/final_t08.dart
@@ -7,12 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "final" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var final) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/final_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/final_t09.dart
index 4257a88..5b7d6f3 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/final_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/final_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "final" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (final) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/final_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/final_t10.dart
index a9ed96c..af598f3 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/final_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/final_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "final" is used as a library name.
-/// @compile-error
/// @author rodionov
library final;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/final_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/final_t11.dart
index 0bdfb75..2213de4 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/final_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/final_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "final" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as final;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/final_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/final_t12.dart
index 13f9f9e..7dfde98 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/final_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/final_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "final" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "final_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/finally_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/finally_t01.dart
index 194c094..804513f 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/finally_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/finally_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "finally" is used as a class name.
-/// @compile-error
/// @author vasya
class finally { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is finally;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/finally_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/finally_t02.dart
index 2cdf8aa..ec08bd7 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/finally_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/finally_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "finally" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<finally> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is finally;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/finally_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/finally_t03.dart
index 4efe172..546a2c8 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/finally_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/finally_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "finally" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void finally();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is finally;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/finally_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/finally_t04.dart
index 1f46430..7144709 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/finally_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/finally_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "finally" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int finally = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().finally is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/finally_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/finally_t05.dart
index 758a36b..c88286f 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/finally_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/finally_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "finally" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void finally() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
finally();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/finally_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/finally_t06.dart
index 7d66f9b..49e60e6 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/finally_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/finally_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "finally" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
finally:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break finally;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/finally_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/finally_t07.dart
index 8f96650..12cc3e4 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/finally_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/finally_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "finally" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void finally() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.finally();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/finally_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/finally_t08.dart
index 5c17460..bd8e8bb 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/finally_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/finally_t08.dart
@@ -7,11 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "finally" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var finally) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/finally_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/finally_t09.dart
index 77ed732..cf8ceec 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/finally_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/finally_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "finally" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (finally) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/finally_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/finally_t10.dart
index 2fbd335..ef7865b 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/finally_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/finally_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "finally" is used as a library name.
-/// @compile-error
/// @author rodionov
library finally;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/finally_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/finally_t11.dart
index 5b5be6b..0986963 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/finally_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/finally_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "finally" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as finally;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/finally_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/finally_t12.dart
index fb83cd1..be46bc6 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/finally_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/finally_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "finally" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "finally_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/for_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/for_t01.dart
index 8e6a825..ab914ef 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/for_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/for_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "for" is used as a class name.
-/// @compile-error
/// @author vasya
class for { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is for;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/for_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/for_t02.dart
index 46eb27c..72ef142 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/for_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/for_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "for" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<for> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is for;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/for_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/for_t03.dart
index d4618a0..c5ddbf3 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/for_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/for_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "for" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void for();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is for;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/for_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/for_t04.dart
index a0bd5f2..138233c 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/for_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/for_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "for" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int for = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().for is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/for_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/for_t05.dart
index 20dd026..fb1467e 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/for_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/for_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "for" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void for() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
for();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/for_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/for_t06.dart
index 7fdf877..7ab5714 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/for_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/for_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "for" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
for:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break for;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/for_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/for_t07.dart
index 42a6730..8bc107e 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/for_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/for_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "for" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void for() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.for();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/for_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/for_t08.dart
index 4c0e96d..89520ff 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/for_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/for_t08.dart
@@ -7,12 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "for" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var for) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/for_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/for_t09.dart
index 9aee2ff..34f7a79 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/for_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/for_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "for" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (for) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/for_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/for_t10.dart
index 90a50e7..9a536b5 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/for_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/for_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "for" is used as a library name.
-/// @compile-error
/// @author rodionov
library for;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/for_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/for_t11.dart
index 95d39ed..25a926b 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/for_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/for_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "for" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as for;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/for_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/for_t12.dart
index 8e8ba83..cfb2829 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/for_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/for_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "for" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "for_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/if_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/if_t01.dart
index a1d44f4..25e6ccb 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/if_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/if_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "if"
/// is used as a class name.
-/// @compile-error
/// @author vasya
class if { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is if;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/if_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/if_t02.dart
index 54277fb..a547356 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/if_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/if_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "if"
/// is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<if> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is if;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/if_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/if_t03.dart
index 68a4952..6f2741c 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/if_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/if_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "if"
/// is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void if();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is if;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/if_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/if_t05.dart
index 78f6c79..6865b09 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/if_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/if_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "if"
/// is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void if() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
if();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/if_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/if_t06.dart
index d9d731e..0e09e81 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/if_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/if_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "if"
/// is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
if:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break if;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/if_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/if_t07.dart
index c14489e..b8bcc34 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/if_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/if_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "if"
/// is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void if() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.if();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/if_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/if_t08.dart
index bd0cc64..c7e89ca 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/if_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/if_t08.dart
@@ -7,12 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "if"
/// is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var if) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/if_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/if_t09.dart
index b15405a..280cc57 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/if_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/if_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "if"
/// is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (if) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/if_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/if_t10.dart
index ae97b73..46bb37c 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/if_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/if_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "if"
/// is used as a library name.
-/// @compile-error
/// @author rodionov
library if;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/if_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/if_t11.dart
index d3e8661..92d8f33 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/if_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/if_t11.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "if"
/// is used as an identifier following a 'show' combinator in an import directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as if;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/if_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/if_t12.dart
index cb462cc..c0e6f46 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/if_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/if_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "if"
/// is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "if_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/in_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/in_t01.dart
index e8bbbf5..ce42e8b 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/in_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/in_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "in"
/// is used as a class name.
-/// @compile-error
/// @author vasya
class in { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is in;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/in_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/in_t02.dart
index 0a08d11..ddb3a40 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/in_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/in_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "in"
/// is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<in> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is in;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/in_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/in_t03.dart
index 07c4465..d288e57 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/in_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/in_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "in"
/// is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void in();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is in;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/in_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/in_t04.dart
index 8c730b4..27e13a7 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/in_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/in_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "in"
/// is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int in = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().in is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/in_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/in_t05.dart
index 33cc386..af911b9 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/in_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/in_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "in"
/// is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void in() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
in();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/in_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/in_t06.dart
index b720818..cf0d163 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/in_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/in_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "in"
/// is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
in:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break in;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/in_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/in_t07.dart
index 34db206..c9ee8b4 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/in_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/in_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "in"
/// is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void in() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.in();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/in_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/in_t08.dart
index 37d6742..3759766 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/in_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/in_t08.dart
@@ -7,11 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "in"
/// is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var in) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/in_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/in_t09.dart
index ce45b33..2b902da 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/in_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/in_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "in"
/// is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (in) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/in_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/in_t10.dart
index bc252a0..73cca28 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/in_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/in_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "in"
/// is used as a library name.
-/// @compile-error
/// @author rodionov
library in;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/in_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/in_t11.dart
index 7339690..7b58e51 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/in_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/in_t11.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "in"
/// is used as an identifier following a 'show' combinator in an import directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as in;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/in_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/in_t12.dart
index 2a38ea4..cf1205b 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/in_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/in_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "in"
/// is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "in_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/is_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/is_t01.dart
index 5e2dae8..baa59f8 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/is_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/is_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "is"
/// is used as a class name.
-/// @compile-error
/// @author vasya
class is { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is is;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/is_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/is_t02.dart
index 08e847e..4994d8a 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/is_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/is_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "is"
/// is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<is> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is is;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/is_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/is_t03.dart
index 6a255f2..654b93f 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/is_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/is_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "is"
/// is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void is();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is is;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/is_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/is_t04.dart
index e589724..20b6595 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/is_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/is_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "is"
/// is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int is = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().is is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/is_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/is_t05.dart
index 932a0f2..59379d9 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/is_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/is_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "is"
/// is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void is() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
is();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/is_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/is_t06.dart
index d6044a8..5f58a08 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/is_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/is_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.d.
/// @description Checks that it is a compile-time error when a reserved word "is"
/// is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
is:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break is;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/is_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/is_t07.dart
index b73b4fb..9f13d0e 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/is_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/is_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "is"
/// is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void is() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.is();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/is_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/is_t08.dart
index 3ec4b53..90b99b8 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/is_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/is_t08.dart
@@ -7,11 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "is"
/// is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var is) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/is_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/is_t09.dart
index 9d5698a..0846f15 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/is_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/is_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "is"
/// is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (is) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/is_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/is_t10.dart
index f5aea72..eb590d2 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/is_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/is_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "is"
/// is used as a library name.
-/// @compile-error
/// @author rodionov
library is;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/is_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/is_t11.dart
index 7c924e2..560ebbb 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/is_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/is_t11.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "is"
/// is used as an identifier following a 'show' combinator in an import directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as is;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/is_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/is_t12.dart
index 59bb1c6..8324082 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/is_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/is_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word "is"
/// is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "is_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/new_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/new_t01.dart
index 14cdd84..373f906 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/new_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/new_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "new" is used as a class name.
-/// @compile-error
/// @author vasya
class new { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is new;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/new_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/new_t02.dart
index c735d13..eb87dcd 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/new_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/new_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "new" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<new> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is new;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/new_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/new_t03.dart
index b764300..a402c7e 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/new_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/new_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "new" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void new();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is new;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/new_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/new_t04.dart
index 5835f60..e4b68a2 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/new_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/new_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "new" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int new = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().new is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/new_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/new_t05.dart
index 9269e1f..12d23fd 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/new_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/new_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "new" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void new() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
new();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/new_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/new_t06.dart
index f5f4efb..46a4d65 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/new_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/new_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "new" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
new:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break new;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/new_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/new_t07.dart
index 31378b4..c7ea3b5 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/new_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/new_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "new" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void new() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.new();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/new_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/new_t08.dart
index d52cdad..ced9432 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/new_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/new_t08.dart
@@ -7,11 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "new" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var new) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/new_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/new_t09.dart
index d155db0..046e9a3 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/new_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/new_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "new" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (new) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/new_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/new_t10.dart
index 374ff60..99a3410 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/new_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/new_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "new" is used as a library name.
-/// @compile-error
/// @author rodionov
library new;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/new_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/new_t11.dart
index f33aaf5..4af2149 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/new_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/new_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "new" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as new;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/new_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/new_t12.dart
index 39de9c0..04bbbb2 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/new_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/new_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "new" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "new_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/null_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/null_t01.dart
index af99dc9..9d8dbbe 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/null_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/null_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "null" is used as a class name.
-/// @compile-error
/// @author vasya
class null { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/null_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/null_t02.dart
index db53b06..cf391fe 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/null_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/null_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "null" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<null> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/null_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/null_t03.dart
index 9fb9992..adc309a 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/null_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/null_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "null" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void null();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/null_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/null_t04.dart
index 01b8cbd..7214c92 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/null_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/null_t04.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "null" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
class C {
int null = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().null is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/null_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/null_t05.dart
index 7900494..5cab276 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/null_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/null_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "null" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void null() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
null();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/null_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/null_t06.dart
index f0af905..34c2ebc 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/null_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/null_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "null" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
null:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break null;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/null_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/null_t07.dart
index 4ea8f0e..c616c27 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/null_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/null_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "null" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void null() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.null();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/null_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/null_t08.dart
index c0e638b..cf3e7e6 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/null_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/null_t08.dart
@@ -7,11 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "null" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var null) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/null_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/null_t09.dart
index be63f9a..f8342de 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/null_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/null_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "null" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (null) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/null_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/null_t10.dart
index 9e7ad57..eeebfd8 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/null_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/null_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "null" is used as a library name.
-/// @compile-error
/// @author rodionov
library null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/null_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/null_t11.dart
index d05e325..2795f70 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/null_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/null_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "null" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/null_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/null_t12.dart
index 222c41b..f6f1426 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/null_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/null_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "null" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "null_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t01.dart
index 9ab76cd..ddebbe2 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "rethrow" is used as a class name.
-/// @compile-error
/// @author rodionov
class rethrow { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is rethrow;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t02.dart
index e0beb3d..ff85af4 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "rethrow" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<rethrow> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is rethrow;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t03.dart
index 4011744..8bf501d 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "rethrow" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void rethrow();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is rethrow;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t04.dart
index 0efb424..6e8085d 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "rethrow" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int rethrow = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().rethrow is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t05.dart
index 35d98d9..abe3e8f 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "rethrow" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void rethrow() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
rethrow();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t06.dart
index 41c5745..e4efa0d 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "rethrow" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
rethrow:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break rethrow;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t07.dart
index fbd890d..0f7b3c3 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "rethrow" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void rethrow() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.rethrow();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t08.dart
index c262473..ce16d8d 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t08.dart
@@ -7,11 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "rethrow" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var rethrow) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t09.dart
index b8273df..b41d67c 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "rethrow" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (rethrow) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t10.dart
index 7a68b63..827d73e 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "rethrow" is used as a library name.
-/// @compile-error
/// @author rodionov
library rethrow;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t11.dart
index ee47aad..db3249e 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "rethrow" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as rethrow;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t12.dart
index c7d5184..f3412a5 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/rethrow_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "rethrow" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "rethrow_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/return_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/return_t01.dart
index 0d7761e..5c9e438 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/return_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/return_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "return" is used as a class name.
-/// @compile-error
/// @author vasya
class return { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is return;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/return_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/return_t02.dart
index a8078f0..60bdf15 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/return_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/return_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "return" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<return> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is return;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/return_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/return_t03.dart
index 8da1410..3d63e67 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/return_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/return_t03.dart
@@ -7,12 +7,20 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "return" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void return();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is return;}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/return_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/return_t04.dart
index 54af536..c799b89 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/return_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/return_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "return" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int return = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().return is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/return_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/return_t05.dart
index 0a8db01..2d87ee6 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/return_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/return_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "return" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void return() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
return();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/return_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/return_t06.dart
index 88ee81e..6a80435 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/return_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/return_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "return" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
return:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break return;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/return_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/return_t07.dart
index 9bb30b4..097526e 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/return_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/return_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "return" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void return() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.return();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/return_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/return_t08.dart
index 0020e1f..dd4614a 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/return_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/return_t08.dart
@@ -7,12 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "return" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var return) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/return_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/return_t09.dart
index eb66777..e255d6e 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/return_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/return_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "return" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (return) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/return_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/return_t10.dart
index d2552d2..0f2dcde 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/return_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/return_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "return" is used as a library name.
-/// @compile-error
/// @author rodionov
library return;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/return_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/return_t11.dart
index ecbabeb..8b06bf0 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/return_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/return_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "return" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as return;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/return_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/return_t12.dart
index f4be455..3b3512a 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/return_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/return_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "return" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "return_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/super_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/super_t01.dart
index b6e9c3a..f9a24e7 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/super_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/super_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "super" is used as a class name.
-/// @compile-error
/// @author vasya
class super { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is super;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/super_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/super_t02.dart
index 3ee2fe5..531d289 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/super_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/super_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "super" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<super> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is super;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/super_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/super_t03.dart
index d776ff1..30c3aec 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/super_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/super_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "super is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void super();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is super;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/super_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/super_t04.dart
index 8013f6d..350bf2a 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/super_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/super_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "super" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int super = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().super is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/super_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/super_t05.dart
index 8e2f1fb..47a8d2c 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/super_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/super_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "super" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void super() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
super();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/super_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/super_t06.dart
index 3b29765..24999fc 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/super_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/super_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "super" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
super:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break super;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/super_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/super_t07.dart
index 9d48fa3..f10352a 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/super_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/super_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "super" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void super() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.super();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/super_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/super_t08.dart
index 230bbef..ac0f57d 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/super_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/super_t08.dart
@@ -7,11 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "super" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var super) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/super_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/super_t09.dart
index 34929d5..37f6b52 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/super_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/super_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "super" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (super) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/super_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/super_t10.dart
index 0f14890..60a8f32 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/super_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/super_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "super" is used as a library name.
-/// @compile-error
/// @author rodionov
library super;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/super_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/super_t11.dart
index 1f607b4..e948a2f 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/super_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/super_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "super" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as super;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/super_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/super_t12.dart
index be3b2e3..8cbae64 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/super_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/super_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "super" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "super_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/switch_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/switch_t01.dart
index 41923cd..ef83daf 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/switch_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/switch_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "switch" is used as a class name.
-/// @compile-error
/// @author vasya
class switch { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is switch;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/switch_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/switch_t02.dart
index d37bec5..e92c5ea 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/switch_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/switch_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "switch" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<switch> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is switch;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/switch_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/switch_t03.dart
index efe1311..17dc9bb 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/switch_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/switch_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "switch" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void switch();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is switch;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/switch_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/switch_t04.dart
index c0b2f37..4a1ef24 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/switch_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/switch_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "switch" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int switch = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().switch is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/switch_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/switch_t05.dart
index bc4ba26..2640bb1 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/switch_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/switch_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "switch" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void switch() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
switch():
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/switch_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/switch_t06.dart
index 434efb1..84059b0 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/switch_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/switch_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "switch" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
switch:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break switch;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/switch_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/switch_t07.dart
index e538855..d130c52 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/switch_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/switch_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "switch" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void switch() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.switch();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/switch_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/switch_t08.dart
index 892ceb2..dfeb8ae 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/switch_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/switch_t08.dart
@@ -7,12 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "switch" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var switch) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/switch_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/switch_t09.dart
index 5783e14..04caeb1 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/switch_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/switch_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "switch" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (switch) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/switch_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/switch_t10.dart
index 90ae74a..a53fef9 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/switch_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/switch_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "switch" is used as a library name.
-/// @compile-error
/// @author rodionov
library switch;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/switch_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/switch_t11.dart
index cd5bcfa..63549bb 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/switch_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/switch_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "switch" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as switch;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/switch_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/switch_t12.dart
index 7bd51ce..22129ca 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/switch_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/switch_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "switch" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "switch_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/this_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/this_t01.dart
index 7637861..e64473f 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/this_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/this_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "this" is used as a class name.
-/// @compile-error
/// @author vasya
class this { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is this;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/this_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/this_t02.dart
index 57d56bf..0c424c1 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/this_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/this_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "this" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<this> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is this;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/this_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/this_t03.dart
index 459c747..69a5581 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/this_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/this_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "this" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void this();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is this;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/this_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/this_t04.dart
index 3da2fbb..e4be3cb 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/this_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/this_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "this" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int this = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().this is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/this_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/this_t05.dart
index 346bf99..ed03a3a 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/this_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/this_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "this" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void this() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
this();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/this_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/this_t06.dart
index 11068b9..bfdd908 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/this_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/this_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "this" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
this:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break this;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/this_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/this_t07.dart
index bf5ea76..112c66f 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/this_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/this_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "this" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void this() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.this();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/this_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/this_t08.dart
index 53cfcb0..d760ec6 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/this_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/this_t08.dart
@@ -7,12 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "this" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var this) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/this_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/this_t09.dart
index bdecab3..6ff208c 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/this_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/this_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "this" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (this) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/this_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/this_t10.dart
index 505d92f..7f1020d 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/this_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/this_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "this" is used as a library name.
-/// @compile-error
/// @author rodionov
library this;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/this_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/this_t11.dart
index 665ebda..e0f2267 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/this_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/this_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "this" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as this;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/this_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/this_t12.dart
index 9494330..b637114 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/this_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/this_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "this" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "this_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/throw_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/throw_t01.dart
index e5d5e80..b1ce913 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/throw_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/throw_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "throw" is used as a class name.
-/// @compile-error
/// @author vasya
class throw { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is throw;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/throw_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/throw_t02.dart
index 06e9fc4..df94bb3 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/throw_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/throw_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "throw" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<throw> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is throw;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/throw_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/throw_t03.dart
index 9abf02f..8c90414 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/throw_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/throw_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "throw" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void throw();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is throw;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/throw_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/throw_t04.dart
index 5a0d36d..8e6b682 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/throw_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/throw_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "throw" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int throw = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().throw is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/throw_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/throw_t05.dart
index 48dacce..0a4eb52 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/throw_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/throw_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "throw" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void throw() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
throw();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/throw_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/throw_t06.dart
index 3a7aa39..d7c7415 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/throw_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/throw_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "throw" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
throw:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break throw;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/throw_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/throw_t07.dart
index 5078b6c..205aa3d 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/throw_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/throw_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "throw" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void throw() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.throw();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/throw_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/throw_t08.dart
index 668ab80..b98905e 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/throw_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/throw_t08.dart
@@ -7,11 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "throw" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var throw) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/throw_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/throw_t09.dart
index a702b96..546fb29 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/throw_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/throw_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "throw" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (throw) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/throw_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/throw_t10.dart
index 464395e..b96d164 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/throw_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/throw_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "throw" is used as a library name.
-/// @compile-error
/// @author rodionov
library throw;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/throw_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/throw_t11.dart
index a614c0b..c3da0df 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/throw_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/throw_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "throw" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as throw;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/throw_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/throw_t12.dart
index 7878f22..af29414 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/throw_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/throw_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "throw" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "throw_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/true_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/true_t01.dart
index 6bb9e35..5ffc794 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/true_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/true_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "true" is used as a class name.
-/// @compile-error
/// @author vasya
class true { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is true;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/true_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/true_t02.dart
index 871c476..a3cf452 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/true_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/true_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "true" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<true> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is true;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/true_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/true_t03.dart
index fb708bb..efea492 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/true_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/true_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "true" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void true();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is true;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/true_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/true_t04.dart
index b3532b8..a6034fc 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/true_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/true_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "true" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int true = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().true is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/true_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/true_t05.dart
index cae6ede..4d2858b 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/true_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/true_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "true" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void true() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
true();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/true_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/true_t06.dart
index 58ae703..2a5bc42 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/true_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/true_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "true" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
true:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break true;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/true_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/true_t07.dart
index 4ae1a73..b60425b 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/true_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/true_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "true" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void true() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.true();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/true_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/true_t08.dart
index 0718094..d04bb88 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/true_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/true_t08.dart
@@ -7,11 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "true" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var true) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/true_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/true_t09.dart
index 89c273f..40e9260 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/true_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/true_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "true" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (true) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/true_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/true_t10.dart
index d17c8e1..60de2d6 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/true_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/true_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "true" is used as a library name.
-/// @compile-error
/// @author rodionov
library true;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/true_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/true_t11.dart
index 66f8769..420ed32 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/true_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/true_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "true" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as true;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/true_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/true_t12.dart
index 959578b..983c0a2 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/true_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/true_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "true" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "true_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/try_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/try_t01.dart
index 444217d..2e97fcc 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/try_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/try_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "try" is used as a class name.
-/// @compile-error
/// @author vasya
class try { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is try;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/try_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/try_t02.dart
index dd35680..9112ca9 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/try_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/try_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "try" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<try> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is try;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/try_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/try_t03.dart
index 1ad65ec..860ce6f 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/try_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/try_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "try" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void try();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is try;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/try_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/try_t04.dart
index f78b8ef..34df396 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/try_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/try_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "try" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int try = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().try is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/try_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/try_t05.dart
index e130ea3..fa10ea4 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/try_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/try_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "try" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void try() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
try();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/try_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/try_t06.dart
index effccce..fbcd584 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/try_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/try_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "try" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
try:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break try;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/try_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/try_t07.dart
index 09576d9..92e3956 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/try_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/try_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "try" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void try() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.try();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/try_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/try_t08.dart
index a3008ea..0a21c62 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/try_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/try_t08.dart
@@ -7,12 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "try" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var try) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/try_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/try_t09.dart
index 872beb6..fb244b2 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/try_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/try_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "try" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (try) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/try_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/try_t10.dart
index 9162775..030ea4b 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/try_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/try_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "try" is used as a library name.
-/// @compile-error
/// @author rodionov
library try;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/try_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/try_t11.dart
index aa0f542..fa0004f 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/try_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/try_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "try" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as try;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/try_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/try_t12.dart
index 3227e2b..36c6d19 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/try_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/try_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "try" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "try_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/var_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/var_t01.dart
index eb7c4db..90e026e 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/var_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/var_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "var" is used as a class name.
-/// @compile-error
/// @author vasya
class var { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is var;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/var_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/var_t02.dart
index 20e7edf..562967a 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/var_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/var_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "var" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<var> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is var;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/var_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/var_t03.dart
index c8835b2..1b6da7a 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/var_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/var_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "var" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void var();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is var;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/var_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/var_t04.dart
index 09eed41..e99f34d 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/var_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/var_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "var" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int var = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().var is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/var_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/var_t05.dart
index 5e8267f..bb23bf5 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/var_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/var_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "var" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void var() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
var();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/var_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/var_t06.dart
index de6e62d..c3157d8 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/var_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/var_t06.dart
@@ -7,13 +7,21 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "var" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
var:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
break var;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/var_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/var_t07.dart
index cf4d71d..7f12b88 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/var_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/var_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "var" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void var() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.var();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/var_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/var_t08.dart
index 06cb041..b78d298 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/var_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/var_t08.dart
@@ -7,12 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "var" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var var) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/var_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/var_t09.dart
index 4ca2cd1..3dcdf32 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/var_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/var_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "var" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (var) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/var_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/var_t10.dart
index e245340..dd0a86b 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/var_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/var_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "var" is used as a library name.
-/// @compile-error
/// @author rodionov
library var;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/var_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/var_t11.dart
index 78004e4..80b22fd 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/var_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/var_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "var" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as var;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/var_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/var_t12.dart
index a1cf6ff..d4c176c 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/var_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/var_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "var" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "var_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/void_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/void_t01.dart
index a5b72e4..06e479c 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/void_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/void_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "void" is used as a class name.
-/// @compile-error
/// @author vasya
class void { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is void;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/void_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/void_t02.dart
index bc91954..f9c8ce2 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/void_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/void_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "void" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<void> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is void;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/void_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/void_t03.dart
index 02442a1..6669486 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/void_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/void_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "void" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void void();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is void;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/void_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/void_t04.dart
index 04e2bce..6545687 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/void_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/void_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "void" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int void = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().void is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/void_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/void_t05.dart
index 488972c..5c0b233 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/void_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/void_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "void" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void void() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/void_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/void_t06.dart
index d5de67a..adbef0c 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/void_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/void_t06.dart
@@ -7,13 +7,21 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "void" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
void:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
break void;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/void_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/void_t07.dart
index 9936592..f25aaaf 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/void_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/void_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "void" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void void() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.void();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/void_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/void_t08.dart
index a8cd010..af6724f 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/void_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/void_t08.dart
@@ -7,12 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "void" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var void) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/void_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/void_t09.dart
index 0072c33..c749e0b 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/void_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/void_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "void" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (void) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/void_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/void_t10.dart
index 19aeff9..fb46f4b 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/void_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/void_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "void" is used as a library name.
-/// @compile-error
/// @author rodionov
library void;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/void_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/void_t11.dart
index b2231d3..05811ba 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/void_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/void_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "void" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as void;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/void_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/void_t12.dart
index 648b800..f508bc1 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/void_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/void_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "void" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "void_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/while_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/while_t01.dart
index dd268eb..b3cca81 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/while_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/while_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "while" is used as a class name.
-/// @compile-error
/// @author vasya
class while { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is while;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/while_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/while_t02.dart
index fb60ea2..d2ab5b6 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/while_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/while_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "while" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<while> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is while;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/while_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/while_t03.dart
index ed92963..5100fc1 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/while_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/while_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "while" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void while();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is while;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/while_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/while_t04.dart
index f706795..6f44532 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/while_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/while_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "while" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int while = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().while is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/while_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/while_t05.dart
index de8b0ad..a3b0f82 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/while_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/while_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "while" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void while() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
while();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/while_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/while_t06.dart
index b3139e8..aea9991 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/while_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/while_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "while" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
while:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break while;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/while_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/while_t07.dart
index 84d45ee..f64290c 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/while_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/while_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "while" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void while() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.while();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/while_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/while_t08.dart
index 6bec08c..184d955 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/while_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/while_t08.dart
@@ -7,12 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "while" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var while) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/while_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/while_t09.dart
index db67de5..59a7bc9 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/while_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/while_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "while" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (while) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/while_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/while_t10.dart
index a09a390..485ef4a 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/while_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/while_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "while" is used as a library name.
-/// @compile-error
/// @author rodionov
library while;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/while_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/while_t11.dart
index 823012a..6156171 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/while_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/while_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "while" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as while;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/while_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/while_t12.dart
index d0417f6b..9932246 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/while_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/while_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "while" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "while_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/whitespace_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/whitespace_t02.dart
index 4e5043c..998e724 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/whitespace_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/whitespace_t02.dart
@@ -8,9 +8,11 @@
/// @description Checks that other Unicode whitespaces are not allowed:
/// check VERTICAL TAB (U+000B)
/// @author hlodvig
-/// @compile-error
main() {
varx=1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/whitespace_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/whitespace_t03.dart
index 23b7760..6e95e62 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/whitespace_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/whitespace_t03.dart
@@ -8,9 +8,11 @@
/// @description Checks that other Unicode whitespaces are not allowed:
/// check FORM FEED (U+000C)
/// @author hlodvig
-/// @compile-error
main() {
varx=1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/whitespace_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/whitespace_t04.dart
index cd3b983..d699148 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/whitespace_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/whitespace_t04.dart
@@ -8,9 +8,11 @@
/// @description Checks that other Unicode whitespaces are not allowed:
/// check NO-BREAK SPACE (U+00A0)
/// @author hlodvig
-/// @compile-error
main() {
var x = 1 ;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/with_t01.dart b/Language/Reference/Lexical_Rules/Reserved_Words/with_t01.dart
index 986e254..b5a396b 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/with_t01.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/with_t01.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "with" is used as a class name.
-/// @compile-error
/// @author rodionov
class with { } // error
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is with;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/with_t02.dart b/Language/Reference/Lexical_Rules/Reserved_Words/with_t02.dart
index f2662ff..491c847 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/with_t02.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/with_t02.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "with" is used as a type parameter name.
-/// @compile-error
/// @author rodionov
class A<with> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
bool check(x) => x is with;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/with_t03.dart b/Language/Reference/Lexical_Rules/Reserved_Words/with_t03.dart
index e8cb46e..94f1b8a 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/with_t03.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/with_t03.dart
@@ -7,12 +7,17 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "with" is used as a function type alias name.
-/// @compile-error
/// @author rodionov
typedef void with();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is with;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/with_t04.dart b/Language/Reference/Lexical_Rules/Reserved_Words/with_t04.dart
index 48d54b5..3c67bbd 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/with_t04.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/with_t04.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "with" is used as a class member (field) name.
-/// @compile-error
/// @author rodionov
class C {
int with = 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C().with is int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/with_t05.dart b/Language/Reference/Lexical_Rules/Reserved_Words/with_t05.dart
index b182d8d..2e4237e 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/with_t05.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/with_t05.dart
@@ -7,11 +7,16 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "with" is used as a local function name.
-/// @compile-error
/// @author rodionov
main() {
void with() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
with();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/with_t06.dart b/Language/Reference/Lexical_Rules/Reserved_Words/with_t06.dart
index d1e4f1b..741e062 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/with_t06.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/with_t06.dart
@@ -7,13 +7,18 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "with" is used as a label name.
-/// @compile-error
/// @author rodionov
main() {
with:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
do {
break with;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/with_t07.dart b/Language/Reference/Lexical_Rules/Reserved_Words/with_t07.dart
index 66d7ec0..d669e66 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/with_t07.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/with_t07.dart
@@ -7,14 +7,19 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "with" is used as a static class member (function) name.
-/// @compile-error
/// @author rodionov
class C {
static void with() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C.with();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/with_t08.dart b/Language/Reference/Lexical_Rules/Reserved_Words/with_t08.dart
index 5c0d791..6f4dd51 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/with_t08.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/with_t08.dart
@@ -7,11 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "with" is used as a function parameter name.
-/// @compile-error
/// @author rodionov
void f(var with) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
f(null);
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/with_t09.dart b/Language/Reference/Lexical_Rules/Reserved_Words/with_t09.dart
index 40e6150..21fcfbb 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/with_t09.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/with_t09.dart
@@ -7,7 +7,6 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "with" is used as an identifier in a catch clause.
-/// @compile-error
/// @author rodionov
@@ -15,4 +14,7 @@
try {
int x = 0;
} catch (with) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/with_t10.dart b/Language/Reference/Lexical_Rules/Reserved_Words/with_t10.dart
index f5cd502..1a3c611 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/with_t10.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/with_t10.dart
@@ -7,10 +7,12 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "with" is used as a library name.
-/// @compile-error
/// @author rodionov
library with;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/with_t11.dart b/Language/Reference/Lexical_Rules/Reserved_Words/with_t11.dart
index 019b4d6..ac76362 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/with_t11.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/with_t11.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a compile-time error when a reserved word
/// "with" is used as an identifier following a 'show' combinator in an import
/// directive.
-/// @compile-error
/// @author rodionov
import "lib.dart" as with;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Reference/Lexical_Rules/Reserved_Words/with_t12.dart b/Language/Reference/Lexical_Rules/Reserved_Words/with_t12.dart
index 69794ed..c4085c2 100644
--- a/Language/Reference/Lexical_Rules/Reserved_Words/with_t12.dart
+++ b/Language/Reference/Lexical_Rules/Reserved_Words/with_t12.dart
@@ -7,10 +7,13 @@
/// if a reserved word is used where an identifier is expected.
/// @description Checks that it is a compile-time error when a reserved word
/// "with" is used as an identifier in a part declaration.
-/// @compile-error
/// @author rodionov
+/// @issue 44990
part "with_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void main() {
}
diff --git a/Language/Reference/Lexical_Rules/unicode_t07.dart b/Language/Reference/Lexical_Rules/unicode_t07.dart
index 3dbc96d..c94c3d7 100644
--- a/Language/Reference/Lexical_Rules/unicode_t07.dart
+++ b/Language/Reference/Lexical_Rules/unicode_t07.dart
@@ -6,12 +6,17 @@
/// points.
/// @description Checks that unicode escape sequences cause compile errors when
/// used outside of string literals.
-/// @compile-error
/// @author hlodvig
import "../../../Utils/expect.dart";
main() {
var \u0041 = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
Expect.equals(1, \u0041);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/whitespace_t01.dart b/Language/Reference/Lexical_Rules/whitespace_t01.dart
index 3791772..dac022d 100644
--- a/Language/Reference/Lexical_Rules/whitespace_t01.dart
+++ b/Language/Reference/Lexical_Rules/whitespace_t01.dart
@@ -17,10 +17,12 @@
/// @description Checks that Unicode whitespaces other than WHITESPACE are not
/// permitted in the source code.
/// Checks symbol U+2006.
-/// @compile-error
/// @author iefremov
main() {
// U+2006
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/whitespace_t02.dart b/Language/Reference/Lexical_Rules/whitespace_t02.dart
index 479f4b9..3849413 100644
--- a/Language/Reference/Lexical_Rules/whitespace_t02.dart
+++ b/Language/Reference/Lexical_Rules/whitespace_t02.dart
@@ -17,10 +17,12 @@
/// @description Checks that Unicode whitespaces other than WHITESPACE are not
/// permitted in the source code.
/// Checks symbol U+2029.
-/// @compile-error
/// @author iefremov
main() {
// U+2029
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/whitespace_t03.dart b/Language/Reference/Lexical_Rules/whitespace_t03.dart
index c5f8161..a24c25e 100644
--- a/Language/Reference/Lexical_Rules/whitespace_t03.dart
+++ b/Language/Reference/Lexical_Rules/whitespace_t03.dart
@@ -17,10 +17,12 @@
/// @description Checks that Unicode whitespaces other than WHITESPACE are not
/// permitted in the source code.
/// Checks symbol U+2028.
-/// @compile-error
/// @author iefremov
main() {
// U+2028
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/whitespace_t04.dart b/Language/Reference/Lexical_Rules/whitespace_t04.dart
index 3a5ba26..4d79fb4 100644
--- a/Language/Reference/Lexical_Rules/whitespace_t04.dart
+++ b/Language/Reference/Lexical_Rules/whitespace_t04.dart
@@ -17,10 +17,12 @@
/// @description Checks that Unicode whitespaces other than WHITESPACE are not
/// permitted in the source code.
/// Checks symbol U+000b.
-/// @compile-error
/// @author iefremov
main() {
// U+000b
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/whitespace_t05.dart b/Language/Reference/Lexical_Rules/whitespace_t05.dart
index 5bbc696..410270f 100644
--- a/Language/Reference/Lexical_Rules/whitespace_t05.dart
+++ b/Language/Reference/Lexical_Rules/whitespace_t05.dart
@@ -17,10 +17,12 @@
/// @description Checks that Unicode whitespaces other than WHITESPACE are not
/// permitted in the source code.
/// Checks symbol U+000c.
-/// @compile-error
/// @author iefremov
main() {
// U+000c
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/whitespace_t06.dart b/Language/Reference/Lexical_Rules/whitespace_t06.dart
index 54b299a..4a79ff3 100644
--- a/Language/Reference/Lexical_Rules/whitespace_t06.dart
+++ b/Language/Reference/Lexical_Rules/whitespace_t06.dart
@@ -17,10 +17,12 @@
/// @description Checks that Unicode whitespaces other than WHITESPACE are not
/// permitted in the source code.
/// Checks symbol U+00a0.
-/// @compile-error
/// @author iefremov
main() {
//U+00a0
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/whitespace_t07.dart b/Language/Reference/Lexical_Rules/whitespace_t07.dart
index e9004e7..b8ad31f 100644
--- a/Language/Reference/Lexical_Rules/whitespace_t07.dart
+++ b/Language/Reference/Lexical_Rules/whitespace_t07.dart
@@ -17,10 +17,12 @@
/// @description Checks that Unicode whitespaces other than WHITESPACE are not
/// permitted in the source code.
/// Checks symbol U+1680.
-/// @compile-error
/// @author iefremov
main() {
// U+1680
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/whitespace_t08.dart b/Language/Reference/Lexical_Rules/whitespace_t08.dart
index f31c339..df04c8f 100644
--- a/Language/Reference/Lexical_Rules/whitespace_t08.dart
+++ b/Language/Reference/Lexical_Rules/whitespace_t08.dart
@@ -17,10 +17,12 @@
/// @description Checks that Unicode whitespaces other than WHITESPACE are not
/// permitted in the source code.
/// Checks symbol U+205f.
-/// @compile-error
/// @author iefremov
main() {
// U+205f
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/whitespace_t09.dart b/Language/Reference/Lexical_Rules/whitespace_t09.dart
index aaa76f8..31327d4 100644
--- a/Language/Reference/Lexical_Rules/whitespace_t09.dart
+++ b/Language/Reference/Lexical_Rules/whitespace_t09.dart
@@ -17,10 +17,12 @@
/// @description Checks that Unicode whitespaces other than WHITESPACE are not
/// permitted in the source code.
/// Checks symbol U+3000.
-/// @compile-error
/// @author iefremov
main() {
// U+3000
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Lexical_Rules/whitespace_t11.dart b/Language/Reference/Lexical_Rules/whitespace_t11.dart
index e8db12f..f7f754e 100644
--- a/Language/Reference/Lexical_Rules/whitespace_t11.dart
+++ b/Language/Reference/Lexical_Rules/whitespace_t11.dart
@@ -17,10 +17,12 @@
/// @description Checks that a hex-encoded unicode value (\u000a) appearing in
/// the source text is not translated to a corresponding symbol (like in Java)
/// and therefore produces a compile-time error.
-/// @compile-error
/// @author iefremov
main() {
\u000a
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Operator_Precedence/precedence_05_logical_or_t01.dart b/Language/Reference/Operator_Precedence/precedence_05_logical_or_t01.dart
index 1598c5b..0518515 100644
--- a/Language/Reference/Operator_Precedence/precedence_05_logical_or_t01.dart
+++ b/Language/Reference/Operator_Precedence/precedence_05_logical_or_t01.dart
@@ -8,7 +8,6 @@
/// @description Test that '||' logical OR operator has precedence (5).
/// Compare with if-null '??' operator (precedence 4). Test that '||' has
/// priority higher than '??'
-/// @static-warning
/// @author sgrekhov@unipro.ru
import "../../../Utils/expect.dart";
@@ -24,7 +23,11 @@
main() {
dynamic c = new C();
- c.m("c1") || c.m("c2") ?? c.m("c3") || c.m("c4"); /// static type warning
+ c.m("c1") || c.m("c2") ?? c.m("c3") || c.m("c4");
+// ^^^^^^^^^^^^^^^^^^^^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'bool' which excludes null.
Expect.equals("c1c2", log);
log = "";
diff --git a/Language/Reference/Operator_Precedence/precedence_07_equality_t02.dart b/Language/Reference/Operator_Precedence/precedence_07_equality_t02.dart
index e6d4291..0c08d41 100644
--- a/Language/Reference/Operator_Precedence/precedence_07_equality_t02.dart
+++ b/Language/Reference/Operator_Precedence/precedence_07_equality_t02.dart
@@ -7,7 +7,6 @@
/// Equality == None 7
/// @description Test that '==' equality operator has no associativity. It is
/// compile error to expect any associativity from it
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -26,4 +25,7 @@
C c3 = new C();
C c = c1 == c2 == c3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Operator_Precedence/precedence_07_equality_t03.dart b/Language/Reference/Operator_Precedence/precedence_07_equality_t03.dart
index 4206b38..a9c0cc8 100644
--- a/Language/Reference/Operator_Precedence/precedence_07_equality_t03.dart
+++ b/Language/Reference/Operator_Precedence/precedence_07_equality_t03.dart
@@ -8,10 +8,12 @@
/// @description Test that '==' equality operator has no associativity. It is
/// compile error to expect any associativity from it. Test not overloaded
/// version
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() {
var v = 1 == 2 == 3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Operator_Precedence/precedence_07_equality_t05.dart b/Language/Reference/Operator_Precedence/precedence_07_equality_t05.dart
index 08c8026..e5014b6 100644
--- a/Language/Reference/Operator_Precedence/precedence_07_equality_t05.dart
+++ b/Language/Reference/Operator_Precedence/precedence_07_equality_t05.dart
@@ -7,10 +7,12 @@
/// Equality != None 7
/// @description Test that '!=' equality operator has no associativity. It is
/// compile error to expect any associativity from it
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() {
var v = 1 != 2 != 3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Operator_Precedence/precedence_08_relational_t02.dart b/Language/Reference/Operator_Precedence/precedence_08_relational_t02.dart
index c9eed2a..502444b 100644
--- a/Language/Reference/Operator_Precedence/precedence_08_relational_t02.dart
+++ b/Language/Reference/Operator_Precedence/precedence_08_relational_t02.dart
@@ -7,7 +7,6 @@
/// Relational < None 8
/// @description Test that '<' relational operator has no associativity. It is
/// compile error to expect any associativity from it
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -26,4 +25,7 @@
C c3 = new C();
C c = c1 < c2 < c3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Operator_Precedence/precedence_08_relational_t03.dart b/Language/Reference/Operator_Precedence/precedence_08_relational_t03.dart
index efdffb4..6fe3f6c 100644
--- a/Language/Reference/Operator_Precedence/precedence_08_relational_t03.dart
+++ b/Language/Reference/Operator_Precedence/precedence_08_relational_t03.dart
@@ -8,10 +8,12 @@
/// @description Test that '<' relational operator has no associativity. It is
/// compile error to expect any associativity from it. Test not overloaded
/// operator
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() {
var v = 1 < 2 < 3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Operator_Precedence/precedence_08_relational_t05.dart b/Language/Reference/Operator_Precedence/precedence_08_relational_t05.dart
index f9960ff..864c0b5 100644
--- a/Language/Reference/Operator_Precedence/precedence_08_relational_t05.dart
+++ b/Language/Reference/Operator_Precedence/precedence_08_relational_t05.dart
@@ -7,7 +7,6 @@
/// Relational > None 8
/// @description Test that '>' relational operator has no associativity. It is
/// compile error to expect any associativity from it
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -26,4 +25,7 @@
C c3 = new C();
C c = c1 > c2 > c3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Operator_Precedence/precedence_08_relational_t06.dart b/Language/Reference/Operator_Precedence/precedence_08_relational_t06.dart
index fc732f1..d7decf3 100644
--- a/Language/Reference/Operator_Precedence/precedence_08_relational_t06.dart
+++ b/Language/Reference/Operator_Precedence/precedence_08_relational_t06.dart
@@ -8,10 +8,12 @@
/// @description Test that '>' relational operator has no associativity. It is
/// compile error to expect any associativity from it. Test not overloaded
/// operator
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() {
var v = 1 > 2 > 3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Operator_Precedence/precedence_08_relational_t08.dart b/Language/Reference/Operator_Precedence/precedence_08_relational_t08.dart
index 00bb4a2..6df006e 100644
--- a/Language/Reference/Operator_Precedence/precedence_08_relational_t08.dart
+++ b/Language/Reference/Operator_Precedence/precedence_08_relational_t08.dart
@@ -7,7 +7,6 @@
/// Relational <= None 8
/// @description Test that '<=' relational operator has no associativity. It is
/// compile error to expect any associativity from it
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -26,4 +25,7 @@
C c3 = new C();
C c = c1 <= c2 <= c3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Operator_Precedence/precedence_08_relational_t09.dart b/Language/Reference/Operator_Precedence/precedence_08_relational_t09.dart
index 984ba20..6955aad 100644
--- a/Language/Reference/Operator_Precedence/precedence_08_relational_t09.dart
+++ b/Language/Reference/Operator_Precedence/precedence_08_relational_t09.dart
@@ -8,10 +8,12 @@
/// @description Test that '<=' relational operator has no associativity. It is
/// compile error to expect any associativity from it. Test not overloaded
/// operator
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() {
var v = 1 <= 2 <= 3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Operator_Precedence/precedence_08_relational_t11.dart b/Language/Reference/Operator_Precedence/precedence_08_relational_t11.dart
index 6953eac..deea367 100644
--- a/Language/Reference/Operator_Precedence/precedence_08_relational_t11.dart
+++ b/Language/Reference/Operator_Precedence/precedence_08_relational_t11.dart
@@ -7,7 +7,6 @@
/// Relational >= None 8
/// @description Test that '>=' relational operator has no associativity. It is
/// compile error to expect any associativity from it
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -26,4 +25,7 @@
C c3 = new C();
C c = c1 >= c2 >= c3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Operator_Precedence/precedence_08_relational_t12.dart b/Language/Reference/Operator_Precedence/precedence_08_relational_t12.dart
index 0cfb334..791c692 100644
--- a/Language/Reference/Operator_Precedence/precedence_08_relational_t12.dart
+++ b/Language/Reference/Operator_Precedence/precedence_08_relational_t12.dart
@@ -8,10 +8,12 @@
/// @description Test that '>=' relational operator has no associativity. It is
/// compile error to expect any associativity from it. Test not overloaded
/// operator
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() {
var v = 1 >= 2 >= 3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Operator_Precedence/precedence_08_relational_t14.dart b/Language/Reference/Operator_Precedence/precedence_08_relational_t14.dart
index bfb6bd2..3299055 100644
--- a/Language/Reference/Operator_Precedence/precedence_08_relational_t14.dart
+++ b/Language/Reference/Operator_Precedence/precedence_08_relational_t14.dart
@@ -7,11 +7,13 @@
/// Relational as None 8
/// @description Test that 'as' relational operator has no associativity. It is
/// compile error to expect any associativity from it
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() {
var a = 0;
var b = a as num as int;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Operator_Precedence/precedence_08_relational_t16.dart b/Language/Reference/Operator_Precedence/precedence_08_relational_t16.dart
index 2541552..2b1e2ab 100644
--- a/Language/Reference/Operator_Precedence/precedence_08_relational_t16.dart
+++ b/Language/Reference/Operator_Precedence/precedence_08_relational_t16.dart
@@ -7,11 +7,13 @@
/// Relational is None 8
/// @description Test that 'is' relational operator has no associativity. It is
/// compile error to expect any associativity from it
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() {
var a = 0;
var b = a is num is bool;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Operator_Precedence/precedence_08_relational_t18.dart b/Language/Reference/Operator_Precedence/precedence_08_relational_t18.dart
index e343134..fa4975b 100644
--- a/Language/Reference/Operator_Precedence/precedence_08_relational_t18.dart
+++ b/Language/Reference/Operator_Precedence/precedence_08_relational_t18.dart
@@ -7,11 +7,13 @@
/// Relational is! None 8
/// @description Test that 'is!' relational operator has no associativity. It is
/// compile error to expect any associativity from it
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() {
int a = 0;
var b = a is! double is! bool;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Reference/Operator_Precedence/precedence_16_unary_postfix_t02.dart b/Language/Reference/Operator_Precedence/precedence_16_unary_postfix_t02.dart
index 9540831..e069285 100644
--- a/Language/Reference/Operator_Precedence/precedence_16_unary_postfix_t02.dart
+++ b/Language/Reference/Operator_Precedence/precedence_16_unary_postfix_t02.dart
@@ -8,7 +8,6 @@
/// @description Test that '?.' unary postfix operator has highest
/// precedence (16). Compare with Unary prefix (precedence 15). Test that
/// '?.' has priority higher than ~
-/// @compile-error
/// @author sgrekhov@unipro.ru
/// @issue 42379
@@ -26,4 +25,7 @@
main() {
C c = new C();
~c?.e(); // With NNBD we are unable to run ~c?.e(); because c?.e() returns C?
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Assert/execution_t01.dart b/Language/Statements/Assert/execution_t01.dart
index e2ed802..c9464c9 100644
--- a/Language/Statements/Assert/execution_t01.dart
+++ b/Language/Statements/Assert/execution_t01.dart
@@ -13,10 +13,12 @@
/// complete. If the assertion failed, an AssertionError is thrown.
/// @description Checks that a compile error occurs if the conditional
/// expression e evaluates to a string.
-/// @compile-error
/// @author vasya
main() {
assert ("false");
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Assert/execution_t02.dart b/Language/Statements/Assert/execution_t02.dart
index a8491f1..774ee90 100644
--- a/Language/Statements/Assert/execution_t02.dart
+++ b/Language/Statements/Assert/execution_t02.dart
@@ -13,7 +13,6 @@
/// complete. If the assertion failed, an AssertionError is thrown.
/// @description Checks that a compile error occurs if the conditional
/// expression e evaluates to a function that returns a String value.
-/// @compile-error
/// @author vasya
@@ -21,4 +20,7 @@
main() {
assert (foo);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Assert/execution_t03.dart b/Language/Statements/Assert/execution_t03.dart
index be91cdd..f83f4fd 100644
--- a/Language/Statements/Assert/execution_t03.dart
+++ b/Language/Statements/Assert/execution_t03.dart
@@ -13,10 +13,12 @@
/// complete. If the assertion failed, an AssertionError is thrown.
/// @description Checks that a compile error occurs if the conditional
/// expression [e] evaluates to [null].
-/// @compile-error
/// @author rodionov
main() {
assert(null);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Assert/execution_t04.dart b/Language/Statements/Assert/execution_t04.dart
index c6adb3a..c1a54f7 100644
--- a/Language/Statements/Assert/execution_t04.dart
+++ b/Language/Statements/Assert/execution_t04.dart
@@ -13,10 +13,12 @@
/// complete. If the assertion failed, an AssertionError is thrown.
/// @description Checks that a compile error occurs if the conditional
/// expression e is a list literal.
-/// @compile-error
/// @author rodionov
main() {
assert ([true, false]);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Assert/execution_t05.dart b/Language/Statements/Assert/execution_t05.dart
index 073a15d..9ad83cc 100644
--- a/Language/Statements/Assert/execution_t05.dart
+++ b/Language/Statements/Assert/execution_t05.dart
@@ -13,10 +13,12 @@
/// complete. If the assertion failed, an AssertionError is thrown.
/// @description Checks that a compile error occurs if the conditional
/// expression e is a map literal.
-/// @compile-error
/// @author rodionov
main() {
assert ({"true": true, "false": false});
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Assert/execution_t06.dart b/Language/Statements/Assert/execution_t06.dart
index 20d9651..199d396 100644
--- a/Language/Statements/Assert/execution_t06.dart
+++ b/Language/Statements/Assert/execution_t06.dart
@@ -14,7 +14,6 @@
/// @description Checks that a compile error occurs if the conditional
/// expression e evaluates to a function that returns a function that returns a
/// value of type bool.
-/// @compile-error
/// @author rodionov
@@ -26,4 +25,7 @@
main() {
assert (foo);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Assert/execution_t10.dart b/Language/Statements/Assert/execution_t10.dart
index a3cdd17..4ae8602 100644
--- a/Language/Statements/Assert/execution_t10.dart
+++ b/Language/Statements/Assert/execution_t10.dart
@@ -13,7 +13,6 @@
/// complete. If the assertion failed, an AssertionError is thrown.
/// @description Checks that a compile error occurs if the conditional
/// expression e evaluates to a function that returns a Dynamic type value.
-/// @compile-error
/// @issue 27426
/// @author vasya
@@ -22,4 +21,7 @@
main() {
assert (bar);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Assert/syntax_t01.dart b/Language/Statements/Assert/syntax_t01.dart
index a1fd9be..74b2373 100644
--- a/Language/Statements/Assert/syntax_t01.dart
+++ b/Language/Statements/Assert/syntax_t01.dart
@@ -9,10 +9,12 @@
/// ;
/// @description Checks that it is a compile-time error when the assert statement
/// does not end with a semicolon.
-/// @compile-error
/// @author vasya
main() {
assert (false)
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Assert/syntax_t02.dart b/Language/Statements/Assert/syntax_t02.dart
index 1bb158c..143e085 100644
--- a/Language/Statements/Assert/syntax_t02.dart
+++ b/Language/Statements/Assert/syntax_t02.dart
@@ -9,10 +9,12 @@
/// ;
/// @description Checks that it is a compile-time error when the parentheses
/// surrounding the assert expression are missing.
-/// @compile-error
/// @author vasya
main() {
assert false ;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Assert/syntax_t03.dart b/Language/Statements/Assert/syntax_t03.dart
index bd1556d..8ae47e8 100644
--- a/Language/Statements/Assert/syntax_t03.dart
+++ b/Language/Statements/Assert/syntax_t03.dart
@@ -9,10 +9,12 @@
/// ;
/// @description Checks that it is a compile-time error when the assert
/// expression is empty.
-/// @compile-error
/// @author vasya
main() {
assert ();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Assert/syntax_t04.dart b/Language/Statements/Assert/syntax_t04.dart
index cb274eb..cbc3d3e 100644
--- a/Language/Statements/Assert/syntax_t04.dart
+++ b/Language/Statements/Assert/syntax_t04.dart
@@ -9,10 +9,12 @@
/// ;
/// @description Checks that it is a compile-time error when there are more than
/// two arguments in the assert statement
-/// @compile-error
/// @author vasya
main() {
assert(true, "", "");
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Assert/syntax_t05.dart b/Language/Statements/Assert/syntax_t05.dart
index cea5e4c..f2f954b 100644
--- a/Language/Statements/Assert/syntax_t05.dart
+++ b/Language/Statements/Assert/syntax_t05.dart
@@ -9,10 +9,12 @@
/// ;
/// @description Checks that it is a compile-time error when both the conditional
/// expression and the parentheses are omitted in an assert statement.
-/// @compile-error
/// @author rodionov
main() {
assert;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Assert/type_t02.dart b/Language/Statements/Assert/type_t02.dart
index 198d812..daf5c91 100644
--- a/Language/Statements/Assert/type_t02.dart
+++ b/Language/Statements/Assert/type_t02.dart
@@ -6,7 +6,6 @@
/// to either bool or () -> bool.
/// @description Checks that it is a compile error if the type of e is
/// () -> Dynamic.
-/// @compile-error
/// @issue #27426
/// @author rodionov
@@ -14,4 +13,7 @@
main() {
assert (foo);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Assert/type_t03.dart b/Language/Statements/Assert/type_t03.dart
index 45c1ef5..eada070 100644
--- a/Language/Statements/Assert/type_t03.dart
+++ b/Language/Statements/Assert/type_t03.dart
@@ -5,11 +5,13 @@
/// @assertion It is a static type warning if the type of e may not be assigned
/// to either bool or () -> bool.
/// @description Checks that it is a compile error if the type of e is int.
-/// @compile-error
/// @author rodionov
main() {
int foo = 1;
assert (foo);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Assert/type_t04.dart b/Language/Statements/Assert/type_t04.dart
index 8a0a5f0..aeaff02 100644
--- a/Language/Statements/Assert/type_t04.dart
+++ b/Language/Statements/Assert/type_t04.dart
@@ -6,7 +6,6 @@
/// to either bool or () -> bool.
/// @description Checks that it is a compile error if the type of e is
/// (Dynamic) -> bool.
-/// @compile-error
/// @issue 26002
/// @author rodionov
@@ -16,4 +15,7 @@
main() {
assert (foo);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Assert/type_t05.dart b/Language/Statements/Assert/type_t05.dart
index af70efc..9d3e75c 100644
--- a/Language/Statements/Assert/type_t05.dart
+++ b/Language/Statements/Assert/type_t05.dart
@@ -6,11 +6,13 @@
/// to either bool or () -> bool.
/// @description Checks that it is a compile error if the type of e is
/// () -> int.
-/// @compile-error
/// @author rodionov
int foo() { return 1; }
main() {
assert (foo);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Assert/type_t06.dart b/Language/Statements/Assert/type_t06.dart
index 8be0bc8..a58f1e8 100644
--- a/Language/Statements/Assert/type_t06.dart
+++ b/Language/Statements/Assert/type_t06.dart
@@ -5,11 +5,13 @@
/// @assertion It is a static type warning if the type of e may not be assigned
/// to either bool or () -> bool.
/// @description Checks that it is a compile error if the type of e is num.
-/// @compile-error
/// @author rodionov
bool foo() {return true;}
main() {
assert (foo ? 1 : 1.0);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Assert/type_t07.dart b/Language/Statements/Assert/type_t07.dart
index 2d73418..bf2ca4d 100644
--- a/Language/Statements/Assert/type_t07.dart
+++ b/Language/Statements/Assert/type_t07.dart
@@ -6,10 +6,12 @@
/// to either bool or () -> bool.
/// @description Checks that it is a compile error if the static type
/// of e is Function (conditional expression).
-/// @compile-error
/// @author rodionov
main() {
assert (true ? (() => true) : ((var x) => 1));
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Assert/type_t09.dart b/Language/Statements/Assert/type_t09.dart
index 6372304..f811303 100644
--- a/Language/Statements/Assert/type_t09.dart
+++ b/Language/Statements/Assert/type_t09.dart
@@ -6,7 +6,6 @@
/// to [bool].
/// @description Checks that it is a compile type error if [c] may not be
/// assignable to [bool].
-/// @compile-error
/// @author ngl@unipro.ru
@@ -14,4 +13,7 @@
main() {
assert (b0 ? true : 1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Blocks/execution_t04.dart b/Language/Statements/Blocks/execution_t04.dart
index e8669e7..135cf33 100644
--- a/Language/Statements/Blocks/execution_t04.dart
+++ b/Language/Statements/Blocks/execution_t04.dart
@@ -7,12 +7,13 @@
/// For i in 1..n; si is executed.
/// @description Checks that it is a compile-time error if a block statement
/// is missing the opening bracket.
-/// @compile-error
/// @author vasya
-
-main() {
- var foo = 0;
+ main() {
+ var foo = 0;
+ }
}
-}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Statements/Blocks/execution_t05.dart b/Language/Statements/Blocks/execution_t05.dart
index b6686e7..f112a65 100644
--- a/Language/Statements/Blocks/execution_t05.dart
+++ b/Language/Statements/Blocks/execution_t05.dart
@@ -7,12 +7,14 @@
/// For i in 1..n; si is executed.
/// @description Checks that it is a compile-time error if a block statement
/// is missing the closing bracket.
-/// @compile-error
/// @author vasya
main() {
+// ^
+// [cfe] unspecified
{
var foo = 0;
}
-
+// [error line 20, column 0]
+// [analyzer] unspecified
\ No newline at end of file
diff --git a/Language/Statements/Break/label_t01.dart b/Language/Statements/Break/label_t01.dart
index 47048a3..4423043 100644
--- a/Language/Statements/Break/label_t01.dart
+++ b/Language/Statements/Break/label_t01.dart
@@ -9,7 +9,6 @@
/// sE exists within the innermost function in which sb occurs.
/// @description Checks that it is a compile-time error when a break statement of
/// the form "break L;" occurs outside of a labeled statement.
-/// @compile-error
/// @author vasya
@@ -19,4 +18,7 @@
i++;
} while (false);
break L;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Break/label_t02.dart b/Language/Statements/Break/label_t02.dart
index adc3f99..80f129a 100644
--- a/Language/Statements/Break/label_t02.dart
+++ b/Language/Statements/Break/label_t02.dart
@@ -9,13 +9,15 @@
/// sE exists within the innermost function in which sb occurs.
/// @description Checks that it is a compile-time error when a break statement of
/// the form "break L;" occurs outside of a labeled statement.
-/// @compile-error
/// @author rodionov
foo() {
for (int i in [1, 2]) {
break L;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Break/label_t03.dart b/Language/Statements/Break/label_t03.dart
index ed32ddc..2a2fa18 100644
--- a/Language/Statements/Break/label_t03.dart
+++ b/Language/Statements/Break/label_t03.dart
@@ -10,7 +10,6 @@
/// @description Checks that it is a compile-time error when a break statement of
/// the form "break L;" references a labeled case clause (adjacent or enclosing)
/// rather than a statement.
-/// @compile-error
/// @author rodionov
@@ -20,5 +19,8 @@
case 0:
case 1:
break L;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Break/label_t04.dart b/Language/Statements/Break/label_t04.dart
index d532a44..6a7a445 100644
--- a/Language/Statements/Break/label_t04.dart
+++ b/Language/Statements/Break/label_t04.dart
@@ -10,7 +10,6 @@
/// @description Checks that it is a compile-time error when a break statement of
/// the form "break L;" references a labeled case clause (adjacent or enclosing)
/// rather than a statement.
-/// @compile-error
/// @author rodionov
@@ -20,6 +19,9 @@
case 0:
for (int i in [1,2]) {
break L;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
}
diff --git a/Language/Statements/Break/label_t05.dart b/Language/Statements/Break/label_t05.dart
index 957ba0d..a9dd305 100644
--- a/Language/Statements/Break/label_t05.dart
+++ b/Language/Statements/Break/label_t05.dart
@@ -9,7 +9,6 @@
/// sE exists within the innermost function in which sb occurs.
/// @description Checks that it is a compile-time error when a break statement of
/// the form "break;" is not enclosed in a do, for, switch or while statement.
-/// @compile-error
/// @author vasya
@@ -17,4 +16,7 @@
main() {
var foo = 1;
break;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Break/label_t06.dart b/Language/Statements/Break/label_t06.dart
index 31ab13b..1e4ad9f 100644
--- a/Language/Statements/Break/label_t06.dart
+++ b/Language/Statements/Break/label_t06.dart
@@ -9,12 +9,14 @@
/// sE exists within the innermost function in which sb occurs.
/// @description Checks that it is a compile-time error when a break statement of
/// the form "break;" is not enclosed in a do, for, switch or while statement.
-/// @compile-error
/// @author vasya
main() {
if (true) {
break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Break/label_t07.dart b/Language/Statements/Break/label_t07.dart
index 87d74c4..a996136 100644
--- a/Language/Statements/Break/label_t07.dart
+++ b/Language/Statements/Break/label_t07.dart
@@ -9,7 +9,6 @@
/// sE exists within the innermost function in which sb occurs.
/// @description Checks that it is a compile-time error when a break statement of
/// the form "break;" is not enclosed in a do, for, switch or while statement.
-/// @compile-error
/// @author vasya
@@ -19,5 +18,8 @@
try {
foo = true;
break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (e) { }
}
diff --git a/Language/Statements/Break/label_t08.dart b/Language/Statements/Break/label_t08.dart
index 42687ff..868c468 100644
--- a/Language/Statements/Break/label_t08.dart
+++ b/Language/Statements/Break/label_t08.dart
@@ -9,13 +9,15 @@
/// sE exists within the innermost function in which sb occurs.
/// @description Checks that it is a compile-time error when a break statement of
/// the form "break;" is not enclosed in a do, for, switch or while statement.
-/// @compile-error
/// @author rodionov
foo() {
break;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Statements/Break/label_t09.dart b/Language/Statements/Break/label_t09.dart
index ee71e49..cd63546 100644
--- a/Language/Statements/Break/label_t09.dart
+++ b/Language/Statements/Break/label_t09.dart
@@ -9,7 +9,6 @@
/// sE exists within the innermost function in which sb occurs.
/// @description Checks that it is a compile-time error if there's no label with
/// the specified identifier in an enclosing scope.
-/// @compile-error
/// @author vasya
@@ -18,5 +17,8 @@
var L = "label";
while (true) {
break L;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Break/label_t10.dart b/Language/Statements/Break/label_t10.dart
index 6631591..fe8cdb1 100644
--- a/Language/Statements/Break/label_t10.dart
+++ b/Language/Statements/Break/label_t10.dart
@@ -9,7 +9,6 @@
/// sE exists within the innermost function in which sb occurs.
/// @description Checks that it is a compile-time error if there's no label with
/// the specified identifier in an enclosing scope.
-/// @compile-error
/// @author rodionov
@@ -19,5 +18,8 @@
for (int i in [1,2]) {}
do {
break L;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Statements/Break/label_t11.dart b/Language/Statements/Break/label_t11.dart
index 128e4aa..f51439e 100644
--- a/Language/Statements/Break/label_t11.dart
+++ b/Language/Statements/Break/label_t11.dart
@@ -10,12 +10,14 @@
/// @description Checks that it is a compile-time error when a break statement of
/// the form "break;" is not enclosed in a do, for, switch or while statement
/// within the innermost function.
-/// @compile-error
/// @author msyabro
main() {
for (int i in [1, 2]) {
() { break; } ();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Break/label_t12.dart b/Language/Statements/Break/label_t12.dart
index 168e22a..7478472 100644
--- a/Language/Statements/Break/label_t12.dart
+++ b/Language/Statements/Break/label_t12.dart
@@ -9,7 +9,6 @@
/// sE exists within the innermost function in which sb occurs.
/// @description Checks that it is a compile-time error when no such statement sE
/// exists within the innermost function.
-/// @compile-error
/// @author ilya
@@ -18,6 +17,9 @@
f(x) {
if (x == 1)
break L;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
f(i);
}
diff --git a/Language/Statements/Break/syntax_t01.dart b/Language/Statements/Break/syntax_t01.dart
index bc08ed8..cc3278d 100644
--- a/Language/Statements/Break/syntax_t01.dart
+++ b/Language/Statements/Break/syntax_t01.dart
@@ -9,7 +9,6 @@
/// ;
/// @description Checks that it is a compile-time error if the break statement
/// does not end with a semicolon.
-/// @compile-error
/// @author vasya
@@ -17,5 +16,8 @@
main() {
for ( ; ; ) {
break
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Continue/label_t01.dart b/Language/Statements/Continue/label_t01.dart
index c03a288..d5bb643 100644
--- a/Language/Statements/Continue/label_t01.dart
+++ b/Language/Statements/Continue/label_t01.dart
@@ -10,7 +10,6 @@
/// within the innermost function in which sc occurs.
/// @description Checks that it is a compile-time error if a 'continue L;'
/// statement occurs in try block after 'do' statement with label L.
-/// @compile-error
/// @author vasya
@@ -20,4 +19,7 @@
i++;
} while (i < 5);
continue L;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Continue/label_t02.dart b/Language/Statements/Continue/label_t02.dart
index bf876a6..0ff9927 100644
--- a/Language/Statements/Continue/label_t02.dart
+++ b/Language/Statements/Continue/label_t02.dart
@@ -11,7 +11,6 @@
/// @description Checks that it is a compile-time error if a 'continue L;'
/// statement occurs in a try block and there is no inclosing statements with
/// label L.
-/// @compile-error
/// @author vasya
@@ -21,4 +20,7 @@
counter--;
}
continue L;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Continue/label_t03.dart b/Language/Statements/Continue/label_t03.dart
index cb75fae..5bda8b6 100644
--- a/Language/Statements/Continue/label_t03.dart
+++ b/Language/Statements/Continue/label_t03.dart
@@ -12,7 +12,6 @@
/// statement occurs in a local function declared in a 'while' statement with
/// label L and there is no inclosing statement with label L in this local
/// function.
-/// @compile-error
/// @author vasya
@@ -23,6 +22,9 @@
if (counter == 3) {
foo() {
continue L;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
foo();
}
diff --git a/Language/Statements/Continue/label_t04.dart b/Language/Statements/Continue/label_t04.dart
index 0ad14f3..5dd737e 100644
--- a/Language/Statements/Continue/label_t04.dart
+++ b/Language/Statements/Continue/label_t04.dart
@@ -12,7 +12,6 @@
/// statement occurs in 'do' statement without label L and there is no a loop
/// statement or a case clause with label L within the innermost function
/// containing this continue statement.
-/// @compile-error
/// @author rodionov
@@ -23,5 +22,8 @@
do {
continue L;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Statements/Continue/label_t05.dart b/Language/Statements/Continue/label_t05.dart
index 7534019..48739f9 100644
--- a/Language/Statements/Continue/label_t05.dart
+++ b/Language/Statements/Continue/label_t05.dart
@@ -11,7 +11,6 @@
/// @description Checks that it is a compile-time error if a 'continue L;'
/// statement occurs in 'do' statement without label L and there is no another
/// inclosing statement with label L.
-/// @compile-error
/// @author vasya
@@ -20,5 +19,8 @@
var L = "label";
do {
continue L;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Statements/Continue/label_t06.dart b/Language/Statements/Continue/label_t06.dart
index 24b9704..4101726 100644
--- a/Language/Statements/Continue/label_t06.dart
+++ b/Language/Statements/Continue/label_t06.dart
@@ -11,7 +11,6 @@
/// @description Checks that it is a compile-time error if a 'continue L;'
/// statement occurs in 'if' statement with label L and there is no another
/// inclosing statement with label L.
-/// @compile-error
/// @author vasya
@@ -19,5 +18,8 @@
main() {
L: if (true) {
continue L;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Continue/label_t07.dart b/Language/Statements/Continue/label_t07.dart
index f8b9fac..7195f7f 100644
--- a/Language/Statements/Continue/label_t07.dart
+++ b/Language/Statements/Continue/label_t07.dart
@@ -11,7 +11,6 @@
/// @description Checks that it is a compile-time error if a 'continue L;'
/// statement occurs in a case clause of switch statement with label L and there
/// is no another enclosing statement with label L.
-/// @compile-error
/// @author vasya
/// @issue 42593
@@ -23,6 +22,8 @@
case 1:
x = 0;
continue L;
+// ^
+// [analyzer] unspecified
default:
x = 2;
}
diff --git a/Language/Statements/Continue/label_t08.dart b/Language/Statements/Continue/label_t08.dart
index ee4ba25..afa83d5 100644
--- a/Language/Statements/Continue/label_t08.dart
+++ b/Language/Statements/Continue/label_t08.dart
@@ -11,7 +11,6 @@
/// @description Checks that it is a compile-time error if a 'continue L;'
/// statement occurs in the body of try statement with label L and there is no
/// another inclosing statement with label L.
-/// @compile-error
/// @author vasya
@@ -19,6 +18,9 @@
main() {
L: try {
continue L;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} finally {
}
}
diff --git a/Language/Statements/Continue/label_t09.dart b/Language/Statements/Continue/label_t09.dart
index 6772aca..75a00cb 100644
--- a/Language/Statements/Continue/label_t09.dart
+++ b/Language/Statements/Continue/label_t09.dart
@@ -11,7 +11,6 @@
/// @description Checks that it is a compile-time error if a 'continue L;'
/// statement occurs in a catch clause of try statement with label L and there
/// is no another inclosing statement with label L.
-/// @compile-error
/// @author rodionov
@@ -21,6 +20,9 @@
throw 1;
} catch (x) {
continue L;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} finally {
}
}
diff --git a/Language/Statements/Continue/label_t10.dart b/Language/Statements/Continue/label_t10.dart
index e5c9cfe..a975e88 100644
--- a/Language/Statements/Continue/label_t10.dart
+++ b/Language/Statements/Continue/label_t10.dart
@@ -11,7 +11,6 @@
/// @description Checks that it is a compile-time error if a 'continue L;'
/// statement occurs in a finally clause of try statement with label L and there
/// is no another inclosing statement with label L.
-/// @compile-error
/// @author rodionov
@@ -21,5 +20,8 @@
var x = 1;
} finally {
continue L;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Continue/label_t11.dart b/Language/Statements/Continue/label_t11.dart
index 3650851..2319715 100644
--- a/Language/Statements/Continue/label_t11.dart
+++ b/Language/Statements/Continue/label_t11.dart
@@ -11,12 +11,14 @@
/// @description Checks that it is a compile-time error if a 'continue L;'
/// statement occurs in a block statement with label L and there is no another
/// inclosing statement with label L.
-/// @compile-error
/// @author rodionov
main() {
L: {
continue L;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Continue/label_t14.dart b/Language/Statements/Continue/label_t14.dart
index 2f9df86..a7e9476 100644
--- a/Language/Statements/Continue/label_t14.dart
+++ b/Language/Statements/Continue/label_t14.dart
@@ -11,7 +11,6 @@
/// @description Checks that it is a compile-time error if a 'continue L;'
/// statement occurs in a local function declared in a case clause with label L
/// and there is no inclosing statement with label L in this local function.
-/// @compile-error
/// @author rodionov
@@ -21,6 +20,9 @@
L: case 1:
foo() {
continue L;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
foo();
}
diff --git a/Language/Statements/Continue/label_t15.dart b/Language/Statements/Continue/label_t15.dart
index ff25558..72d1b7e 100644
--- a/Language/Statements/Continue/label_t15.dart
+++ b/Language/Statements/Continue/label_t15.dart
@@ -11,7 +11,6 @@
/// @description Checks that it is a compile-time error if a 'continue;'
/// statement occurs in a block of try statement and there is no inclosing loop
/// statement.
-/// @compile-error
/// @author iefremov
@@ -19,5 +18,8 @@
main() {
try {
continue;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} catch (x) {}
}
diff --git a/Language/Statements/Continue/label_t16.dart b/Language/Statements/Continue/label_t16.dart
index cc0c315..bb65f08 100644
--- a/Language/Statements/Continue/label_t16.dart
+++ b/Language/Statements/Continue/label_t16.dart
@@ -11,7 +11,6 @@
/// @description Checks that it is a compile-time error if a 'continue;'
/// statement occurs in a case clause of switch statement and there is no
/// inclosing loop statement.
-/// @compile-error
/// @author iefremov
@@ -19,6 +18,9 @@
main() {
switch (1) {
case 1: continue;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
default:
}
}
diff --git a/Language/Statements/Continue/label_t17.dart b/Language/Statements/Continue/label_t17.dart
index 753beae..a695b2f 100644
--- a/Language/Statements/Continue/label_t17.dart
+++ b/Language/Statements/Continue/label_t17.dart
@@ -11,7 +11,6 @@
/// @description Checks that it is a compile-time error if a 'continue;'
/// statement occurs in a function literal described in while statement without
/// label.
-/// @compile-error
/// @author msyabro
@@ -19,5 +18,8 @@
main() {
while (true) {
() { continue; } ();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Continue/syntax_t01.dart b/Language/Statements/Continue/syntax_t01.dart
index 4cd83fb..410983d 100644
--- a/Language/Statements/Continue/syntax_t01.dart
+++ b/Language/Statements/Continue/syntax_t01.dart
@@ -9,7 +9,6 @@
/// ;
/// @description Checks that it is a compile-time error if the continue statement
/// of the form 'contitue;' does not end with a semicolon.
-/// @compile-error
/// @author vasya
@@ -17,5 +16,8 @@
main() {
do {
continue
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Statements/Continue/syntax_t02.dart b/Language/Statements/Continue/syntax_t02.dart
index 584b5ef..a8ffbd4 100644
--- a/Language/Statements/Continue/syntax_t02.dart
+++ b/Language/Statements/Continue/syntax_t02.dart
@@ -9,7 +9,6 @@
/// ;
/// @description Checks that it is a compile-time error if the continue statement
/// of the form 'contitue L;' does not end with a semicolon.
-/// @compile-error
/// @author vasya
@@ -17,5 +16,8 @@
main() {
L: do {
continue L
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Statements/Do/condition_type_t01.dart b/Language/Statements/Do/condition_type_t01.dart
index 9f82959..59b5e50 100644
--- a/Language/Statements/Do/condition_type_t01.dart
+++ b/Language/Statements/Do/condition_type_t01.dart
@@ -6,7 +6,6 @@
/// to bool.
/// @description Checks that it is a compile error if the type of e may not
/// be assigned to bool.
-/// @compile-error
/// @author rodionov
@@ -14,4 +13,7 @@
do {
break;
} while ("true");
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Do/condition_type_t02.dart b/Language/Statements/Do/condition_type_t02.dart
index 2223bce..eafc13e 100644
--- a/Language/Statements/Do/condition_type_t02.dart
+++ b/Language/Statements/Do/condition_type_t02.dart
@@ -6,7 +6,6 @@
/// to bool.
/// @description Checks that it is a compile error if the type of e may not
/// be assigned to bool.
-/// @compile-error
/// @author rodionov
@@ -16,5 +15,8 @@
do {
break;
} while (f());
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Do/condition_type_t03.dart b/Language/Statements/Do/condition_type_t03.dart
index 8d2e656..3fd0326 100644
--- a/Language/Statements/Do/condition_type_t03.dart
+++ b/Language/Statements/Do/condition_type_t03.dart
@@ -6,7 +6,6 @@
/// to bool.
/// @description Checks that it is a compile error if the type of e may not
/// be assigned to bool.
-/// @compile-error
/// @author hlodvig
@@ -14,4 +13,7 @@
do {
break;
} while ({});
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Do/execution_t03.dart b/Language/Statements/Do/execution_t03.dart
index 690f7f3..ae36400 100644
--- a/Language/Statements/Do/execution_t03.dart
+++ b/Language/Statements/Do/execution_t03.dart
@@ -9,7 +9,6 @@
/// object r. If r is false, execution of the do statement is complete. If r is
/// true, then the do statement is re-executed recursively.
/// @description Check that non boolean expression e cause compile error
-/// @compile-error
/// @author vasya
@@ -18,4 +17,7 @@
do {
x = 1;
} while (1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Do/execution_t05.dart b/Language/Statements/Do/execution_t05.dart
index b838b94..93a4a01 100644
--- a/Language/Statements/Do/execution_t05.dart
+++ b/Language/Statements/Do/execution_t05.dart
@@ -9,7 +9,6 @@
/// object r. If r is false, execution of the do statement is complete. If r is
/// true, then the do statement is re-executed recursively.
/// @description Check that non boolean expression e cause compile error
-/// @compile-error
/// @author vasya
@@ -18,4 +17,7 @@
do {
x = 2;
} while ("true");
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Do/syntax_t01.dart b/Language/Statements/Do/syntax_t01.dart
index 95adca2..fae99be 100644
--- a/Language/Statements/Do/syntax_t01.dart
+++ b/Language/Statements/Do/syntax_t01.dart
@@ -9,7 +9,6 @@
/// ;
/// @description Checks that it is a compile-time error if the loop statement is
/// empty.
-/// @compile-error
/// @author vasya
@@ -17,4 +16,7 @@
do
while (true);
}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Statements/Do/syntax_t02.dart b/Language/Statements/Do/syntax_t02.dart
index a9f4d3d..cffe352 100644
--- a/Language/Statements/Do/syntax_t02.dart
+++ b/Language/Statements/Do/syntax_t02.dart
@@ -9,13 +9,15 @@
/// ;
/// @description Checks that it is a compile-time error if the loop statement
/// does not end with a semicolon.
-/// @compile-error
/// @author vasya
main() {
do
break
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
while (true);
}
diff --git a/Language/Statements/Do/syntax_t03.dart b/Language/Statements/Do/syntax_t03.dart
index ea1c09b..0133e9f 100644
--- a/Language/Statements/Do/syntax_t03.dart
+++ b/Language/Statements/Do/syntax_t03.dart
@@ -9,7 +9,6 @@
/// ;
/// @description Checks that it is a compile-time error if the opening bracket of
/// the loop expression is missing.
-/// @compile-error
/// @author vasya
@@ -17,5 +16,8 @@
do {
break;
} while true);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Do/syntax_t04.dart b/Language/Statements/Do/syntax_t04.dart
index 5d7b048..21d542f 100644
--- a/Language/Statements/Do/syntax_t04.dart
+++ b/Language/Statements/Do/syntax_t04.dart
@@ -9,7 +9,6 @@
/// ;
/// @description Checks that it is a compile-time error if the closing bracket of
/// the loop expression is missing.
-/// @compile-error
/// @author vasya
@@ -18,4 +17,7 @@
do {
break;
} while (true ;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Do/syntax_t05.dart b/Language/Statements/Do/syntax_t05.dart
index 74e1090..e191812 100644
--- a/Language/Statements/Do/syntax_t05.dart
+++ b/Language/Statements/Do/syntax_t05.dart
@@ -9,7 +9,6 @@
/// ;
/// @description Checks that it is a compile-time error if the while keyword is
/// missing.
-/// @compile-error
/// @author vasya
@@ -17,5 +16,8 @@
do {
break;
} (true);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Do/syntax_t06.dart b/Language/Statements/Do/syntax_t06.dart
index 5449339..6536300 100644
--- a/Language/Statements/Do/syntax_t06.dart
+++ b/Language/Statements/Do/syntax_t06.dart
@@ -9,7 +9,6 @@
/// ;
/// @description Checks that it is a compile-time error if the final semicolon is
/// missing.
-/// @compile-error
/// @author vasya
@@ -17,5 +16,8 @@
do {
break;
} while (true)
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Do/syntax_t07.dart b/Language/Statements/Do/syntax_t07.dart
index e58aa84..03f29ab 100644
--- a/Language/Statements/Do/syntax_t07.dart
+++ b/Language/Statements/Do/syntax_t07.dart
@@ -9,7 +9,6 @@
/// ;
/// @description Checks that it is a compile-time error if the loop expression is
/// missing.
-/// @compile-error
/// @author vasya
@@ -17,5 +16,8 @@
do {
break;
} while ();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Expression_Statements/syntax_t02.dart b/Language/Statements/Expression_Statements/syntax_t02.dart
index d6576ff..3a1625c 100644
--- a/Language/Statements/Expression_Statements/syntax_t02.dart
+++ b/Language/Statements/Expression_Statements/syntax_t02.dart
@@ -12,11 +12,13 @@
/// It is a compile-time error if a non-constant map literal that has no explicit
/// type arguments appears in a place where a statement is expected.
/// @description Checks that an expression statement must end with a semicolon.
-/// @compile-error
/// @author vasya
main() {
var foo = true
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Expression_Statements/syntax_t07.dart b/Language/Statements/Expression_Statements/syntax_t07.dart
index 2293fc3..ece2fbe 100644
--- a/Language/Statements/Expression_Statements/syntax_t07.dart
+++ b/Language/Statements/Expression_Statements/syntax_t07.dart
@@ -13,10 +13,12 @@
/// type arguments appears in a place where a statement is expected.
/// @description Checks that it is a compile-time error when a map literal is
/// used as a statement.
-/// @compile-error
/// @author rodionov
main() {
{ "foo": "bar" };
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Expression_Statements/syntax_t12.dart b/Language/Statements/Expression_Statements/syntax_t12.dart
index 08a667e..07ecdd2 100644
--- a/Language/Statements/Expression_Statements/syntax_t12.dart
+++ b/Language/Statements/Expression_Statements/syntax_t12.dart
@@ -22,7 +22,7 @@
// [analyzer] unspecified
// [cfe] unspecified
- {"1": 1, "2": 2}.isEmpty == false; }
+ {"1": 1, "2": 2}.isEmpty == false;
// ^^^^^^^^^^^^^^^^
// [analyzer] unspecified
// [cfe] unspecified
diff --git a/Language/Statements/For/Asynchronous_For_in/execution_t01.dart b/Language/Statements/For/Asynchronous_For_in/execution_t01.dart
index daa2495..6e8e3cc 100644
--- a/Language/Statements/For/Asynchronous_For_in/execution_t01.dart
+++ b/Language/Statements/For/Asynchronous_For_in/execution_t01.dart
@@ -16,7 +16,6 @@
///
/// @description Check that a compile error occurs if o is not an instance
/// of a class that implements Stream
-/// @compile-error
/// @author a.semenov@unipro.ru
import 'dart:async';
@@ -24,6 +23,9 @@
Future test1() async {
await for (var i in new Object()) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/For/Asynchronous_For_in/execution_t05.dart b/Language/Statements/For/Asynchronous_For_in/execution_t05.dart
index fbf68aa..7123846 100644
--- a/Language/Statements/For/Asynchronous_For_in/execution_t05.dart
+++ b/Language/Statements/For/Asynchronous_For_in/execution_t05.dart
@@ -16,7 +16,6 @@
///
/// @description Check that a compile error occurs if o is not an instance
/// of a class that implements Stream
-/// @compile-error
/// @author a.semenov@unipro.ru
import 'dart:async';
@@ -24,6 +23,9 @@
Future test2() async {
await for (int i in [1, 2, 3]) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/For/Asynchronous_For_in/syntax_t01.dart b/Language/Statements/For/Asynchronous_For_in/syntax_t01.dart
index e574fa4..711c0bc 100644
--- a/Language/Statements/For/Asynchronous_For_in/syntax_t01.dart
+++ b/Language/Statements/For/Asynchronous_For_in/syntax_t01.dart
@@ -9,11 +9,13 @@
/// @description Check that it is a compile-time error if an asynchronous
/// for-in statement appears inside a synchronous function
///
-/// @compile-error
/// @author a.semenov@unipro.ru
import 'dart:async';
main() {
await for (var i in new Stream.fromIterable([1, 2])) break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/For/Asynchronous_For_in/syntax_t02.dart b/Language/Statements/For/Asynchronous_For_in/syntax_t02.dart
index be37122..951ba46 100644
--- a/Language/Statements/For/Asynchronous_For_in/syntax_t02.dart
+++ b/Language/Statements/For/Asynchronous_For_in/syntax_t02.dart
@@ -9,11 +9,13 @@
/// @description Check that it is a compile-time error if an asynchronous
/// for-in statement appears inside a synchronous generator function
///
-/// @compile-error
/// @author a.semenov@unipro.ru
import 'dart:async';
main() sync* {
await for (var i in new Stream.fromIterable([1, 2])) break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/For/Asynchronous_For_in/syntax_t03.dart b/Language/Statements/For/Asynchronous_For_in/syntax_t03.dart
index accd280..27afd1a 100644
--- a/Language/Statements/For/Asynchronous_For_in/syntax_t03.dart
+++ b/Language/Statements/For/Asynchronous_For_in/syntax_t03.dart
@@ -9,10 +9,12 @@
/// @description Checks that it is a compile-time error if a traditional
/// for loop is prefixed by the await keyword.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
main() async {
await for (int i = 0; i < 100; i++) break;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/For/For_Loop/execution_t07.dart b/Language/Statements/For/For_Loop/execution_t07.dart
index 68a4ea2..7acf6ad 100644
--- a/Language/Statements/For/For_Loop/execution_t07.dart
+++ b/Language/Statements/For/For_Loop/execution_t07.dart
@@ -15,12 +15,14 @@
/// 4. Let v'' be a fresh variable. v'' is bound to the value of v'.
/// 5. The expression [v''/v]e is evaluated, and the process recurses at step 1.
/// @description Checks that it is a compile error if c is not of type bool.
-/// @compile-error
/// @author vasya
main() {
for ( int i = 0; ++i; ) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
break;
}
}
diff --git a/Language/Statements/For/For_Loop/execution_t08.dart b/Language/Statements/For/For_Loop/execution_t08.dart
index f275356..b4c1a25 100644
--- a/Language/Statements/For/For_Loop/execution_t08.dart
+++ b/Language/Statements/For/For_Loop/execution_t08.dart
@@ -15,12 +15,14 @@
/// 4. Let v'' be a fresh variable. v'' is bound to the value of v'.
/// 5. The expression [v''/v]e is evaluated, and the process recurses at step 1.
/// @description Checks that it is a compile error if c is not of type bool.
-/// @compile-error
/// @author rodionov
main() {
for ( var i = 0; "true"; i++) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
break;
}
}
diff --git a/Language/Statements/For/syntax_t01.dart b/Language/Statements/For/syntax_t01.dart
index 0844b2c..431c22d 100644
--- a/Language/Statements/For/syntax_t01.dart
+++ b/Language/Statements/For/syntax_t01.dart
@@ -17,10 +17,12 @@
/// ;
/// @description Checks that it is a compile-time error if the loop parts are
/// missing entirely.
-/// @compile-error
/// @author vasya
main() {
for () {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/For/syntax_t02.dart b/Language/Statements/For/syntax_t02.dart
index ccd0b32..d73d6cb 100644
--- a/Language/Statements/For/syntax_t02.dart
+++ b/Language/Statements/For/syntax_t02.dart
@@ -17,10 +17,12 @@
/// ;
/// @description Checks that it is a compile-time error if the opening bracket
/// enclosing the loop parts is missing.
-/// @compile-error
/// @author vasya
main() {
for ; ; ) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/For/syntax_t03.dart b/Language/Statements/For/syntax_t03.dart
index 7a9a90f..8739c63 100644
--- a/Language/Statements/For/syntax_t03.dart
+++ b/Language/Statements/For/syntax_t03.dart
@@ -17,10 +17,14 @@
/// ;
/// @description Checks that it is a compile-time error if the closing bracket
/// enclosing the loop parts is missing.
-/// @compile-error
/// @author vasya
main() {
for (; ; {}
+// ^
+// [cfe] unspecified
}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Statements/For/syntax_t04.dart b/Language/Statements/For/syntax_t04.dart
index 68f5307..f743e2f 100644
--- a/Language/Statements/For/syntax_t04.dart
+++ b/Language/Statements/For/syntax_t04.dart
@@ -17,10 +17,12 @@
/// ;
/// @description Checks that it is a compile-time error if the loop parts are
/// enclosed in curly braces instead of parentheses.
-/// @compile-error
/// @author rodionov
main() {
for {;;} {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/For/syntax_t05.dart b/Language/Statements/For/syntax_t05.dart
index f4ad961..ae755b9 100644
--- a/Language/Statements/For/syntax_t05.dart
+++ b/Language/Statements/For/syntax_t05.dart
@@ -17,10 +17,12 @@
/// ;
/// @description Checks that it is a compile-time error if the loop parts are
/// not separated by semicolons.
-/// @compile-error
/// @author vasya
main() {
for (var i = 0 i < 1 ++i) { }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/For/syntax_t06.dart b/Language/Statements/For/syntax_t06.dart
index b5fc607..c9afd38 100644
--- a/Language/Statements/For/syntax_t06.dart
+++ b/Language/Statements/For/syntax_t06.dart
@@ -17,10 +17,12 @@
/// ;
/// @description Checks that it is a compile-time error if the statement inside
/// the for statement does not end with a semicolon, even if empty.
-/// @compile-error
/// @author vasya
main() {
for ( ; ; )
}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Statements/For/syntax_t07.dart b/Language/Statements/For/syntax_t07.dart
index baebd5b..1e32c11 100644
--- a/Language/Statements/For/syntax_t07.dart
+++ b/Language/Statements/For/syntax_t07.dart
@@ -18,12 +18,14 @@
/// @description Checks that it is a compile error when the iteration variable
/// identifier in a 'identifier in expression' loop variety is not declared
/// prior to the for statement.
-/// @compile-error
/// @author vasya
main() {
for (l in List.filled(5, "")) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
break;
}
}
diff --git a/Language/Statements/For/syntax_t08.dart b/Language/Statements/For/syntax_t08.dart
index f7198dc..4163f02 100644
--- a/Language/Statements/For/syntax_t08.dart
+++ b/Language/Statements/For/syntax_t08.dart
@@ -17,10 +17,12 @@
/// ;
/// @description Checks that it is a compile-time error if the 'forLoopParts'
/// in a 'id in expression' loop variety ends with a semicolon.
-/// @compile-error
/// @author vasya
main() {
for ( var l in new List(100); ) break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/For/syntax_t09.dart b/Language/Statements/For/syntax_t09.dart
index 04e09b9..02d02c6 100644
--- a/Language/Statements/For/syntax_t09.dart
+++ b/Language/Statements/For/syntax_t09.dart
@@ -17,11 +17,13 @@
/// ;
/// @description Checks that it is a compile-time error if the loop parts
/// in a 'id in expression' loop variety contain more than one identifier.
-/// @compile-error
/// @author vasya
main() {
for ( var x, y in List.filled(10, "") ) break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/For/syntax_t10.dart b/Language/Statements/For/syntax_t10.dart
index 0ad6f61..b57e415 100644
--- a/Language/Statements/For/syntax_t10.dart
+++ b/Language/Statements/For/syntax_t10.dart
@@ -17,10 +17,12 @@
/// ;
/// @description Checks that it is a compile-time error if the expression is
/// missing in a 'id in expression' of for-in statement.
-/// @compile-error
/// @author iefremov
main() {
for ( var x in ) break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/For/syntax_t12.dart b/Language/Statements/For/syntax_t12.dart
index 970eeab..7ae0e25 100644
--- a/Language/Statements/For/syntax_t12.dart
+++ b/Language/Statements/For/syntax_t12.dart
@@ -17,10 +17,12 @@
/// ;
/// @description Checks that it is a compile-time error if the loop variable
/// in a 'id in expression' includes initializer.
-/// @compile-error
/// @author kaigorodov
main() {
for (var l = 1 in List.filled(100, 0)) break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/For/syntax_t13.dart b/Language/Statements/For/syntax_t13.dart
index b85fad9..1279d15 100644
--- a/Language/Statements/For/syntax_t13.dart
+++ b/Language/Statements/For/syntax_t13.dart
@@ -17,7 +17,6 @@
/// ;
/// @description Checks that it is a compile-time error if the loop variable
/// in a 'id in expression' is not a simple variable.
-/// @compile-error
/// @author kaigorodov
@@ -28,4 +27,7 @@
main() {
C c = new C();
for (c.i in List.filled(100, 0)) break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/For/syntax_t14.dart b/Language/Statements/For/syntax_t14.dart
index aa0fea3..2c2821d 100644
--- a/Language/Statements/For/syntax_t14.dart
+++ b/Language/Statements/For/syntax_t14.dart
@@ -17,10 +17,12 @@
/// ;
/// @description Checks that it is a compile-time error if the loop parts are
/// missing entirely in asynchronous for-in statement.
-/// @compile-error
/// @author a.semenov@unipro.ru
main() async {
await for () {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/For/syntax_t15.dart b/Language/Statements/For/syntax_t15.dart
index 654c32b..fb7b871 100644
--- a/Language/Statements/For/syntax_t15.dart
+++ b/Language/Statements/For/syntax_t15.dart
@@ -17,11 +17,13 @@
/// ;
/// @description Checks that it is a compile-time error if the loop parts
/// in an asynchronous loop form 'id in expression' end with a semicolon.
-/// @compile-error
/// @author a.semenov@unipro.ru
import 'dart:async';
main() async {
await for (var l in new Stream.fromIterable(List.filled(100, 0));) break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/For/syntax_t16.dart b/Language/Statements/For/syntax_t16.dart
index b39edce..30ce2c8 100644
--- a/Language/Statements/For/syntax_t16.dart
+++ b/Language/Statements/For/syntax_t16.dart
@@ -18,11 +18,13 @@
/// @description Checks that it is a compile-time error if the loop parts
/// in an asynchronous loop form 'id in expression' contain more than one
/// identifier.
-/// @compile-error
/// @author a.semenov@unipro.ru
import 'dart:async';
main() async {
await for (var x, y in new Stream.fromIterable(List.filled(100, 0))) break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/For/syntax_t17.dart b/Language/Statements/For/syntax_t17.dart
index f26e1a9..97caf96 100644
--- a/Language/Statements/For/syntax_t17.dart
+++ b/Language/Statements/For/syntax_t17.dart
@@ -17,10 +17,12 @@
/// ;
/// @description Checks that it is a compile-time error if expression is
/// missing in the loop parts in an asynchronous loop form 'id in expression'.
-/// @compile-error
/// @author a.semenov@unipro.ru
main() async {
await for (var i in ) break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/For/syntax_t19.dart b/Language/Statements/For/syntax_t19.dart
index 6d84e0e..c460aaf 100644
--- a/Language/Statements/For/syntax_t19.dart
+++ b/Language/Statements/For/syntax_t19.dart
@@ -17,11 +17,13 @@
/// ;
/// @description Checks that it is a compile-time error if the loop variable
/// in an asynchronous form of 'id in expression' includes initializer.
-/// @compile-error
/// @author a.semenov@unipro.ru
import 'dart:async';
main() async {
await for (var x = 1 in new Stream.fromIterable([1,2])) break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/For/syntax_t20.dart b/Language/Statements/For/syntax_t20.dart
index 8df1c00..f771c70 100644
--- a/Language/Statements/For/syntax_t20.dart
+++ b/Language/Statements/For/syntax_t20.dart
@@ -17,7 +17,6 @@
/// ;
/// @description Checks that it is a compile-time error if the loop variable
/// in an asynchronous form of 'id in expression' is not a simple variable.
-/// @compile-error
/// @author a.semenov@unipro.ru
import 'dart:async';
@@ -29,4 +28,7 @@
main() async {
C c = new C();
await for (c.i in new Stream.fromIterable([1,2])) break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/If/condition_evaluation_t01.dart b/Language/Statements/If/condition_evaluation_t01.dart
index 9f325b2..09cf734 100644
--- a/Language/Statements/If/condition_evaluation_t01.dart
+++ b/Language/Statements/If/condition_evaluation_t01.dart
@@ -8,7 +8,6 @@
/// boolean conversion, producing an object r.
/// @description Checks that compile error occurs if the expression does not
/// evaluate to a value of type bool.
-/// @compile-error
/// @author kaigorodov
@@ -16,4 +15,7 @@
var o = 1;
var i = null;
if (o) { i = "hello"; }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/If/syntax_t01.dart b/Language/Statements/If/syntax_t01.dart
index b0baa54..92a248e 100644
--- a/Language/Statements/If/syntax_t01.dart
+++ b/Language/Statements/If/syntax_t01.dart
@@ -8,11 +8,13 @@
/// ;
/// @description Checks that a compile error is produced if the expression is
/// missing.
-/// @compile-error
/// @author vasya
main() {
if () { }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/If/syntax_t02.dart b/Language/Statements/If/syntax_t02.dart
index 68e1bb5..d67f07b 100644
--- a/Language/Statements/If/syntax_t02.dart
+++ b/Language/Statements/If/syntax_t02.dart
@@ -8,10 +8,12 @@
/// ;
/// @description Checks that a compile error is produced if the if statement
/// is missing.
-/// @compile-error
/// @author vasya
main() {
if (true)
}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Statements/If/syntax_t03.dart b/Language/Statements/If/syntax_t03.dart
index f1c09db..ba00ee6 100644
--- a/Language/Statements/If/syntax_t03.dart
+++ b/Language/Statements/If/syntax_t03.dart
@@ -8,10 +8,12 @@
/// ;
/// @description Checks that a compile error is produced if the else statement is
/// missing.
-/// @compile-error
/// @author vasya
main() {
if (false) {} else
}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Statements/If/syntax_t04.dart b/Language/Statements/If/syntax_t04.dart
index 0daa10c..1c419fa 100644
--- a/Language/Statements/If/syntax_t04.dart
+++ b/Language/Statements/If/syntax_t04.dart
@@ -8,13 +8,15 @@
/// ;
/// @description Checks that it is a compile-time error if the opening expression
/// bracket is missing.
-/// @compile-error
/// @author vasya
main() {
var foo;
if true)
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
foo = "foo";
}
diff --git a/Language/Statements/If/syntax_t05.dart b/Language/Statements/If/syntax_t05.dart
index af79c00..a117af7 100644
--- a/Language/Statements/If/syntax_t05.dart
+++ b/Language/Statements/If/syntax_t05.dart
@@ -8,13 +8,16 @@
/// ;
/// @description Checks that it is a compile-time error if the closing expression
/// bracket is missing.
-/// @compile-error
/// @author vasya
main() {
var foo;
if (true
+// ^
+// [cfe] unspecified
foo = "foo";
+// ^
+// [analyzer] unspecified
}
diff --git a/Language/Statements/If/syntax_t06.dart b/Language/Statements/If/syntax_t06.dart
index d594c51..7dff585 100644
--- a/Language/Statements/If/syntax_t06.dart
+++ b/Language/Statements/If/syntax_t06.dart
@@ -8,11 +8,13 @@
/// ;
/// @description Checks that it is a compile-time error if the statement does not
/// end with a semicolon.
-/// @compile-error
/// @author vasya
main() {
if (true) var foo = "foo"
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/If/syntax_t07.dart b/Language/Statements/If/syntax_t07.dart
index 7cd9dba..fd23898 100644
--- a/Language/Statements/If/syntax_t07.dart
+++ b/Language/Statements/If/syntax_t07.dart
@@ -8,11 +8,13 @@
/// ;
/// @description Checks that it is a compile-time error if the expression is
/// enclosed in square brackets rather than parentheses.
-/// @compile-error
/// @author rodionov
main() {
if [true] {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/If/syntax_t08.dart b/Language/Statements/If/syntax_t08.dart
index 55e998e..3eecf98 100644
--- a/Language/Statements/If/syntax_t08.dart
+++ b/Language/Statements/If/syntax_t08.dart
@@ -8,11 +8,13 @@
/// ;
/// @description Checks that it is a compile-time error if the expression is
/// enclosed in curly braces rather than parentheses.
-/// @compile-error
/// @author rodionov
main() {
if {true} {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/If/type_t01.dart b/Language/Statements/If/type_t01.dart
index f230827..cec5f20 100644
--- a/Language/Statements/If/type_t01.dart
+++ b/Language/Statements/If/type_t01.dart
@@ -13,7 +13,6 @@
/// potentially mutated anywhere in the scope of v, then the type of v is
/// known to be T in s1, regardless of whether there are closures capturing v.
/// No closures case.
-/// @static-clean
/// @author ilya
diff --git a/Language/Statements/If/type_t02.dart b/Language/Statements/If/type_t02.dart
index 62e956e..3195062 100644
--- a/Language/Statements/If/type_t02.dart
+++ b/Language/Statements/If/type_t02.dart
@@ -13,7 +13,6 @@
/// potentially mutated anywhere in the scope of v, then the type of v is
/// known to be T in s1, regardless of whether there are closures capturing v.
/// No closures, nested case.
-/// @static-clean
/// @author ilya
diff --git a/Language/Statements/If/type_t03.dart b/Language/Statements/If/type_t03.dart
index 80212ad..25ac308 100644
--- a/Language/Statements/If/type_t03.dart
+++ b/Language/Statements/If/type_t03.dart
@@ -13,7 +13,6 @@
/// potentially mutated anywhere in the scope of v, then the type of v is
/// known to be T in s1, regardless of whether there are closures capturing v.
/// Case with closures.
-/// @static-clean
/// @author ilya
diff --git a/Language/Statements/If/type_t04.dart b/Language/Statements/If/type_t04.dart
index 699643a..879399c 100644
--- a/Language/Statements/If/type_t04.dart
+++ b/Language/Statements/If/type_t04.dart
@@ -12,7 +12,6 @@
/// @description Checks that if b shows that v has type T, v is not potentially
/// mutated in s1 and not captured by any closure then the type of v is known to
/// be T in s1, even if v is potentially mutated elsewhere in its scope.
-/// @static-clean
/// @author ilya
diff --git a/Language/Statements/If/type_t05.dart b/Language/Statements/If/type_t05.dart
index 22d69ab..96def25 100644
--- a/Language/Statements/If/type_t05.dart
+++ b/Language/Statements/If/type_t05.dart
@@ -13,7 +13,6 @@
/// mutated in s1 or within a closure, and there is no closure capturing v in s1,
/// then the type of v is known to be T in s1, even if v is potentially mutated
/// elsewhere in its scope.
-/// @static-clean
/// @author ilya
diff --git a/Language/Statements/If/type_t06.dart b/Language/Statements/If/type_t06.dart
index dfab880..8dbf35c 100644
--- a/Language/Statements/If/type_t06.dart
+++ b/Language/Statements/If/type_t06.dart
@@ -11,7 +11,6 @@
/// Then the type of v is known to be T in s1.
/// @description Checks that if b does not show that v has any type T, then the
/// type of v is not known to be any promoted type in s1.
-/// @compile-error
/// @author ilya
@@ -26,6 +25,9 @@
f(C x) {
if (x is D || x is E)
x.f();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Statements/If/type_t07.dart b/Language/Statements/If/type_t07.dart
index 9ede2c3..2029550 100644
--- a/Language/Statements/If/type_t07.dart
+++ b/Language/Statements/If/type_t07.dart
@@ -11,7 +11,6 @@
/// Then the type of v is known to be T in s1.
/// @description Checks that if b shows that v has type T, but v is potentially
/// mutated in s1, then the type of v is not known to be T in s1.
-/// @compile-error
/// @author ilya
@@ -24,6 +23,9 @@
if (x is D) {
x = new C();
x.f();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/If/type_t08.dart b/Language/Statements/If/type_t08.dart
index ec4b024..d449507 100644
--- a/Language/Statements/If/type_t08.dart
+++ b/Language/Statements/If/type_t08.dart
@@ -12,7 +12,6 @@
/// @description Checks that if b shows that v has type T, v is not potentially
/// mutated in s1, but potentially mutated within a closure, then the type of v
/// is not known to be T in s1.
-/// @compile-error
/// @author ilya
@@ -28,7 +27,13 @@
if (x is D) {
x.f();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
x.f();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/If/type_t09.dart b/Language/Statements/If/type_t09.dart
index db969f3..d7a413e 100644
--- a/Language/Statements/If/type_t09.dart
+++ b/Language/Statements/If/type_t09.dart
@@ -13,7 +13,6 @@
/// mutated in s1 or within a closure, v is captured by closure in s1, but v is
/// potentially mutated elsewhere in its scope, then the type of v is not known
/// to be T in s1.
-/// @compile-error
/// @author ilya
@@ -27,6 +26,9 @@
if (x is D)
closure = () => x.f(); // will throw
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
x = new C();
closure();
diff --git a/Language/Statements/If/wrong_type_t01.dart b/Language/Statements/If/wrong_type_t01.dart
index bef4ae7..f36da9a 100644
--- a/Language/Statements/If/wrong_type_t01.dart
+++ b/Language/Statements/If/wrong_type_t01.dart
@@ -6,13 +6,15 @@
/// not be assigned to bool.
/// @description Checks that it is a compile error if the expression
/// cannot be assigned to bool.
-/// @compile-error
/// @author rodionov
main() {
var i;
if (1) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
i = 1;
}
}
diff --git a/Language/Statements/If/wrong_type_t02.dart b/Language/Statements/If/wrong_type_t02.dart
index a885059..1d5d67a 100644
--- a/Language/Statements/If/wrong_type_t02.dart
+++ b/Language/Statements/If/wrong_type_t02.dart
@@ -6,13 +6,15 @@
/// cannot be assigned to bool.
/// @description Checks that it is compile error if the expression
/// cannot be assigned to bool.
-/// @compile-error
/// @author rodionov
main() {
var i;
if ("true") {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
i = 1;
}
}
diff --git a/Language/Statements/Labels/scope_t02.dart b/Language/Statements/Labels/scope_t02.dart
index fe6ba4a..7158f06 100644
--- a/Language/Statements/Labels/scope_t02.dart
+++ b/Language/Statements/Labels/scope_t02.dart
@@ -6,7 +6,6 @@
/// a label that labels a case clause of a switch statement s is s.
/// @description Checks that a label can't be referenced from outside of its
/// statement.
-/// @compile-error
/// @author rodionov
@@ -14,5 +13,8 @@
L: var x;
do {
continue L;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Statements/Labels/scope_t03.dart b/Language/Statements/Labels/scope_t03.dart
index 6b96e8c..350d262 100644
--- a/Language/Statements/Labels/scope_t03.dart
+++ b/Language/Statements/Labels/scope_t03.dart
@@ -5,16 +5,21 @@
/// @assertion The scope of a label that labels a statement s is s. The scope of
/// a label that labels a case clause of a switch statement s is s.
/// @description Checks that a label can't be referenced outside of its statement.
-/// @compile-error
/// @author rodionov
main() {
L: for (int i in [1, 2]) {
break M:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
M: do {
continue L;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} while (false);
}
diff --git a/Language/Statements/Labels/scope_t05.dart b/Language/Statements/Labels/scope_t05.dart
index 7bff752..c886e27 100644
--- a/Language/Statements/Labels/scope_t05.dart
+++ b/Language/Statements/Labels/scope_t05.dart
@@ -6,7 +6,6 @@
/// a label that labels a case clause of a switch statement s is s.
/// @description Checks that it is a compile-time error when multiple cases of
/// the same switch statement have labels with the same identifier.
-/// @compile-error
/// @author rodionov
@@ -24,6 +23,9 @@
break;
Label:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
default:
break;
}
diff --git a/Language/Statements/Labels/syntax_t02.dart b/Language/Statements/Labels/syntax_t02.dart
index 68189b2..7818b38 100644
--- a/Language/Statements/Labels/syntax_t02.dart
+++ b/Language/Statements/Labels/syntax_t02.dart
@@ -12,11 +12,13 @@
/// ;
/// @description Checks that it is a compile-time error if the label is used
/// without the colon character.
-/// @compile-error
/// @author vasya
main() {
L while (true) { break L; }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Labels/syntax_t04.dart b/Language/Statements/Labels/syntax_t04.dart
index 65d4132..aeb8d6b 100644
--- a/Language/Statements/Labels/syntax_t04.dart
+++ b/Language/Statements/Labels/syntax_t04.dart
@@ -12,11 +12,13 @@
/// ;
/// @description Checks that it is a compile-time error if the label identifier
/// is empty.
-/// @compile-error
/// @author vasya
main() {
: while (true) { break L; }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Labels/syntax_t06.dart b/Language/Statements/Labels/syntax_t06.dart
index 615dcb3..956f9df 100644
--- a/Language/Statements/Labels/syntax_t06.dart
+++ b/Language/Statements/Labels/syntax_t06.dart
@@ -12,11 +12,13 @@
/// ;
/// @description Checks that it is a compile-time error if a label is used in a
/// wrong context (next to a top-level declaration).
-/// @compile-error
/// @author rodionov
Label:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Statements/Labels/syntax_t07.dart b/Language/Statements/Labels/syntax_t07.dart
index 9825d9a..43a5445 100644
--- a/Language/Statements/Labels/syntax_t07.dart
+++ b/Language/Statements/Labels/syntax_t07.dart
@@ -12,12 +12,14 @@
/// ;
/// @description Checks that it is a compile-time error if a label is used in a
/// wrong context (next to a class member declaration).
-/// @compile-error
/// @author rodionov
class C {
Label: C() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Statements/Labels/syntax_t08.dart b/Language/Statements/Labels/syntax_t08.dart
index 4850381..c9f28ac 100644
--- a/Language/Statements/Labels/syntax_t08.dart
+++ b/Language/Statements/Labels/syntax_t08.dart
@@ -12,13 +12,17 @@
/// ;
/// @description Checks that it is a compile-time error if a label is used in a
/// wrong context (next to a class member declaration).
-/// @compile-error
/// @author rodionov
class C {
C() {}
+//^
+// [analyzer] unspecified
Label: int i;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {}
diff --git a/Language/Statements/Labels/syntax_t09.dart b/Language/Statements/Labels/syntax_t09.dart
index d60ad81..538cff9 100644
--- a/Language/Statements/Labels/syntax_t09.dart
+++ b/Language/Statements/Labels/syntax_t09.dart
@@ -12,11 +12,13 @@
/// ;
/// @description Checks that it is a compile-time error if a label is used in a
/// wrong context (next to an import declaration).
-/// @compile-error
/// @author rodionov
Label: import '../../../Utils/dynamic_check.dart';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Statements/Local_Function_Declaration/reference_before_declaration_t01.dart b/Language/Statements/Local_Function_Declaration/reference_before_declaration_t01.dart
index 8b16369..50ca156 100644
--- a/Language/Statements/Local_Function_Declaration/reference_before_declaration_t01.dart
+++ b/Language/Statements/Local_Function_Declaration/reference_before_declaration_t01.dart
@@ -6,11 +6,13 @@
/// before its declaration.
/// @description Checks that it is a compile-error to reference a local function
/// before its declaration.
-/// @compile-error
/// @author kaigorodov
/// @note renamed from 04_Local_Function_Declaration_A02_t02
main() {
func();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Local_Function_Declaration/reference_before_declaration_t02.dart b/Language/Statements/Local_Function_Declaration/reference_before_declaration_t02.dart
index 3446f4b..9216160 100644
--- a/Language/Statements/Local_Function_Declaration/reference_before_declaration_t02.dart
+++ b/Language/Statements/Local_Function_Declaration/reference_before_declaration_t02.dart
@@ -7,11 +7,13 @@
/// @description Checks that it is a compile-error to reference a name of
/// local function in function expression invocation before its declaration,
/// but in outer scope.
-/// @compile-error
/// @author ilya
main() {
func();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
{ void func() {} }
}
diff --git a/Language/Statements/Local_Function_Declaration/reference_before_declaration_t03.dart b/Language/Statements/Local_Function_Declaration/reference_before_declaration_t03.dart
index d286dde..bb4c37e 100644
--- a/Language/Statements/Local_Function_Declaration/reference_before_declaration_t03.dart
+++ b/Language/Statements/Local_Function_Declaration/reference_before_declaration_t03.dart
@@ -6,13 +6,17 @@
/// before its declaration.
/// @description Checks that it is a compile-error to declare mutually recursive
/// functions, because the first one uses the second before declaration.
-/// @compile-error
/// @author ilya
main() {
evenHandler(x) => x.isEven ? 1 : oddHandler(x);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
oddHandler(x) => x.isOdd ? 1 : evenHandler(x);
+//^
+// [cfe] unspecified
evenHandler(1);
}
diff --git a/Language/Statements/Local_Function_Declaration/syntax_t02.dart b/Language/Statements/Local_Function_Declaration/syntax_t02.dart
index d6fd48e..2b0944b 100644
--- a/Language/Statements/Local_Function_Declaration/syntax_t02.dart
+++ b/Language/Statements/Local_Function_Declaration/syntax_t02.dart
@@ -22,11 +22,16 @@
/// ;
/// @description Checks that it is a compile error if a local function
/// declaration with a block for a body is missing the formal parameter list.
-/// @compile-error
/// @author kaigorodov
main() {
void function1 {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
function1();
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Local_Function_Declaration/syntax_t03.dart b/Language/Statements/Local_Function_Declaration/syntax_t03.dart
index b500a16..59297c1 100644
--- a/Language/Statements/Local_Function_Declaration/syntax_t03.dart
+++ b/Language/Statements/Local_Function_Declaration/syntax_t03.dart
@@ -22,11 +22,13 @@
/// ;
/// @description Checks that it is a compile error if a function with an
/// expression for a body is missing the formal parameter list.
-/// @compile-error
/// @author kaigorodov
main() {
int function1 => 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
function1();
}
diff --git a/Language/Statements/Local_Function_Declaration/syntax_t05.dart b/Language/Statements/Local_Function_Declaration/syntax_t05.dart
index 38ad620..274c87b 100644
--- a/Language/Statements/Local_Function_Declaration/syntax_t05.dart
+++ b/Language/Statements/Local_Function_Declaration/syntax_t05.dart
@@ -23,10 +23,12 @@
/// @description Checks that it is a compile time error if a local function
/// declared with the function body of a form `=> expession` has `async*` before
/// a function body.
-/// @compile-error
/// @author ngl@unipro.ru
main() {
f0() async* => 3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Local_Function_Declaration/syntax_t06.dart b/Language/Statements/Local_Function_Declaration/syntax_t06.dart
index a4bcd8e..7737c7a 100644
--- a/Language/Statements/Local_Function_Declaration/syntax_t06.dart
+++ b/Language/Statements/Local_Function_Declaration/syntax_t06.dart
@@ -23,10 +23,12 @@
/// @description Checks that it is a compile time error if a local function
/// declared with the function body of a form `=> expession` has `sync*` before
/// a function body.
-/// @compile-error
/// @author ngl@unipro.ru
main() {
f0() sync* => 3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Local_Variable_Declaration/syntax_t03.dart b/Language/Statements/Local_Variable_Declaration/syntax_t03.dart
index 4c875c7..68abc8a 100644
--- a/Language/Statements/Local_Variable_Declaration/syntax_t03.dart
+++ b/Language/Statements/Local_Variable_Declaration/syntax_t03.dart
@@ -8,7 +8,6 @@
/// ;
/// @description Checks that a variable declaration statement T id; must end
/// with a semicolon.
-/// @compile-error
/// @author vasya
@@ -16,4 +15,7 @@
main() {
T id
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Local_Variable_Declaration/syntax_t04.dart b/Language/Statements/Local_Variable_Declaration/syntax_t04.dart
index 1d41bbb..1cbdef7 100644
--- a/Language/Statements/Local_Variable_Declaration/syntax_t04.dart
+++ b/Language/Statements/Local_Variable_Declaration/syntax_t04.dart
@@ -8,7 +8,6 @@
/// ;
/// @description Checks that a variable declaration statement T id = e; must end
/// with a semicolon.
-/// @compile-error
/// @author vasya
@@ -16,4 +15,7 @@
main() {
T id = new T()
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Local_Variable_Declaration/syntax_t05.dart b/Language/Statements/Local_Variable_Declaration/syntax_t05.dart
index 7c744b5..995a8e9 100644
--- a/Language/Statements/Local_Variable_Declaration/syntax_t05.dart
+++ b/Language/Statements/Local_Variable_Declaration/syntax_t05.dart
@@ -8,7 +8,6 @@
/// ;
/// @description Checks that the variable 'int id;' declared in a block is not
/// available in a scope that encloses this block.
-/// @compile-error
/// @author rodionov
main() {
@@ -16,4 +15,7 @@
int? id;
}
id = null;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Local_Variable_Declaration/syntax_t06.dart b/Language/Statements/Local_Variable_Declaration/syntax_t06.dart
index cb13dab..a07781d 100644
--- a/Language/Statements/Local_Variable_Declaration/syntax_t06.dart
+++ b/Language/Statements/Local_Variable_Declaration/syntax_t06.dart
@@ -8,7 +8,6 @@
/// ;
/// @description Checks that the variable declared 'int id;' in a block is not
/// available in another block that isn't included in the first one.
-/// @compile-error
/// @author rodionov
/// @reviewer iefremov
@@ -18,5 +17,8 @@
}
{
id = null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Local_Variable_Declaration/syntax_t11.dart b/Language/Statements/Local_Variable_Declaration/syntax_t11.dart
index 6a94807..4446b74 100644
--- a/Language/Statements/Local_Variable_Declaration/syntax_t11.dart
+++ b/Language/Statements/Local_Variable_Declaration/syntax_t11.dart
@@ -9,11 +9,13 @@
/// @description Checks that a variable is introduced into the scope after a
/// variable declaration statement is evaluated, and the name of this variable
/// cannot be used in its initialization.
-/// @compile-error
/// @author iefremov
main() {
var x;
Function f = () {x = f;};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Local_Variable_Declaration/syntax_t13.dart b/Language/Statements/Local_Variable_Declaration/syntax_t13.dart
index 2a29e3f..199da19 100644
--- a/Language/Statements/Local_Variable_Declaration/syntax_t13.dart
+++ b/Language/Statements/Local_Variable_Declaration/syntax_t13.dart
@@ -8,7 +8,6 @@
/// ;
/// @description Checks that incorrect syntax of type parameters causes compile
/// error.
-/// @compile-error
/// @author kaigorodov
@@ -16,5 +15,8 @@
main() {
T<int, String;>? id;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Local_Variable_Declaration/syntax_t18.dart b/Language/Statements/Local_Variable_Declaration/syntax_t18.dart
index ed5cc82..69d535b 100644
--- a/Language/Statements/Local_Variable_Declaration/syntax_t18.dart
+++ b/Language/Statements/Local_Variable_Declaration/syntax_t18.dart
@@ -8,7 +8,6 @@
/// ;
/// @description Checks that the variable 'var id;' declared in a block is not
/// available in a scope that encloses this block.
-/// @compile-error
/// @author iefremov
main() {
@@ -16,4 +15,7 @@
var id;
}
id = null;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Local_Variable_Declaration/syntax_t19.dart b/Language/Statements/Local_Variable_Declaration/syntax_t19.dart
index da5e17d..c0c71ab 100644
--- a/Language/Statements/Local_Variable_Declaration/syntax_t19.dart
+++ b/Language/Statements/Local_Variable_Declaration/syntax_t19.dart
@@ -8,7 +8,6 @@
/// ;
/// @description Checks that the variable declared 'var id;' in a block is not
/// available in another block that isn't included in the first one.
-/// @compile-error
/// @author iefremov
@@ -19,5 +18,8 @@
{
id = null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Local_Variable_Declaration/syntax_t20.dart b/Language/Statements/Local_Variable_Declaration/syntax_t20.dart
index 432cb76..1096dee 100644
--- a/Language/Statements/Local_Variable_Declaration/syntax_t20.dart
+++ b/Language/Statements/Local_Variable_Declaration/syntax_t20.dart
@@ -9,11 +9,13 @@
/// @description Checks that a variable is introduced into the scope after a
/// variable declaration statement is evaluated, and the name of this variable
/// cannot be used in its initialization.
-/// @compile-error
/// @author iefremov
main() {
var x;
var f = () { x = f; };
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Rethrow/on_catch_clause_t01.dart b/Language/Statements/Rethrow/on_catch_clause_t01.dart
index 7a4f1b9..c32dcdf 100644
--- a/Language/Statements/Rethrow/on_catch_clause_t01.dart
+++ b/Language/Statements/Rethrow/on_catch_clause_t01.dart
@@ -6,10 +6,12 @@
/// within an on-catch clause.
/// @description Checks that it is a compile-time error if a rethrow statement
/// is not enclosed within an on-catch clause.
-/// @compile-error
/// @author kaigorodov
main() {
rethrow;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Rethrow/on_catch_clause_t02.dart b/Language/Statements/Rethrow/on_catch_clause_t02.dart
index 63f11a5..93feda7 100644
--- a/Language/Statements/Rethrow/on_catch_clause_t02.dart
+++ b/Language/Statements/Rethrow/on_catch_clause_t02.dart
@@ -6,7 +6,6 @@
/// within an on-catch clause.
/// @description Checks that it is a compile-time error if a rethrow statement
/// is not enclosed within an on-catch clause.
-/// @compile-error
/// @author kaigorodov
@@ -19,5 +18,8 @@
f0();
} finally {
rethrow;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Return/generative_constructor_t01.dart b/Language/Statements/Return/generative_constructor_t01.dart
index 08aa451..e5c028f 100644
--- a/Language/Statements/Return/generative_constructor_t01.dart
+++ b/Language/Statements/Return/generative_constructor_t01.dart
@@ -6,12 +6,14 @@
/// return e; appears in a generative constructor.
/// @description Checks that a compile-time error occurs if a return statement
/// of the form return e; appears in a generative constructor.
-/// @compile-error
/// @author vasya
class C {
C() { return this; }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Statements/Return/generative_constructor_t02.dart b/Language/Statements/Return/generative_constructor_t02.dart
index 09ddfe9..4f5bced 100644
--- a/Language/Statements/Return/generative_constructor_t02.dart
+++ b/Language/Statements/Return/generative_constructor_t02.dart
@@ -6,13 +6,15 @@
/// return e; appears in a generative constructor.
/// @description Checks that a compile-time error occurs if a return statement
/// of the form return e; appears in a named generative constructor.
-/// @compile-error
/// @author rodionov
class C {
C() {}
C.foo() { return this; }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Statements/Return/generative_constructor_t03.dart b/Language/Statements/Return/generative_constructor_t03.dart
index f69f372..f2008dc 100644
--- a/Language/Statements/Return/generative_constructor_t03.dart
+++ b/Language/Statements/Return/generative_constructor_t03.dart
@@ -6,12 +6,14 @@
/// return e; appears in a generative constructor.
/// @description Checks that a compile-time error occurs if a return statement
/// of the form return null; appears in a generative constructor.
-/// @compile-error
/// @author rodionov
class C {
C() { return null;}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Statements/Return/generator_function_t01.dart b/Language/Statements/Return/generator_function_t01.dart
index 15081d6..b3fe8f3 100644
--- a/Language/Statements/Return/generator_function_t01.dart
+++ b/Language/Statements/Return/generator_function_t01.dart
@@ -8,12 +8,14 @@
/// @description Check that statement 'return e' cause a compiler error in
/// synchronous generator function
///
-/// @compile-error
/// @author a.semenov@unipro.ru
Iterable test() sync* {
return 1;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Statements/Return/generator_function_t02.dart b/Language/Statements/Return/generator_function_t02.dart
index 4051385..404f46e 100644
--- a/Language/Statements/Return/generator_function_t02.dart
+++ b/Language/Statements/Return/generator_function_t02.dart
@@ -8,13 +8,15 @@
/// @description Check that statement 'return e' cause a compiler error in
/// synchronous generator method
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
Iterable test() sync* {
return 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Return/generator_function_t03.dart b/Language/Statements/Return/generator_function_t03.dart
index 10927f7..09e4d02 100644
--- a/Language/Statements/Return/generator_function_t03.dart
+++ b/Language/Statements/Return/generator_function_t03.dart
@@ -8,13 +8,15 @@
/// @description Check that statement 'return e' cause a compiler error in
/// synchronous generator static method
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
static Iterable test() sync* {
return 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Return/generator_function_t04.dart b/Language/Statements/Return/generator_function_t04.dart
index a02d32a..b84f505 100644
--- a/Language/Statements/Return/generator_function_t04.dart
+++ b/Language/Statements/Return/generator_function_t04.dart
@@ -8,13 +8,15 @@
/// @description Check that statement 'return e' cause a compiler error in
/// synchronous generator local function (i.e. function inside another function)
///
-/// @compile-error
/// @author a.semenov@unipro.ru
main() {
Iterable test() sync* {
return 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
test().isEmpty;
diff --git a/Language/Statements/Return/generator_function_t05.dart b/Language/Statements/Return/generator_function_t05.dart
index cb6b0ae..e708723 100644
--- a/Language/Statements/Return/generator_function_t05.dart
+++ b/Language/Statements/Return/generator_function_t05.dart
@@ -8,13 +8,15 @@
/// @description Check that statement 'return e' cause a compiler error in
/// asynchronous generator function
///
-/// @compile-error
/// @author a.semenov@unipro.ru
import 'dart:async';
Stream test() async* {
return 1;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Statements/Return/generator_function_t06.dart b/Language/Statements/Return/generator_function_t06.dart
index 47b8d1b..407db7f 100644
--- a/Language/Statements/Return/generator_function_t06.dart
+++ b/Language/Statements/Return/generator_function_t06.dart
@@ -8,7 +8,6 @@
/// @description Check that statement 'return e' cause a compiler error in
/// asynchronous generator method
///
-/// @compile-error
/// @author a.semenov@unipro.ru
import 'dart:async';
@@ -16,6 +15,9 @@
class A {
Stream test() async* {
return 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Return/generator_function_t07.dart b/Language/Statements/Return/generator_function_t07.dart
index d082d6d..cb9925e 100644
--- a/Language/Statements/Return/generator_function_t07.dart
+++ b/Language/Statements/Return/generator_function_t07.dart
@@ -8,7 +8,6 @@
/// @description Check that statement 'return e' cause a compiler error in
/// asynchronous generator static method
///
-/// @compile-error
/// @author a.semenov@unipro.ru
import 'dart:async';
@@ -16,6 +15,9 @@
class A {
static Stream test() async* {
return 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Return/generator_function_t08.dart b/Language/Statements/Return/generator_function_t08.dart
index 11bf100..0691dc5 100644
--- a/Language/Statements/Return/generator_function_t08.dart
+++ b/Language/Statements/Return/generator_function_t08.dart
@@ -8,7 +8,6 @@
/// @description Check that statement 'return e' cause a compiler error in
/// asynchronous generator local function (i.e. function inside another function)
///
-/// @compile-error
/// @author a.semenov@unipro.ru
import 'dart:async';
@@ -16,6 +15,9 @@
main() {
Stream test() async* {
return 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
test().isEmpty;
diff --git a/Language/Statements/Return/many_return_statements_t01.dart b/Language/Statements/Return/many_return_statements_t01.dart
index 85556b1..0264d6c 100644
--- a/Language/Statements/Return/many_return_statements_t01.dart
+++ b/Language/Statements/Return/many_return_statements_t01.dart
@@ -9,7 +9,6 @@
/// @description Checks that it is no static warning if a function has explicit
/// return statements of different kind.
/// https://github.com/dart-lang/sdk/issues/39476
-/// @static-clean
/// @author ilya
diff --git a/Language/Statements/Return/many_return_statements_t02.dart b/Language/Statements/Return/many_return_statements_t02.dart
index d06dc95..d2ce525 100644
--- a/Language/Statements/Return/many_return_statements_t02.dart
+++ b/Language/Statements/Return/many_return_statements_t02.dart
@@ -9,7 +9,6 @@
/// @description Checks that it is a compile error if a function literal has
/// explicit return statements of different kind.
/// @Issue 39476, 42459
-/// @compile-error
/// @author ilya
@@ -19,5 +18,8 @@
return 1;
else
return;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} (true);
}
diff --git a/Language/Statements/Return/many_return_statements_t03.dart b/Language/Statements/Return/many_return_statements_t03.dart
index 4f22e28..d51df67 100644
--- a/Language/Statements/Return/many_return_statements_t03.dart
+++ b/Language/Statements/Return/many_return_statements_t03.dart
@@ -11,7 +11,6 @@
///
/// @note implicit returns do not count, see 14764
/// @Issue 39476
-/// @static-clean
/// @author ilya
diff --git a/Language/Statements/Return/many_return_statements_t04.dart b/Language/Statements/Return/many_return_statements_t04.dart
index 8fb6a2b..d17cb73 100644
--- a/Language/Statements/Return/many_return_statements_t04.dart
+++ b/Language/Statements/Return/many_return_statements_t04.dart
@@ -11,7 +11,6 @@
///
/// @note implicit returns do not count, see 14764
/// https://github.com/dart-lang/sdk/issues/39476
-/// @static-clean
/// @author ilya
/// @issue 42581
diff --git a/Language/Statements/Return/no_expression_function_t06.dart b/Language/Statements/Return/no_expression_function_t06.dart
index a3d0af8..da563fb 100644
--- a/Language/Statements/Return/no_expression_function_t06.dart
+++ b/Language/Statements/Return/no_expression_function_t06.dart
@@ -10,7 +10,6 @@
/// @description Checks that there's no error when a statement of the form
/// "return;" is used in a method that returns type dynamic, or a constructor.
///
-/// @static-clean
/// @author rodionov
diff --git a/Language/Statements/Return/no_expression_function_t12.dart b/Language/Statements/Return/no_expression_function_t12.dart
index 15a7799..74cda6f 100644
--- a/Language/Statements/Return/no_expression_function_t12.dart
+++ b/Language/Statements/Return/no_expression_function_t12.dart
@@ -10,7 +10,6 @@
/// @description Checks that there's no compile error when a statement of the
/// form "return;" is used in a method that whose return type is void
///
-/// @static-clean
/// @author a.semenov@unipro.ru
diff --git a/Language/Statements/Return/no_expression_function_t13.dart b/Language/Statements/Return/no_expression_function_t13.dart
index 0756dee..3b402cf 100644
--- a/Language/Statements/Return/no_expression_function_t13.dart
+++ b/Language/Statements/Return/no_expression_function_t13.dart
@@ -11,7 +11,6 @@
/// form "return;" is used in an asynchronous function whose return type is
/// Future<Null>
///
-/// @static-clean
/// @author a.semenov@unipro.ru
import 'dart:async';
diff --git a/Language/Statements/Return/no_expression_function_t14.dart b/Language/Statements/Return/no_expression_function_t14.dart
index 2202c7d..a87cb8e 100644
--- a/Language/Statements/Return/no_expression_function_t14.dart
+++ b/Language/Statements/Return/no_expression_function_t14.dart
@@ -11,7 +11,6 @@
/// form "return;" is used in an asynchronous function whose return type is
/// not specified
///
-/// @static-clean
/// @author a.semenov@unipro.ru
bar() async {
diff --git a/Language/Statements/Return/no_expression_function_t15.dart b/Language/Statements/Return/no_expression_function_t15.dart
index d4930fe..671b92b 100644
--- a/Language/Statements/Return/no_expression_function_t15.dart
+++ b/Language/Statements/Return/no_expression_function_t15.dart
@@ -11,7 +11,6 @@
/// form "return;" is used in an synchronous function whose return type is
/// not specified
///
-/// @static-clean
/// @author a.semenov@unipro.ru
diff --git a/Language/Statements/Return/runtime_type_t01.dart b/Language/Statements/Return/runtime_type_t01.dart
index ac8f823..d00b797 100644
--- a/Language/Statements/Return/runtime_type_t01.dart
+++ b/Language/Statements/Return/runtime_type_t01.dart
@@ -12,12 +12,14 @@
/// the runtime type of o is not a subtype of the actual return type
/// of the immediately enclosing function.
///
-/// @compile-error
/// @author kaigorodov
var r = 'a';
int foo() { return r; }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
foo();
diff --git a/Language/Statements/Return/runtime_type_t04.dart b/Language/Statements/Return/runtime_type_t04.dart
index 9d33a1c..c67a1ea 100644
--- a/Language/Statements/Return/runtime_type_t04.dart
+++ b/Language/Statements/Return/runtime_type_t04.dart
@@ -12,7 +12,6 @@
/// not null and Future<S> is not a subtype of the actual return type of the
/// immediately enclosing async function.
///
-/// @compile-error
/// @Issue 26133
/// @author a.semenov@unipro.ru
@@ -22,5 +21,8 @@
var r = 'a';
Future<int> foo() async { return r; }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/Language/Statements/Return/syntax_t03.dart b/Language/Statements/Return/syntax_t03.dart
index fe60bf3..4037f03 100644
--- a/Language/Statements/Return/syntax_t03.dart
+++ b/Language/Statements/Return/syntax_t03.dart
@@ -10,12 +10,14 @@
/// ;
/// @description Checks that it is a compile-time error if a return statement
/// does not end with a semicolon.
-/// @compile-error
/// @author vasya
foo() {
return "foo"
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {}
diff --git a/Language/Statements/Return/type_t01.dart b/Language/Statements/Return/type_t01.dart
index 316fe54..d14a74b 100644
--- a/Language/Statements/Return/type_t01.dart
+++ b/Language/Statements/Return/type_t01.dart
@@ -13,12 +13,14 @@
/// not be assigned to the declared return type of the immediately enclosing
/// function.
///
-/// @compile-error
/// @author vasya
int foo() {
return "0";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {}
diff --git a/Language/Statements/Return/type_t02.dart b/Language/Statements/Return/type_t02.dart
index 726760d..9160d91 100644
--- a/Language/Statements/Return/type_t02.dart
+++ b/Language/Statements/Return/type_t02.dart
@@ -12,7 +12,6 @@
/// @description Checks that no static warning occurs if the type of e may be
/// assigned to the declared return type of the immediately enclosing function.
///
-/// @static-clean
/// @author rodionov
diff --git a/Language/Statements/Return/type_t03.dart b/Language/Statements/Return/type_t03.dart
index 47c751b..b24b16c 100644
--- a/Language/Statements/Return/type_t03.dart
+++ b/Language/Statements/Return/type_t03.dart
@@ -13,7 +13,6 @@
/// Future<flatten(T)> may not be assigned to the declared return type of the
/// immediately enclosing function, marked async.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
import 'dart:async';
@@ -21,6 +20,9 @@
Future<int> foo() async {
return 'a';
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {}
diff --git a/Language/Statements/Return/type_t04.dart b/Language/Statements/Return/type_t04.dart
index f555af9..b201bf4 100644
--- a/Language/Statements/Return/type_t04.dart
+++ b/Language/Statements/Return/type_t04.dart
@@ -12,7 +12,6 @@
/// @description Checks that no static warning occurs if the type of e may be
/// assigned to the declared return type of the immediately enclosing function.
///
-/// @static-clean
/// @author a.semenov@unipro.ru
import 'dart:async';
diff --git a/Language/Statements/Switch/equal_operator_t01.dart b/Language/Statements/Switch/equal_operator_t01.dart
index f5bcebd..82031f4 100644
--- a/Language/Statements/Switch/equal_operator_t01.dart
+++ b/Language/Statements/Switch/equal_operator_t01.dart
@@ -8,7 +8,6 @@
/// of invoking a constant constructor of class Symbol.
/// @description Checks that it is a compile-time error if class C implements
/// operator ==.
-/// @compile-error
/// @Issue 42461
/// @author kaigorodov
@@ -17,6 +16,9 @@
final int? x;
const C(this.x);
bool operator ==(C other) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
return this.x == other.x;
}
}
@@ -28,9 +30,15 @@
switch (x) {
case c1:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
y = 1;
break;
case c2:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
y = 2;
break;
}
diff --git a/Language/Statements/Switch/equal_operator_t02.dart b/Language/Statements/Switch/equal_operator_t02.dart
index 55af4dd..67577a9 100644
--- a/Language/Statements/Switch/equal_operator_t02.dart
+++ b/Language/Statements/Switch/equal_operator_t02.dart
@@ -9,7 +9,6 @@
/// @description Checks that it is a compile-time error if a case expression
/// is a compile-time constant of type double, since double is neither String
/// nor int and implements ==.
-/// @compile-error
/// @author msyabro
/// @note renamed from 09_Switch_A02_t04
@@ -17,5 +16,8 @@
main() {
switch (1.0) {
case 0.5:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Switch/execution_case_no_default_t03.dart b/Language/Statements/Switch/execution_case_no_default_t03.dart
index 679941a..a33097c 100644
--- a/Language/Statements/Switch/execution_case_no_default_t03.dart
+++ b/Language/Statements/Switch/execution_case_no_default_t03.dart
@@ -17,7 +17,6 @@
/// sh then a runtime error occurs, unless h = n.
/// @description Checks that falling through produces a runtime error, unless
/// the current case clause is empty or the last case clause.
-/// @compile-error
/// @author sgrekhov@unipro.ru
/// @issue 7537
@@ -30,6 +29,9 @@
case 1: result = 1;
break;
case 2: result = 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
case 3: result = 3;
}
return result;
diff --git a/Language/Statements/Switch/execution_case_t03.dart b/Language/Statements/Switch/execution_case_t03.dart
index 096aea0..3946ba0 100644
--- a/Language/Statements/Switch/execution_case_t03.dart
+++ b/Language/Statements/Switch/execution_case_t03.dart
@@ -20,7 +20,6 @@
/// h = n + 1.
/// @description Checks that falling through produces a compile error, if
/// the current clause is not empty case clause and not the default clause.
-/// @compile-error
/// @author sgrekhov@unipro.ru
/// @issue 7537
@@ -32,7 +31,13 @@
case 1: result = 1;
break;
case 2: result = 2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
case 3: result = 3;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
default: result = 4;
}
return result;
diff --git a/Language/Statements/Switch/execution_t01.dart b/Language/Statements/Switch/execution_t01.dart
index 099d11a..434f0d6 100644
--- a/Language/Statements/Switch/execution_t01.dart
+++ b/Language/Statements/Switch/execution_t01.dart
@@ -25,18 +25,26 @@
/// executing sn+1.
/// @description Checks that if the value of expression e is not an instance of
/// the same type as the constants of case clauses, then it is a compile error
-/// @compile-error
/// @author msyabro
main() {
switch (1) {
case '1': break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
case '2': break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
default:
}
switch ('abc') {
case 1: break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Switch/expressions_t01.dart b/Language/Statements/Switch/expressions_t01.dart
index 1d75e58..31a31d2 100644
--- a/Language/Statements/Switch/expressions_t01.dart
+++ b/Language/Statements/Switch/expressions_t01.dart
@@ -9,7 +9,6 @@
/// • instances of a class that implements String, for all k in 1..n.
/// @description Checks that it is a compile-time error if case expressions
/// of a switch statement without a default case have different types.
-/// @compile-error
/// @author msyabro
@@ -21,5 +20,8 @@
case 0:
case 2:
case "false":
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Switch/expressions_t02.dart b/Language/Statements/Switch/expressions_t02.dart
index 398aa31..d642530 100644
--- a/Language/Statements/Switch/expressions_t02.dart
+++ b/Language/Statements/Switch/expressions_t02.dart
@@ -9,7 +9,6 @@
/// • instances of a class that implements String, for all k in 1..n.
/// @description Checks that it is a compile-time error if case expressions
/// of a switch statement with a default case have different types.
-/// @compile-error
/// @author msyabro
@@ -21,6 +20,9 @@
case 0:
case 2:
case "false":
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
default:
}
}
diff --git a/Language/Statements/Switch/expressions_t03.dart b/Language/Statements/Switch/expressions_t03.dart
index 7b526b7..c8a2970 100644
--- a/Language/Statements/Switch/expressions_t03.dart
+++ b/Language/Statements/Switch/expressions_t03.dart
@@ -9,7 +9,6 @@
/// • instances of a class that implements String, for all k in 1..n.
/// @description Checks that it is a compile-time error if case expressions
/// are of mixed types.
-/// @compile-error
/// @author msyabro
/// @note renamed from 09_Switch_A02_t02
@@ -21,6 +20,9 @@
x = 1;
break;
case 2.0:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
x = 2;
}
}
diff --git a/Language/Statements/Switch/expressions_t04.dart b/Language/Statements/Switch/expressions_t04.dart
index 1f1a573..2a14e55 100644
--- a/Language/Statements/Switch/expressions_t04.dart
+++ b/Language/Statements/Switch/expressions_t04.dart
@@ -9,7 +9,6 @@
/// • instances of a class that implements String, for all k in 1..n.
/// @description Checks that it is a compile-time error if case expressions
/// are instances of different user-defined classes.
-/// @compile-error
/// @author ilya
@@ -29,5 +28,8 @@
case const C(1):
case const C(2):
case const D(1):
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Switch/labels_constants_t01.dart b/Language/Statements/Switch/labels_constants_t01.dart
index 17153f7..f30df78 100644
--- a/Language/Statements/Switch/labels_constants_t01.dart
+++ b/Language/Statements/Switch/labels_constants_t01.dart
@@ -19,7 +19,6 @@
/// constants for all k = 1..n.
/// @description Checks that it is a compile-time error if a case expression
/// is not a compile-time constant.
-/// @compile-error
/// @author msyabro
@@ -30,5 +29,8 @@
case 0:
case 2:
case f():
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Switch/last_statement_t01.dart b/Language/Statements/Switch/last_statement_t01.dart
index 24f8a93..b479663 100644
--- a/Language/Statements/Switch/last_statement_t01.dart
+++ b/Language/Statements/Switch/last_statement_t01.dart
@@ -7,13 +7,15 @@
/// @description Checks that it is a compile error if the last statement of the
/// statement sequence of a case clause is not a break, continue, return or throw
/// statement.
-/// @compile-error
/// @author msyabro
main() {
switch (1) {
case 0: false;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
case 1: true;
break;
}
diff --git a/Language/Statements/Switch/scope_t02.dart b/Language/Statements/Switch/scope_t02.dart
index a67a423..4ffece5 100644
--- a/Language/Statements/Switch/scope_t02.dart
+++ b/Language/Statements/Switch/scope_t02.dart
@@ -7,7 +7,6 @@
/// clause’s statement list.
/// @description Checks that the scope of a case clause ends immediately after
/// the case clause’s statement list.
-/// @compile-error
/// @author msyabro
@@ -16,5 +15,8 @@
case 1: var x = 2;
break;
case 2: x++; /// x isn't declared in this scope
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Switch/syntax_t04.dart b/Language/Statements/Switch/syntax_t04.dart
index a243c9f..81aa900 100644
--- a/Language/Statements/Switch/syntax_t04.dart
+++ b/Language/Statements/Switch/syntax_t04.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if the opening bracket
/// of the switch expression is missing.
-/// @compile-error
/// @author vasya
@@ -23,8 +22,17 @@
var result;
switch value) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
case 0: result = 0; break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
default: result = -1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
return result;
}
diff --git a/Language/Statements/Switch/syntax_t05.dart b/Language/Statements/Switch/syntax_t05.dart
index f5a4213..31eb487 100644
--- a/Language/Statements/Switch/syntax_t05.dart
+++ b/Language/Statements/Switch/syntax_t05.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if the closing bracket
/// of the switch expression is missing.
-/// @compile-error
/// @author vasya
@@ -23,6 +22,9 @@
var result;
switch (value {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
case 0: result = 0; break;
default: result = -1;
}
diff --git a/Language/Statements/Switch/syntax_t06.dart b/Language/Statements/Switch/syntax_t06.dart
index e19c3a8..87c2508 100644
--- a/Language/Statements/Switch/syntax_t06.dart
+++ b/Language/Statements/Switch/syntax_t06.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if the switch expression
/// is missing.
-/// @compile-error
/// @author vasya
@@ -23,6 +22,9 @@
var result;
switch () {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
case 0: break;
}
return result;
diff --git a/Language/Statements/Switch/syntax_t07.dart b/Language/Statements/Switch/syntax_t07.dart
index c9c534b..df03705 100644
--- a/Language/Statements/Switch/syntax_t07.dart
+++ b/Language/Statements/Switch/syntax_t07.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if the opening curly
/// bracket of the switch statement's body is missing.
-/// @compile-error
/// @author vasya
@@ -23,10 +22,25 @@
var result;
switch (value)
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
case 0: result = 0; break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
default: result = -1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
return result;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/Language/Statements/Switch/syntax_t08.dart b/Language/Statements/Switch/syntax_t08.dart
index f5f35db..bc93786 100644
--- a/Language/Statements/Switch/syntax_t08.dart
+++ b/Language/Statements/Switch/syntax_t08.dart
@@ -15,11 +15,12 @@
/// ;
/// @description Checks that it is a compile-time error if the closing curly
/// bracket of the switch statement's body is missing.
-/// @compile-error
/// @author vasya
switchTest(value) {
+// ^
+// [cfe] unspecified
var result;
switch (value) {
@@ -29,3 +30,5 @@
}
main() {}
+// [error line 34, column 0]
+// [analyzer] unspecified
\ No newline at end of file
diff --git a/Language/Statements/Switch/syntax_t09.dart b/Language/Statements/Switch/syntax_t09.dart
index 9b12fe1..2988ddf 100644
--- a/Language/Statements/Switch/syntax_t09.dart
+++ b/Language/Statements/Switch/syntax_t09.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if a case expression is
/// missing.
-/// @compile-error
/// @author vasya
@@ -24,6 +23,9 @@
switch (value) {
case : result = 0; break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
default: result = -1;
}
return result;
diff --git a/Language/Statements/Switch/syntax_t10.dart b/Language/Statements/Switch/syntax_t10.dart
index e493b2a..06bce24 100644
--- a/Language/Statements/Switch/syntax_t10.dart
+++ b/Language/Statements/Switch/syntax_t10.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if a case expression is
/// not followed by a colon character.
-/// @compile-error
/// @author vasya
@@ -24,6 +23,9 @@
switch (value) {
case 0 result = 0; break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
default: result = -1;
}
return result;
diff --git a/Language/Statements/Switch/syntax_t11.dart b/Language/Statements/Switch/syntax_t11.dart
index 9b08892..253c1d1 100644
--- a/Language/Statements/Switch/syntax_t11.dart
+++ b/Language/Statements/Switch/syntax_t11.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if the semicolon at the
/// end of case statements is missing.
-/// @compile-error
/// @author vasya
@@ -24,6 +23,9 @@
switch (value) {
case 0: result = 0
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
default: result = -1;
}
return result;
diff --git a/Language/Statements/Switch/syntax_t12.dart b/Language/Statements/Switch/syntax_t12.dart
index 9dfcda4..77f79af 100644
--- a/Language/Statements/Switch/syntax_t12.dart
+++ b/Language/Statements/Switch/syntax_t12.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if the default keyword
/// is followed by an expression.
-/// @compile-error
/// @author vasya
@@ -25,6 +24,9 @@
switch (value) {
case 0: result = 0; break;
default -1: result = -1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
return result;
}
diff --git a/Language/Statements/Switch/syntax_t14.dart b/Language/Statements/Switch/syntax_t14.dart
index 723604c..47222eb 100644
--- a/Language/Statements/Switch/syntax_t14.dart
+++ b/Language/Statements/Switch/syntax_t14.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if the default keyword
/// is not followed by a colon character.
-/// @compile-error
/// @author vasya
@@ -25,6 +24,9 @@
switch (value) {
case 0: result = 0; break;
default result = -1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
return result;
}
diff --git a/Language/Statements/Switch/syntax_t15.dart b/Language/Statements/Switch/syntax_t15.dart
index 7268e1b..357c6e1 100644
--- a/Language/Statements/Switch/syntax_t15.dart
+++ b/Language/Statements/Switch/syntax_t15.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if the semicolon at the
/// end of default case statements is missing.
-/// @compile-error
/// @author vasya
@@ -25,6 +24,9 @@
switch (value) {
case 0: result = 0; break;
default: result = -1
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
return result;
}
diff --git a/Language/Statements/Switch/syntax_t16.dart b/Language/Statements/Switch/syntax_t16.dart
index f55b3a1..e3cc1c5 100644
--- a/Language/Statements/Switch/syntax_t16.dart
+++ b/Language/Statements/Switch/syntax_t16.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if the default case is
/// repeated.
-/// @compile-error
/// @author vasya
@@ -25,7 +24,12 @@
switch(value) {
case 0: break;
default:
+// ^
+// [cfe] unspecified
default: break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
return result;
}
diff --git a/Language/Statements/Switch/syntax_t17.dart b/Language/Statements/Switch/syntax_t17.dart
index db86cbe..a5e73e2 100644
--- a/Language/Statements/Switch/syntax_t17.dart
+++ b/Language/Statements/Switch/syntax_t17.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if the default case is
/// not the last case of a switch statement.
-/// @compile-error
/// @author vasya
@@ -26,6 +25,9 @@
case 0: break;
default: break;
case 1: break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
return result;
}
diff --git a/Language/Statements/Switch/syntax_t18.dart b/Language/Statements/Switch/syntax_t18.dart
index a52cbfc..10c072f 100644
--- a/Language/Statements/Switch/syntax_t18.dart
+++ b/Language/Statements/Switch/syntax_t18.dart
@@ -15,7 +15,6 @@
/// ;
/// @description Checks that it is a compile-time error if a label is not
/// followed by case or default keywords.
-/// @compile-error
/// @author kaigorodov
@@ -26,6 +25,9 @@
case 0: break;
label:
}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
return result;
}
diff --git a/Language/Statements/Switch/type_t01.dart b/Language/Statements/Switch/type_t01.dart
index dac67ee..a75ec79 100644
--- a/Language/Statements/Switch/type_t01.dart
+++ b/Language/Statements/Switch/type_t01.dart
@@ -7,13 +7,18 @@
/// @description Checks that a compile error is produced if the type of the
/// switch expression's value cannot be assigned to any of the case expression
/// types.
-/// @compile-error
/// @author vasya
main() {
switch (false) {
case 0:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
case 1:
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Switch/type_t02.dart b/Language/Statements/Switch/type_t02.dart
index 7a1f00f..c3111cc 100644
--- a/Language/Statements/Switch/type_t02.dart
+++ b/Language/Statements/Switch/type_t02.dart
@@ -7,13 +7,15 @@
/// @description Checks that a compile error is produced if the type of the
/// switch expression's value cannot be assigned to any of the case expression
/// types. Test the case when there is a default clause
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() {
switch (false) {
case 0: break;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
default:
}
}
diff --git a/Language/Statements/Try/malformed_type_t01.dart b/Language/Statements/Try/malformed_type_t01.dart
index 4359720..097e243 100644
--- a/Language/Statements/Try/malformed_type_t01.dart
+++ b/Language/Statements/Try/malformed_type_t01.dart
@@ -5,7 +5,6 @@
/// @assertion If T is a malformed type, then performing a match causes a run
/// time error. It is a static warning if T is a malformed type.
/// @description Checks that if T is malformed, compile error is raised.
-/// @compile-error
/// @author vasya
import '../../../Utils/expect.dart';
@@ -16,6 +15,9 @@
Expect.fail("This code shouldn't be executed");
} on String catch (ok) {
} on Unavailable catch (ex) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
Expect.fail("This code shouldn't be executed");
}
}
diff --git a/Language/Statements/Try/malformed_type_t02.dart b/Language/Statements/Try/malformed_type_t02.dart
index c9397ef..3f4165c 100644
--- a/Language/Statements/Try/malformed_type_t02.dart
+++ b/Language/Statements/Try/malformed_type_t02.dart
@@ -5,7 +5,6 @@
/// @assertion If T is a malformed type, then performing a match causes a run
/// time error. It is a static warning if T is a malformed type.
/// @description Checks that if T is malformed, compile error is raised.
-/// @compile-error
/// @author vasya
import '../../../Utils/expect.dart';
@@ -16,6 +15,9 @@
Expect.fail("This code shouldn't be executed");
} on String catch (ok) {
} on Unavailable catch (p1, p2) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
Expect.fail("This code shouldn't be executed");
}
}
diff --git a/Language/Statements/Try/malformed_type_t03.dart b/Language/Statements/Try/malformed_type_t03.dart
index 7031a03..1c232ea 100644
--- a/Language/Statements/Try/malformed_type_t03.dart
+++ b/Language/Statements/Try/malformed_type_t03.dart
@@ -5,7 +5,6 @@
/// @assertion If T is a malformed type, then performing a match causes a run
/// time error. It is a static warning if T is a malformed type.
/// @description Checks that if T is malformed, compile error is raised.
-/// @compile-error
/// @author rodionov
import '../../../Utils/expect.dart';
@@ -18,6 +17,9 @@
Expect.fail("This code shouldn't be executed");
} on p.Foo catch (ok) {
} on Foo catch (p1, p2) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
Expect.fail("This code shouldn't be executed");
}
}
diff --git a/Language/Statements/Try/syntax_t02.dart b/Language/Statements/Try/syntax_t02.dart
index dd9df77..eadfa31 100644
--- a/Language/Statements/Try/syntax_t02.dart
+++ b/Language/Statements/Try/syntax_t02.dart
@@ -24,11 +24,13 @@
/// 2. A finally clause, which consists of a block statement.
/// @description Checks that it is a compile-time error if the try statement is
/// missing try block.
-/// @compile-error
/// @author vasya
main() {
try catch (ex) {}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Try/syntax_t03.dart b/Language/Statements/Try/syntax_t03.dart
index 9c95ca8..51baacb 100644
--- a/Language/Statements/Try/syntax_t03.dart
+++ b/Language/Statements/Try/syntax_t03.dart
@@ -24,12 +24,20 @@
/// 2. A finally clause, which consists of a block statement.
/// @description Checks that it is a compile-time error if the try block is
/// missing the opening curly brace.
-/// @compile-error
/// @author vasya
main() {
try
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
throw 0;
} catch (ex) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Statements/Try/syntax_t04.dart b/Language/Statements/Try/syntax_t04.dart
index 1ff6d35..8878482 100644
--- a/Language/Statements/Try/syntax_t04.dart
+++ b/Language/Statements/Try/syntax_t04.dart
@@ -24,12 +24,21 @@
/// 2. A finally clause, which consists of a block statement.
/// @description Checks that it is a compile-time error if the try block is
/// missing the closing curly braces.
-/// @compile-error
/// @author vasya
main() {
+// ^
+// [cfe] unspecified
try {
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
throw 0;
catch (ex) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
+// [error line 44, column 0]
+// [analyzer] unspecified
\ No newline at end of file
diff --git a/Language/Statements/Try/syntax_t06.dart b/Language/Statements/Try/syntax_t06.dart
index 893f71a..d99a2eb 100644
--- a/Language/Statements/Try/syntax_t06.dart
+++ b/Language/Statements/Try/syntax_t06.dart
@@ -24,12 +24,14 @@
/// 2. A finally clause, which consists of a block statement.
/// @description Checks that it is a compile-time error if the try block does not
/// have any catch or finally clauses.
-/// @compile-error
/// @author vasya
main() {
try {
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
throw 0;
}
}
diff --git a/Language/Statements/Try/syntax_t07.dart b/Language/Statements/Try/syntax_t07.dart
index 05ee696..e60d2ab 100644
--- a/Language/Statements/Try/syntax_t07.dart
+++ b/Language/Statements/Try/syntax_t07.dart
@@ -24,7 +24,6 @@
/// 2. A finally clause, which consists of a block statement.
/// @description Checks that it is a compile-time error if the catch clause of a
/// try statement is missing the exception parameters.
-/// @compile-error
/// @author vasya
@@ -32,5 +31,8 @@
try {
throw 0;
} catch { }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Try/syntax_t08.dart b/Language/Statements/Try/syntax_t08.dart
index e5d4285..815b491 100644
--- a/Language/Statements/Try/syntax_t08.dart
+++ b/Language/Statements/Try/syntax_t08.dart
@@ -24,7 +24,6 @@
/// 2. A finally clause, which consists of a block statement.
/// @description Checks that it is a compile-time error if the catch clause of a
/// try statement is missing its block part.
-/// @compile-error
/// @author vasya
@@ -32,4 +31,7 @@
try {
throw 0;
} catch (ex)
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Try/syntax_t09.dart b/Language/Statements/Try/syntax_t09.dart
index 61211d2..ce75a99 100644
--- a/Language/Statements/Try/syntax_t09.dart
+++ b/Language/Statements/Try/syntax_t09.dart
@@ -24,7 +24,6 @@
/// 2. A finally clause, which consists of a block statement.
/// @description Checks that it is a compile-time error if the finally clause of
/// a try statement is missing its block part.
-/// @compile-error
/// @author vasya
@@ -32,4 +31,7 @@
try {
var foo = "foo";
} finally
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Try/syntax_t10.dart b/Language/Statements/Try/syntax_t10.dart
index ab9551f..bb91b0b 100644
--- a/Language/Statements/Try/syntax_t10.dart
+++ b/Language/Statements/Try/syntax_t10.dart
@@ -24,13 +24,15 @@
/// 2. A finally clause, which consists of a block statement.
/// @description Checks that it is a compile-time error if there is a standalone
/// catch clause without a try statement.
-/// @compile-error
/// @author vasya
main() {
var foo = true;
catch (ex) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
foo = false;
}
}
diff --git a/Language/Statements/Try/syntax_t11.dart b/Language/Statements/Try/syntax_t11.dart
index ba3e657..6edac2b 100644
--- a/Language/Statements/Try/syntax_t11.dart
+++ b/Language/Statements/Try/syntax_t11.dart
@@ -24,13 +24,15 @@
/// 2. A finally clause, which consists of a block statement.
/// @description Checks that it is a compile-time error if there is a standalone
/// finally clause without a try statement.
-/// @compile-error
/// @author vasya
main() {
var foo = true;
finally {
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
foo = false;
}
}
diff --git a/Language/Statements/Try/syntax_t12.dart b/Language/Statements/Try/syntax_t12.dart
index de310d2..4ba516e 100644
--- a/Language/Statements/Try/syntax_t12.dart
+++ b/Language/Statements/Try/syntax_t12.dart
@@ -24,7 +24,6 @@
/// 2. A finally clause, which consists of a block statement.
/// @description Checks that it is a compile-time error if a catch clause
/// specifies more than 2 exception parameters.
-/// @compile-error
/// @author vasya
@@ -32,4 +31,7 @@
try {
throw "foo";
} on String catch (foo, trace, message) { }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Try/syntax_t13.dart b/Language/Statements/Try/syntax_t13.dart
index d0509e7..c2465d3 100644
--- a/Language/Statements/Try/syntax_t13.dart
+++ b/Language/Statements/Try/syntax_t13.dart
@@ -24,7 +24,6 @@
/// 2. A finally clause, which consists of a block statement.
/// @description Checks that it is a compile-time error if a catch clause doesn't
/// specify any exception parameters.
-/// @compile-error
/// @author vasya
@@ -32,4 +31,7 @@
try {
throw "foo";
} catch () { }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Try/syntax_t15.dart b/Language/Statements/Try/syntax_t15.dart
index bddb212..83a5019 100644
--- a/Language/Statements/Try/syntax_t15.dart
+++ b/Language/Statements/Try/syntax_t15.dart
@@ -24,7 +24,6 @@
/// 2. A finally clause, which consists of a block statement.
/// @description Checks that it is a compile-time error if a catch clause
/// specifies two exception parameters with the same name.
-/// @compile-error
/// @author vasya
@@ -32,5 +31,8 @@
try {
throw "foo";
} catch (e, e) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Try/syntax_t16.dart b/Language/Statements/Try/syntax_t16.dart
index df7f171..1dc3970 100644
--- a/Language/Statements/Try/syntax_t16.dart
+++ b/Language/Statements/Try/syntax_t16.dart
@@ -24,7 +24,6 @@
/// 2. A finally clause, which consists of a block statement.
/// @description Checks that it is a compile-time error if a try statement has
/// more than one finally clause.
-/// @compile-error
/// @author vasya
@@ -32,5 +31,8 @@
try {
} finally {
} finally {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Try/syntax_t17.dart b/Language/Statements/Try/syntax_t17.dart
index 2b2bc01..b54862b 100644
--- a/Language/Statements/Try/syntax_t17.dart
+++ b/Language/Statements/Try/syntax_t17.dart
@@ -24,7 +24,6 @@
/// 2. A finally clause, which consists of a block statement.
/// @description Checks that it is a compile-time error if a try statement has a
/// finally clause preceding a catch clause.
-/// @compile-error
/// @author rodionov
@@ -33,4 +32,7 @@
} on int catch (foo) {
} finally {
} catch (bar) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Try/syntax_t18.dart b/Language/Statements/Try/syntax_t18.dart
index b50a591..fdb6909 100644
--- a/Language/Statements/Try/syntax_t18.dart
+++ b/Language/Statements/Try/syntax_t18.dart
@@ -24,7 +24,6 @@
/// 2. A finally clause, which consists of a block statement.
/// @description Checks that it is a compile-time error when the onPart is
/// missing its block.
-/// @compile-error
/// @author kaigorodov
@@ -32,4 +31,7 @@
try {
throw "foo";
} on String catch (ex)
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Try/syntax_t19.dart b/Language/Statements/Try/syntax_t19.dart
index 5701c30..00542b6 100644
--- a/Language/Statements/Try/syntax_t19.dart
+++ b/Language/Statements/Try/syntax_t19.dart
@@ -23,11 +23,16 @@
/// 2. A finally clause, which consists of a block statement.
/// @description Checks that it is a compile-time error if "try" is followed by
/// a return statement instead of a block.
-/// @compile-error
/// @author iefremov
main() {
try return;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
catch (ex) { }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Try/syntax_t20.dart b/Language/Statements/Try/syntax_t20.dart
index 51fe423..4e6c3de 100644
--- a/Language/Statements/Try/syntax_t20.dart
+++ b/Language/Statements/Try/syntax_t20.dart
@@ -24,10 +24,12 @@
/// 2. A finally clause, which consists of a block statement.
/// @description Checks that it is a compile-time error if catchPart ends with
/// a return statement instead of a block.
-/// @compile-error
/// @author iefremov
main() {
try {} catch (ex) return;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Try/syntax_t21.dart b/Language/Statements/Try/syntax_t21.dart
index fd79971..3af8c55 100644
--- a/Language/Statements/Try/syntax_t21.dart
+++ b/Language/Statements/Try/syntax_t21.dart
@@ -23,10 +23,12 @@
/// 2. A finally clause, which consists of a block statement.
/// @description Checks that it is a compile-time error if "finally" is followed
/// by a return statement instead of a block.
-/// @compile-error
/// @author iefremov
main() {
try {} catch (ex) {} finally return;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Try/syntax_t22.dart b/Language/Statements/Try/syntax_t22.dart
index 58f9f68..5bd0ada 100644
--- a/Language/Statements/Try/syntax_t22.dart
+++ b/Language/Statements/Try/syntax_t22.dart
@@ -24,7 +24,6 @@
/// 2. A finally clause, which consists of a block statement.
/// @description Checks that it is a compile-time error if when the onPart
/// is missing the type name.
-/// @compile-error
/// @author kaigorodov
@@ -32,5 +31,8 @@
try {
throw "foo";
} on catch (ex) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/While/condition_type_t01.dart b/Language/Statements/While/condition_type_t01.dart
index 910d89c..1e6a4de 100644
--- a/Language/Statements/While/condition_type_t01.dart
+++ b/Language/Statements/While/condition_type_t01.dart
@@ -6,11 +6,13 @@
/// to bool.
/// @description Checks that it is a compile error if the type of e may not
/// be assigned to bool.
-/// @compile-error
/// @author rodionov
main() {
while ("true") {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
print("foo");
break;
}
diff --git a/Language/Statements/While/condition_type_t02.dart b/Language/Statements/While/condition_type_t02.dart
index a8f9e4a..2abfbfc 100644
--- a/Language/Statements/While/condition_type_t02.dart
+++ b/Language/Statements/While/condition_type_t02.dart
@@ -6,11 +6,13 @@
/// to bool.
/// @description Checks that it is a compile error if the type of e may not
/// be assigned to bool.
-/// @compile-error
/// @author rodionov
main() {
while (1 + 2) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
print("foo");
break;
}
diff --git a/Language/Statements/While/condition_type_t03.dart b/Language/Statements/While/condition_type_t03.dart
index 62cd69b..78a6950 100644
--- a/Language/Statements/While/condition_type_t03.dart
+++ b/Language/Statements/While/condition_type_t03.dart
@@ -6,13 +6,15 @@
/// to bool.
/// @description Checks that it is a compile error if the type of e may not
/// be assigned to bool.
-/// @compile-error
/// @author rodionov
int f() {return 1;}
main() {
while (f()) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
print("foo");
break;
}
diff --git a/Language/Statements/While/syntax_t01.dart b/Language/Statements/While/syntax_t01.dart
index 04eed3e..6652449 100644
--- a/Language/Statements/While/syntax_t01.dart
+++ b/Language/Statements/While/syntax_t01.dart
@@ -9,11 +9,13 @@
/// ;
/// @description Checks that it is a compile-time error if the opening bracket of
/// the expression is missing.
-/// @compile-error
/// @author vasya
main() {
while true) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/While/syntax_t02.dart b/Language/Statements/While/syntax_t02.dart
index 49f1c00..f181aec 100644
--- a/Language/Statements/While/syntax_t02.dart
+++ b/Language/Statements/While/syntax_t02.dart
@@ -9,11 +9,13 @@
/// ;
/// @description Checks that it is a compile-time error if the closing bracket of
/// the expression is missing.
-/// @compile-error
/// @author vasya
main() {
while (true { }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/While/syntax_t03.dart b/Language/Statements/While/syntax_t03.dart
index 8de822a..e7e88c2 100644
--- a/Language/Statements/While/syntax_t03.dart
+++ b/Language/Statements/While/syntax_t03.dart
@@ -9,11 +9,13 @@
/// ;
/// @description Checks that it is a compile-time error if the semicolon at the
/// end of the statement is missing.
-/// @compile-error
/// @author vasya
main() {
while (true) break
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/While/syntax_t04.dart b/Language/Statements/While/syntax_t04.dart
index 05e9f53..e177711 100644
--- a/Language/Statements/While/syntax_t04.dart
+++ b/Language/Statements/While/syntax_t04.dart
@@ -9,11 +9,13 @@
/// ;
/// @description Checks that it is a compile-time error if the expression is
/// missing.
-/// @compile-error
/// @author vasya
main() {
while () { }
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Yield_and_Yield_Each/Yield/location_t01.dart b/Language/Statements/Yield_and_Yield_Each/Yield/location_t01.dart
index 84f3038..9d4c758 100644
--- a/Language/Statements/Yield_and_Yield_Each/Yield/location_t01.dart
+++ b/Language/Statements/Yield_and_Yield_Each/Yield/location_t01.dart
@@ -8,10 +8,12 @@
/// @description Check that it is compile error if yield statement appears
/// inside synchronous function.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
main() {
yield 1;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Yield_and_Yield_Each/Yield/location_t02.dart b/Language/Statements/Yield_and_Yield_Each/Yield/location_t02.dart
index c2d6646..1135935 100644
--- a/Language/Statements/Yield_and_Yield_Each/Yield/location_t02.dart
+++ b/Language/Statements/Yield_and_Yield_Each/Yield/location_t02.dart
@@ -8,10 +8,12 @@
/// @description Check that it is compile error if yield statement appears
/// inside asynchronous function.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
main() async {
yield 1;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Yield_and_Yield_Each/Yield/location_t03.dart b/Language/Statements/Yield_and_Yield_Each/Yield/location_t03.dart
index 3439a66..a7abea7 100644
--- a/Language/Statements/Yield_and_Yield_Each/Yield/location_t03.dart
+++ b/Language/Statements/Yield_and_Yield_Each/Yield/location_t03.dart
@@ -8,13 +8,15 @@
/// @description Check that it is compile error if yield statement appears
/// inside static synchronous method.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
static test() {
yield 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Yield_and_Yield_Each/Yield/location_t04.dart b/Language/Statements/Yield_and_Yield_Each/Yield/location_t04.dart
index e570271..145aa49 100644
--- a/Language/Statements/Yield_and_Yield_Each/Yield/location_t04.dart
+++ b/Language/Statements/Yield_and_Yield_Each/Yield/location_t04.dart
@@ -8,13 +8,15 @@
/// @description Check that it is compile error if yield statement appears
/// inside static asynchronous method.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
static test() async {
yield 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Yield_and_Yield_Each/Yield/location_t05.dart b/Language/Statements/Yield_and_Yield_Each/Yield/location_t05.dart
index 7d676e7..22517dd 100644
--- a/Language/Statements/Yield_and_Yield_Each/Yield/location_t05.dart
+++ b/Language/Statements/Yield_and_Yield_Each/Yield/location_t05.dart
@@ -8,13 +8,15 @@
/// @description Check that it is compile error if yield statement appears
/// inside synchronous method.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
test() {
yield 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Yield_and_Yield_Each/Yield/location_t06.dart b/Language/Statements/Yield_and_Yield_Each/Yield/location_t06.dart
index e87c6d5..458bb7a 100644
--- a/Language/Statements/Yield_and_Yield_Each/Yield/location_t06.dart
+++ b/Language/Statements/Yield_and_Yield_Each/Yield/location_t06.dart
@@ -8,13 +8,15 @@
/// @description Check that it is compile error if yield statement appears
/// inside asynchronous method.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
test() async {
yield 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Yield_and_Yield_Each/Yield/static_type_t01.dart b/Language/Statements/Yield_and_Yield_Each/Yield/static_type_t01.dart
index b14a90a..262195b 100644
--- a/Language/Statements/Yield_and_Yield_Each/Yield/static_type_t01.dart
+++ b/Language/Statements/Yield_and_Yield_Each/Yield/static_type_t01.dart
@@ -13,13 +13,14 @@
/// sync* and the type Iterable<T> may not be assigned to the declared return
/// type of f.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
-
Iterable<String> generator() sync* {
yield 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
-
+}
diff --git a/Language/Statements/Yield_and_Yield_Each/Yield/static_type_t02.dart b/Language/Statements/Yield_and_Yield_Each/Yield/static_type_t02.dart
index 61cf4fd..dc61789 100644
--- a/Language/Statements/Yield_and_Yield_Each/Yield/static_type_t02.dart
+++ b/Language/Statements/Yield_and_Yield_Each/Yield/static_type_t02.dart
@@ -13,13 +13,15 @@
/// async* and the type Stream<T> may not be assigned to the declared return
/// type of f.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
import 'dart:async';
Stream<String> generator() async* {
yield 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Statements/Yield_and_Yield_Each/Yield/syntax_t07.dart b/Language/Statements/Yield_and_Yield_Each/Yield/syntax_t07.dart
index 9ee3838..f14d6b3 100644
--- a/Language/Statements/Yield_and_Yield_Each/Yield/syntax_t07.dart
+++ b/Language/Statements/Yield_and_Yield_Each/Yield/syntax_t07.dart
@@ -11,12 +11,14 @@
/// @description Check that it is compile error if expression part is missing
/// in yield statement in synchronous generator function
///
-/// @compile-error
/// @author a.semenov@unipro.ru
Iterable<int> test() sync* {
yield ;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Statements/Yield_and_Yield_Each/Yield/syntax_t08.dart b/Language/Statements/Yield_and_Yield_Each/Yield/syntax_t08.dart
index cf3ba9b..d42a780 100644
--- a/Language/Statements/Yield_and_Yield_Each/Yield/syntax_t08.dart
+++ b/Language/Statements/Yield_and_Yield_Each/Yield/syntax_t08.dart
@@ -11,13 +11,15 @@
/// @description Check that it is compile error if expression part is missing
/// in yield statement in asynchronous generator function
///
-/// @compile-error
/// @author a.semenov@unipro.ru
import 'dart:async';
Stream<int> test() async* {
yield ;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Statements/Yield_and_Yield_Each/Yield/syntax_t09.dart b/Language/Statements/Yield_and_Yield_Each/Yield/syntax_t09.dart
index e4f4d01..b33aa23 100644
--- a/Language/Statements/Yield_and_Yield_Each/Yield/syntax_t09.dart
+++ b/Language/Statements/Yield_and_Yield_Each/Yield/syntax_t09.dart
@@ -11,12 +11,14 @@
/// @description Check that it is compile error if ';' is missing
/// in yield statement in synchronous generator function
///
-/// @compile-error
/// @author a.semenov@unipro.ru
Iterable<int> test() sync* {
yield 1
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Statements/Yield_and_Yield_Each/Yield/syntax_t10.dart b/Language/Statements/Yield_and_Yield_Each/Yield/syntax_t10.dart
index 4d2b59a..935983b 100644
--- a/Language/Statements/Yield_and_Yield_Each/Yield/syntax_t10.dart
+++ b/Language/Statements/Yield_and_Yield_Each/Yield/syntax_t10.dart
@@ -11,13 +11,15 @@
/// @description Check that it is compile error if ';' is missing
/// in yield statement in asynchronous generator function
///
-/// @compile-error
/// @author a.semenov@unipro.ru
import 'dart:async';
Stream<int> test() async* {
yield 1
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t01.dart b/Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t01.dart
index 0973991..cbcaee2 100644
--- a/Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t01.dart
+++ b/Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t01.dart
@@ -9,10 +9,12 @@
/// inside synchronous function.
///
/// @issue #25495
-/// @compile-error
/// @author a.semenov@unipro.ru
main() {
yield* [1];
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t02.dart b/Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t02.dart
index d8ee5e7..6491a05 100644
--- a/Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t02.dart
+++ b/Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t02.dart
@@ -8,11 +8,13 @@
/// @description Check that it is compile error if yield-each statement appears
/// inside asynchronous function.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
import 'dart:async';
main() async {
yield* new Stream<int>.fromIterable([1]);
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t03.dart b/Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t03.dart
index a4b7c97..26ed3e7 100644
--- a/Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t03.dart
+++ b/Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t03.dart
@@ -9,13 +9,15 @@
/// inside static synchronous method.
///
/// @issue #25495
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
static test() {
yield* [1];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t04.dart b/Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t04.dart
index 8911541..a71ef45 100644
--- a/Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t04.dart
+++ b/Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t04.dart
@@ -8,7 +8,6 @@
/// @description Check that it is compile error if yield-each statement appears
/// inside static asynchronous method.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
import 'dart:async';
@@ -16,6 +15,9 @@
class A {
static test() async {
yield* new Stream<String>.fromIterable(['a']);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t05.dart b/Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t05.dart
index 4c60623..926b62d 100644
--- a/Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t05.dart
+++ b/Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t05.dart
@@ -9,13 +9,15 @@
/// inside synchronous method.
///
/// @issue #25495
-/// @compile-error
/// @author a.semenov@unipro.ru
class A {
test() {
yield* [1];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t06.dart b/Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t06.dart
index faeb4b9..c7e324f 100644
--- a/Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t06.dart
+++ b/Language/Statements/Yield_and_Yield_Each/Yield_Each/location_t06.dart
@@ -8,7 +8,6 @@
/// @description Check that it is compile error if yield-each statement appears
/// inside asynchronous method.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
import 'dart:async';
@@ -16,6 +15,9 @@
class A {
test() async {
yield* new Stream<String>.fromIterable(['a']);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
}
diff --git a/Language/Statements/Yield_and_Yield_Each/Yield_Each/static_type_t01.dart b/Language/Statements/Yield_and_Yield_Each/Yield_Each/static_type_t01.dart
index 9dcf465..5be01ed 100644
--- a/Language/Statements/Yield_and_Yield_Each/Yield_Each/static_type_t01.dart
+++ b/Language/Statements/Yield_and_Yield_Each/Yield_Each/static_type_t01.dart
@@ -12,12 +12,14 @@
/// sync* and the type T may not be assigned to the declared return
/// type of f.
///
-/// @compile-error
/// @author a.semenov@unipro.ru
Iterable<String> generator() sync* {
yield* 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Statements/Yield_and_Yield_Each/Yield_Each/static_type_t02.dart b/Language/Statements/Yield_and_Yield_Each/Yield_Each/static_type_t02.dart
index f5f1102..07c363c 100644
--- a/Language/Statements/Yield_and_Yield_Each/Yield_Each/static_type_t02.dart
+++ b/Language/Statements/Yield_and_Yield_Each/Yield_Each/static_type_t02.dart
@@ -12,7 +12,6 @@
/// async* and the type T may not be assigned to the declared return
/// type of f.
///
-/// @compile-error
/// @issue #25634
/// @author a.semenov@unipro.ru
@@ -21,6 +20,9 @@
Stream<String> generator() async* {
yield* 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {}
diff --git a/Language/Statements/Yield_and_Yield_Each/Yield_Each/syntax_t07.dart b/Language/Statements/Yield_and_Yield_Each/Yield_Each/syntax_t07.dart
index 09410a7..cbf5c8c 100644
--- a/Language/Statements/Yield_and_Yield_Each/Yield_Each/syntax_t07.dart
+++ b/Language/Statements/Yield_and_Yield_Each/Yield_Each/syntax_t07.dart
@@ -11,12 +11,14 @@
/// @description Check that it is compile error if expression part is missing
/// in yield-each statement in synchronous generator function
///
-/// @compile-error
/// @author a.semenov@unipro.ru
Iterable<int> test() sync* {
yield* ;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Statements/Yield_and_Yield_Each/Yield_Each/syntax_t08.dart b/Language/Statements/Yield_and_Yield_Each/Yield_Each/syntax_t08.dart
index d0e1fab..0bfee6c 100644
--- a/Language/Statements/Yield_and_Yield_Each/Yield_Each/syntax_t08.dart
+++ b/Language/Statements/Yield_and_Yield_Each/Yield_Each/syntax_t08.dart
@@ -11,13 +11,15 @@
/// @description Check that it is compile error if expression part is missing
/// in yield-each statement in asynchronous generator function
///
-/// @compile-error
/// @author a.semenov@unipro.ru
import 'dart:async';
Stream<int> test() async* {
yield* ;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Statements/Yield_and_Yield_Each/Yield_Each/syntax_t09.dart b/Language/Statements/Yield_and_Yield_Each/Yield_Each/syntax_t09.dart
index 10ed251..5546a82 100644
--- a/Language/Statements/Yield_and_Yield_Each/Yield_Each/syntax_t09.dart
+++ b/Language/Statements/Yield_and_Yield_Each/Yield_Each/syntax_t09.dart
@@ -11,12 +11,14 @@
/// @description Check that it is compile error if ';' is missing
/// in yield-each statement in synchronous generator function
///
-/// @compile-error
/// @author a.semenov@unipro.ru
Iterable<int> test() sync* {
yield* [1]
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Statements/Yield_and_Yield_Each/Yield_Each/syntax_t10.dart b/Language/Statements/Yield_and_Yield_Each/Yield_Each/syntax_t10.dart
index 091e84b..a854649 100644
--- a/Language/Statements/Yield_and_Yield_Each/Yield_Each/syntax_t10.dart
+++ b/Language/Statements/Yield_and_Yield_Each/Yield_Each/syntax_t10.dart
@@ -11,13 +11,15 @@
/// @description Check that it is compile error if ';' is missing
/// in yield-each statement in asynchronous generator function
///
-/// @compile-error
/// @author a.semenov@unipro.ru
import 'dart:async';
Stream<int> test() async* {
yield* new Stream<int>.fromIterable([1])
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Types/Dynamic_Type_System/deferred_type_error_t01.dart b/Language/Types/Dynamic_Type_System/deferred_type_error_t01.dart
index bb6bcd7..3a209ac 100644
--- a/Language/Types/Dynamic_Type_System/deferred_type_error_t01.dart
+++ b/Language/Types/Dynamic_Type_System/deferred_type_error_t01.dart
@@ -6,7 +6,6 @@
/// malbounded type is used in a subtype test
/// @description Checks that a compile error occurs if deferred type is used
/// in an explicit subtype test.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -16,4 +15,7 @@
main() {
A is p.C;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Dynamic_Type_System/malbounded_type_error_t01.dart b/Language/Types/Dynamic_Type_System/malbounded_type_error_t01.dart
index ba30e7d..4c5e217 100644
--- a/Language/Types/Dynamic_Type_System/malbounded_type_error_t01.dart
+++ b/Language/Types/Dynamic_Type_System/malbounded_type_error_t01.dart
@@ -6,7 +6,6 @@
/// in a subtype test.
/// @description Checks that a compile error occurs when malbounded type is used
/// in a subtype test.
-/// @compile-error
/// @author ilya
@@ -14,5 +13,8 @@
main() {
int is C<double>;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Dynamic_Type_System/malformed_type_error_t01.dart b/Language/Types/Dynamic_Type_System/malformed_type_error_t01.dart
index f2194bc..ac2465b 100644
--- a/Language/Types/Dynamic_Type_System/malformed_type_error_t01.dart
+++ b/Language/Types/Dynamic_Type_System/malformed_type_error_t01.dart
@@ -7,11 +7,13 @@
/// @description Checks that a compile type error occurs if a variable is
/// being assigned an expression of incompatible type (failed implicit subtype
/// test).
-/// @compile-error
/// @author rodionov
main() {
var i = 1;
String v = i;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Function_Types/assignment_t02.dart b/Language/Types/Function_Types/assignment_t02.dart
index e35b0b4..9860133 100644
--- a/Language/Types/Function_Types/assignment_t02.dart
+++ b/Language/Types/Function_Types/assignment_t02.dart
@@ -6,7 +6,6 @@
/// T ⇐⇒ S, iff T <: S.
/// @description Checks that a function type T may be assigned to a function type
/// S, iff T <: S.
-/// @compile-error
/// @author ngl@unipro.ru
class A {}
@@ -18,4 +17,7 @@
main() {
t1 x1x = (X x) => new B();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Function_Types/assignment_t03.dart b/Language/Types/Function_Types/assignment_t03.dart
index ec7ac4f..18973ff 100644
--- a/Language/Types/Function_Types/assignment_t03.dart
+++ b/Language/Types/Function_Types/assignment_t03.dart
@@ -6,7 +6,6 @@
/// T ⇐⇒ S, iff T <: S.
/// @description Checks that a function type T may be assigned to a function type
/// S, iff T <: S.
-/// @compile-error
/// @author ngl@unipro.ru
class A {}
@@ -19,4 +18,7 @@
main() {
t1 x1c = (C x) => new B();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Function_Types/subtype_no_args_t01.dart b/Language/Types/Function_Types/subtype_no_args_t01.dart
index 5f9cdb9..3071679 100644
--- a/Language/Types/Function_Types/subtype_no_args_t01.dart
+++ b/Language/Types/Function_Types/subtype_no_args_t01.dart
@@ -11,7 +11,6 @@
/// 2. ∀i ∈ 1..n, Ti ⇐⇒ Si.
/// @description Checks that this statement is true for function types with no
/// arguments: S is void, T is any type.
-/// @static-clean to make sure assignments are legal and cause no warnings
/// @author iefremov
import "../../../Utils/expect.dart";
diff --git a/Language/Types/Interface_Types/subtype_t09.dart b/Language/Types/Interface_Types/subtype_t09.dart
index ac63a7f..56b33ec 100644
--- a/Language/Types/Interface_Types/subtype_t09.dart
+++ b/Language/Types/Interface_Types/subtype_t09.dart
@@ -23,7 +23,6 @@
/// T <: S or S <: T.
/// @description Checks that a dynamic variable can be assigned a value of any
/// type without static warnings or type errors.
-/// @static-clean
/// @author iefremov
diff --git a/Language/Types/Interface_Types/subtype_t11.dart b/Language/Types/Interface_Types/subtype_t11.dart
index 00360db..bcf6272 100644
--- a/Language/Types/Interface_Types/subtype_t11.dart
+++ b/Language/Types/Interface_Types/subtype_t11.dart
@@ -23,7 +23,6 @@
/// T <: S or S <: T.
/// @description Checks the assignability (both ways) of variables and values
/// that meet the described requirements.
-/// @static-clean
class I {}
diff --git a/Language/Types/Interface_Types/subtype_t18.dart b/Language/Types/Interface_Types/subtype_t18.dart
index 8e79cb2..a7de765 100644
--- a/Language/Types/Interface_Types/subtype_t18.dart
+++ b/Language/Types/Interface_Types/subtype_t18.dart
@@ -24,7 +24,6 @@
/// @description Trivial checks that GenericType<T> is a subtype of
/// GenericType<S> where T is a type parameter and S is a type parameter bound.
/// Checks their mutual assignability (no static type warnings) as well.
-/// @static-clean
/// @author iefremov
import "../../../Utils/expect.dart";
diff --git a/Language/Types/Interface_Types/subtype_t19.dart b/Language/Types/Interface_Types/subtype_t19.dart
index c7f457a..51c561e 100644
--- a/Language/Types/Interface_Types/subtype_t19.dart
+++ b/Language/Types/Interface_Types/subtype_t19.dart
@@ -26,7 +26,6 @@
/// generics). Checks their mutual assignability (no static type warnings) as
/// well.
/// @issue 27556
-/// @static-clean
/// @author iefremov
diff --git a/Language/Types/Interface_Types/subtype_t22.dart b/Language/Types/Interface_Types/subtype_t22.dart
index 910eec5..1791da3 100644
--- a/Language/Types/Interface_Types/subtype_t22.dart
+++ b/Language/Types/Interface_Types/subtype_t22.dart
@@ -24,7 +24,6 @@
/// @description Checks that GenericType1<T> is a subtype of GenericType2<S>
/// where T and S are complex generics. Checks mutual assignability as well.
/// @issue 27556
-/// @static-clean
/// @author iefremov
import "../../../Utils/expect.dart";
diff --git a/Language/Types/Interface_Types/subtype_t25.dart b/Language/Types/Interface_Types/subtype_t25.dart
index 91a9a07..40a66cd 100644
--- a/Language/Types/Interface_Types/subtype_t25.dart
+++ b/Language/Types/Interface_Types/subtype_t25.dart
@@ -24,7 +24,6 @@
/// @description Checks that GenericType<T> is mutually assignable with
/// GenericType<S> (no static type warnings) where T is a subtype of S (T and
/// S are non-generic interfaces and/or Dynamic).
-/// @static-clean
/// @author iefremov
diff --git a/Language/Types/Interface_Types/subtype_t26.dart b/Language/Types/Interface_Types/subtype_t26.dart
index 595f3ae..0706707 100644
--- a/Language/Types/Interface_Types/subtype_t26.dart
+++ b/Language/Types/Interface_Types/subtype_t26.dart
@@ -24,7 +24,6 @@
/// @description Checks that GenericType<T> is mutually assignable (no static
/// type warnings) with GenericType<S> where T and S are trivial generics.
/// @issue 27556
-/// @static-clean
/// @author iefremov
diff --git a/Language/Types/Interface_Types/subtype_t31.dart b/Language/Types/Interface_Types/subtype_t31.dart
index c319a4b..e55a7c8 100644
--- a/Language/Types/Interface_Types/subtype_t31.dart
+++ b/Language/Types/Interface_Types/subtype_t31.dart
@@ -23,7 +23,6 @@
/// T <: S or S <: T.
/// @description Checks that String cannot be assigned to int (compile error)
/// as such assignment doesn't meet any of these conditions.
-/// @compile-error
/// @author iefremov
@@ -31,4 +30,7 @@
main() {
int i = f();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Interface_Types/subtype_t32.dart b/Language/Types/Interface_Types/subtype_t32.dart
index 572e808..392667e 100644
--- a/Language/Types/Interface_Types/subtype_t32.dart
+++ b/Language/Types/Interface_Types/subtype_t32.dart
@@ -23,7 +23,6 @@
/// T <: S or S <: T.
/// @description Checks that int cannot be assigned to double (compile error)
/// as such assignment doesn't meet any of these conditions.
-/// @compile-error
/// @author iefremov
@@ -31,4 +30,7 @@
main() {
double d = f();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Interface_Types/subtype_t33.dart b/Language/Types/Interface_Types/subtype_t33.dart
index 3928630..51b689f 100644
--- a/Language/Types/Interface_Types/subtype_t33.dart
+++ b/Language/Types/Interface_Types/subtype_t33.dart
@@ -24,7 +24,6 @@
/// @description Checks that some class called A is not assignable to another,
/// completely unrelated, class B (compile error) as such assignment doesn't
/// meet any of these conditions.
-/// @compile-error
/// @author iefremov
@@ -36,4 +35,7 @@
main() {
B b = f();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Interface_Types/subtype_t34.dart b/Language/Types/Interface_Types/subtype_t34.dart
index e8d9711..ebead2b 100644
--- a/Language/Types/Interface_Types/subtype_t34.dart
+++ b/Language/Types/Interface_Types/subtype_t34.dart
@@ -24,7 +24,6 @@
/// @description Checks that generic class C<A> is not assignable to C<B> where
/// C - generic, A and B are unrelated classes as such assignment doesn't meet
/// any of these conditions.
-/// @compile-error
/// @author iefremov
@@ -38,4 +37,7 @@
main() {
C<A> c = f();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Interface_Types/subtype_t35.dart b/Language/Types/Interface_Types/subtype_t35.dart
index b3fd73a..cf35253 100644
--- a/Language/Types/Interface_Types/subtype_t35.dart
+++ b/Language/Types/Interface_Types/subtype_t35.dart
@@ -23,7 +23,6 @@
/// T <: S or S <: T.
/// @description Checks that two generic types are not assignable if even one
/// type argument is not assignable.
-/// @compile-error
/// @author iefremov
@@ -37,4 +36,7 @@
main() {
C<int, num, A> c = f();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Interface_Types/subtype_t36.dart b/Language/Types/Interface_Types/subtype_t36.dart
index ea021e5..3ec5fb8 100644
--- a/Language/Types/Interface_Types/subtype_t36.dart
+++ b/Language/Types/Interface_Types/subtype_t36.dart
@@ -24,7 +24,6 @@
/// @description Checks that two generic types are not assignable even if just
/// one type argument is not assignable. Using complex function types as type
/// arguments.
-/// @compile-error
/// @author iefremov
@@ -60,4 +59,7 @@
main() {
Generic<typeParameter1> g = f();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Interface_Types/subtype_t37.dart b/Language/Types/Interface_Types/subtype_t37.dart
index 4c683ff..9b94c7f 100644
--- a/Language/Types/Interface_Types/subtype_t37.dart
+++ b/Language/Types/Interface_Types/subtype_t37.dart
@@ -23,7 +23,6 @@
/// T <: S or S <: T.
/// @description Checks that two generic types are not assignable even if just
/// one type argument is not assignable. Using complex generic types.
-/// @compile-error
/// @author iefremov
@@ -41,4 +40,7 @@
// I<f_1, int, List<Map<int, Map<int, int>>>> i = new I<f, num, List<Map<num, Map<int, double>>>>();
// ^^^ <=/=> ^^^
I<f_1, int, List<Map<int, Map<int, int>>>>? i = checker();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Interface_Types/subtype_t38.dart b/Language/Types/Interface_Types/subtype_t38.dart
index 00978dd..8d5acc2 100644
--- a/Language/Types/Interface_Types/subtype_t38.dart
+++ b/Language/Types/Interface_Types/subtype_t38.dart
@@ -23,7 +23,6 @@
/// T <: S or S <: T.
/// @description Checks that unrelated generic types are not assignable even if
/// all their type arguments are.
-/// @compile-error
/// @author iefremov
@@ -39,4 +38,7 @@
main() {
C<A, B, int, num, Object, Map<List, Map<List, List>>>? c = checker();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Interface_Types/subtype_t45.dart b/Language/Types/Interface_Types/subtype_t45.dart
index 46635b0..0f2ec55 100644
--- a/Language/Types/Interface_Types/subtype_t45.dart
+++ b/Language/Types/Interface_Types/subtype_t45.dart
@@ -24,7 +24,6 @@
/// @description Checks that an interface type that is a subtype of a generic
/// type A with type parameter t1 is not assignable to A parameterized with a
/// type parameter that is not a supertype of t1.
-/// @compile-error
/// @author iefremov
@@ -35,4 +34,7 @@
main() {
B b = checker();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Interface_Types/subtype_t47.dart b/Language/Types/Interface_Types/subtype_t47.dart
index a7dfcd1..cc195f9 100644
--- a/Language/Types/Interface_Types/subtype_t47.dart
+++ b/Language/Types/Interface_Types/subtype_t47.dart
@@ -24,7 +24,6 @@
/// @description Checks that a generic interface type B that is a subtype of a
/// generic type A parameterized with type parameters of B is not assignable to
/// A parameterized with another, incompatible set of type parameters.
-/// @compile-error
/// @author iefremov
@@ -32,7 +31,13 @@
class B<S, U> extends A<S, S, U, U>{}
B<int, double> checker() => new B<double>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
A<int, int, double, int> a = checker();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Interface_Types/subtype_t48.dart b/Language/Types/Interface_Types/subtype_t48.dart
index d4258de..d0d5344 100644
--- a/Language/Types/Interface_Types/subtype_t48.dart
+++ b/Language/Types/Interface_Types/subtype_t48.dart
@@ -23,7 +23,6 @@
/// T <: S or S <: T.
/// @description Checks that if T and S are both function types and T << S then
/// the interface type T << the interface type S.
-/// @static-clean
/// @author ilya
import "../../../Utils/expect.dart";
diff --git a/Language/Types/Interface_Types/subtype_t49.dart b/Language/Types/Interface_Types/subtype_t49.dart
index fecb9be..53e8d12 100644
--- a/Language/Types/Interface_Types/subtype_t49.dart
+++ b/Language/Types/Interface_Types/subtype_t49.dart
@@ -23,7 +23,6 @@
/// T <: S or S <: T.
/// @description Checks that if T is function type and S is Function then the
/// interface type T << the interface type Function.
-/// @static-clean
/// @author ilya
import "../../../Utils/expect.dart";
diff --git a/Language/Types/Interface_Types/subtype_t50.dart b/Language/Types/Interface_Types/subtype_t50.dart
index a526836..389bb23 100644
--- a/Language/Types/Interface_Types/subtype_t50.dart
+++ b/Language/Types/Interface_Types/subtype_t50.dart
@@ -23,7 +23,6 @@
/// T <: S or S <: T.
/// @description Checks that a function type t1 is not assignable to a function
/// type t2 only if t1 <: t2
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -45,4 +44,7 @@
main() {
f1 fvar = f11;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Interface_Types/subtype_t51.dart b/Language/Types/Interface_Types/subtype_t51.dart
index 9647a60..8d60d29 100644
--- a/Language/Types/Interface_Types/subtype_t51.dart
+++ b/Language/Types/Interface_Types/subtype_t51.dart
@@ -26,7 +26,6 @@
/// generics). Checks their assignability (no static type warnings) as
/// well.
/// @issue 27556
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Types/Parameterized_Types/arity_mismatch_t01.dart b/Language/Types/Parameterized_Types/arity_mismatch_t01.dart
index 47781e9..1ef1a5d 100644
--- a/Language/Types/Parameterized_Types/arity_mismatch_t01.dart
+++ b/Language/Types/Parameterized_Types/arity_mismatch_t01.dart
@@ -11,7 +11,6 @@
/// Of course, a static warning will be issued.
/// @description Checks that if G is not a generic type, the type arguments
/// cause compile error
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -19,4 +18,7 @@
main() {
new C<int>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Parameterized_Types/arity_mismatch_t02.dart b/Language/Types/Parameterized_Types/arity_mismatch_t02.dart
index 19349bc..d0bac43 100644
--- a/Language/Types/Parameterized_Types/arity_mismatch_t02.dart
+++ b/Language/Types/Parameterized_Types/arity_mismatch_t02.dart
@@ -11,7 +11,6 @@
/// Of course, a static warning will be issued.
/// @description Checks that a compile error is produced if G has fewer type
/// parameters than needed.
-/// @compile-error
/// @author iefremov
@@ -19,4 +18,7 @@
main() {
A<int>? a = null;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Parameterized_Types/arity_mismatch_t03.dart b/Language/Types/Parameterized_Types/arity_mismatch_t03.dart
index 9268373..a071cca 100644
--- a/Language/Types/Parameterized_Types/arity_mismatch_t03.dart
+++ b/Language/Types/Parameterized_Types/arity_mismatch_t03.dart
@@ -11,7 +11,6 @@
/// Of course, a static warning will be issued.
/// @description Checks that a compile error is produced if G has more type
/// parameters than needed.
-/// @compile-error
/// @author iefremov
@@ -19,4 +18,7 @@
main() {
A<int, double>? a = null;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Parameterized_Types/arity_mismatch_t04.dart b/Language/Types/Parameterized_Types/arity_mismatch_t04.dart
index 9ead498..8b60b13 100644
--- a/Language/Types/Parameterized_Types/arity_mismatch_t04.dart
+++ b/Language/Types/Parameterized_Types/arity_mismatch_t04.dart
@@ -11,7 +11,6 @@
/// Of course, a static warning will be issued.
/// @description Checks that a compile error warning is produced if G is not a
/// generic type.
-/// @compile-error
/// @author iefremov
@@ -19,4 +18,7 @@
main() {
A<int>? a = null;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Parameterized_Types/arity_mismatch_t05.dart b/Language/Types/Parameterized_Types/arity_mismatch_t05.dart
index 76a5cac..ae00842 100644
--- a/Language/Types/Parameterized_Types/arity_mismatch_t05.dart
+++ b/Language/Types/Parameterized_Types/arity_mismatch_t05.dart
@@ -11,7 +11,6 @@
/// Of course, a static warning will be issued.
/// @description Checks that if there is a mismatch in arguments number in
/// generic type invocation, then compiler error occurs
-/// @compile-error
/// @author ilya
@@ -20,4 +19,7 @@
main() {
new C<List>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Parameterized_Types/arity_mismatch_t06.dart b/Language/Types/Parameterized_Types/arity_mismatch_t06.dart
index 3723e11..7f8b08e 100644
--- a/Language/Types/Parameterized_Types/arity_mismatch_t06.dart
+++ b/Language/Types/Parameterized_Types/arity_mismatch_t06.dart
@@ -11,7 +11,6 @@
/// Of course, a static warning will be issued.
/// @description Checks that it if there is a mismatch in arguments number in
/// generic type invocation, then compile error occurs
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -20,4 +19,7 @@
main() {
new C<int>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Parameterized_Types/arity_mismatch_t07.dart b/Language/Types/Parameterized_Types/arity_mismatch_t07.dart
index ddd33f2..7c44bc3 100644
--- a/Language/Types/Parameterized_Types/arity_mismatch_t07.dart
+++ b/Language/Types/Parameterized_Types/arity_mismatch_t07.dart
@@ -11,7 +11,6 @@
/// Of course, a static warning will be issued.
/// @description Checks that if there is a mismatch in arguments number in
/// generic type invocation, then compiler error occurs
-/// @compile-error
/// @author ilya
@@ -20,4 +19,7 @@
main() {
new C<List, List, List>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Parameterized_Types/arity_mismatch_t08.dart b/Language/Types/Parameterized_Types/arity_mismatch_t08.dart
index 91f428c..07035fb 100644
--- a/Language/Types/Parameterized_Types/arity_mismatch_t08.dart
+++ b/Language/Types/Parameterized_Types/arity_mismatch_t08.dart
@@ -11,7 +11,6 @@
/// Of course, a static warning will be issued.
/// @description Checks that it if there is a mismatch in arguments number in
/// generic type invocation, then compile error occurs
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -20,4 +19,7 @@
main() {
new C<int, List, List>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Parameterized_Types/malbounded_t01.dart b/Language/Types/Parameterized_Types/malbounded_t01.dart
index b3f7680..9508096 100644
--- a/Language/Types/Parameterized_Types/malbounded_t01.dart
+++ b/Language/Types/Parameterized_Types/malbounded_t01.dart
@@ -10,7 +10,6 @@
/// Any use of a malbounded type gives rise to a static warning.
/// @description Checks that it is a compile error if a single type argument
/// violates the bound.
-/// @compile-error
/// @author iefremov
@@ -18,4 +17,7 @@
main() {
A<int>? a;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Parameterized_Types/malbounded_t02.dart b/Language/Types/Parameterized_Types/malbounded_t02.dart
index d6aa4a4..be9d29c 100644
--- a/Language/Types/Parameterized_Types/malbounded_t02.dart
+++ b/Language/Types/Parameterized_Types/malbounded_t02.dart
@@ -10,7 +10,6 @@
/// Any use of a malbounded type gives rise to a static warning.
/// @description Checks that it is a compile error if last type argument
/// violates the bound.
-/// @compile-error
/// @author iefremov
@@ -18,4 +17,7 @@
main() {
A<String, List, double>? a;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Parameterized_Types/malbounded_t03.dart b/Language/Types/Parameterized_Types/malbounded_t03.dart
index 8ad62a1..3b5524b 100644
--- a/Language/Types/Parameterized_Types/malbounded_t03.dart
+++ b/Language/Types/Parameterized_Types/malbounded_t03.dart
@@ -10,7 +10,6 @@
/// Any use of a malbounded type gives rise to a static warning.
/// @description Checks that it is a compile error if last type argument
/// violates the bound.
-/// @compile-error
/// @author rodionov
@@ -24,4 +23,7 @@
main() {
A<String, List, F1>? a;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Parameterized_Types/malbounded_t04.dart b/Language/Types/Parameterized_Types/malbounded_t04.dart
index 875a706..c4203b5 100644
--- a/Language/Types/Parameterized_Types/malbounded_t04.dart
+++ b/Language/Types/Parameterized_Types/malbounded_t04.dart
@@ -10,7 +10,6 @@
/// Any use of a malbounded type gives rise to a static warning.
/// @description Checks that it is a compile error if first type argument
/// violates the bound.
-/// @compile-error
/// @author iefremov
@@ -18,4 +17,7 @@
main() {
A<int, List, int>? a;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Parameterized_Types/malbounded_t05.dart b/Language/Types/Parameterized_Types/malbounded_t05.dart
index 2c760f0..c7c987f 100644
--- a/Language/Types/Parameterized_Types/malbounded_t05.dart
+++ b/Language/Types/Parameterized_Types/malbounded_t05.dart
@@ -10,7 +10,6 @@
/// Any use of a malbounded type gives rise to a static warning.
/// @description Checks that it is a compile error if first type argument
/// violates the bound.
-/// @compile-error
/// @author rodionov
@@ -24,4 +23,7 @@
main() {
A<F1, String, List>? a;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Parameterized_Types/malbounded_t06.dart b/Language/Types/Parameterized_Types/malbounded_t06.dart
index 5c52396..d32e4c4 100644
--- a/Language/Types/Parameterized_Types/malbounded_t06.dart
+++ b/Language/Types/Parameterized_Types/malbounded_t06.dart
@@ -10,7 +10,6 @@
/// Any use of a malbounded type gives rise to a static warning.
/// @description Checks that it is compile error if a malbounded type is
/// used in a type test.
-/// @compile-error
/// @author ilya
@@ -18,4 +17,7 @@
main() {
1 is C<String>;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Parameterized_Types/malbounded_t07.dart b/Language/Types/Parameterized_Types/malbounded_t07.dart
index b5db19a..a076e23 100644
--- a/Language/Types/Parameterized_Types/malbounded_t07.dart
+++ b/Language/Types/Parameterized_Types/malbounded_t07.dart
@@ -10,7 +10,6 @@
/// Any use of a malbounded type gives rise to a static warning.
/// @description Checks that it is a compile error if a malbounded type is used
/// in a type test
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -19,8 +18,14 @@
class J {
}
class A<T> implements J, I<T> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
I x = new A<String>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Parameterized_Types/static_type_t01.dart b/Language/Types/Parameterized_Types/static_type_t01.dart
index 83cca92..b6465cb 100644
--- a/Language/Types/Parameterized_Types/static_type_t01.dart
+++ b/Language/Types/Parameterized_Types/static_type_t01.dart
@@ -6,7 +6,6 @@
/// of the member m of G <A1, ..., An> is [A1, ..., An/T1, ..., Tn]S where
/// T1, ..., Tn are the formal type parameters of G.
/// @description Checks that static type of member m G<T1, T2> is [T1, T2]S
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Types/Parameterized_Types/static_type_t02.dart b/Language/Types/Parameterized_Types/static_type_t02.dart
index 04adf68..d6aefd3 100644
--- a/Language/Types/Parameterized_Types/static_type_t02.dart
+++ b/Language/Types/Parameterized_Types/static_type_t02.dart
@@ -7,7 +7,6 @@
/// T1, ..., Tn are the formal type parameters of G.
/// @description Checks that static type of member m G<T1, T2> is [T1, T2]S with
/// upper bounds specified
-/// @static-clean
/// @author sgrekhov@unipro.ru
diff --git a/Language/Types/Static_Types/deferred_type_t01.dart b/Language/Types/Static_Types/deferred_type_t01.dart
index 47de9dd..8279422 100644
--- a/Language/Types/Static_Types/deferred_type_t01.dart
+++ b/Language/Types/Static_Types/deferred_type_t01.dart
@@ -9,11 +9,13 @@
/// libraries have successfully been loaded.
/// @description Checks that it is a static warning if a deferred type is used
/// in a type annotation, type test, type cast or as a type parameter.
-/// @compile-error
/// @author ngl@unipro.ru
import "../somelib1.dart" deferred as p1;
main() {
p1.C? o1;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Static_Types/deferred_type_t02.dart b/Language/Types/Static_Types/deferred_type_t02.dart
index 3f0bb5f..0243b8e 100644
--- a/Language/Types/Static_Types/deferred_type_t02.dart
+++ b/Language/Types/Static_Types/deferred_type_t02.dart
@@ -9,11 +9,13 @@
/// libraries have successfully been loaded.
/// @description Checks that it is a static warning if a deferred type is used
/// in a type annotation, type test, type cast or as a type parameter.
-/// @compile-error
/// @author ngl@unipro.ru
import "../somelib1.dart" deferred as p1;
main() {
String is p1.C;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Static_Types/deferred_type_t03.dart b/Language/Types/Static_Types/deferred_type_t03.dart
index 62e5942..c1ab0ff 100644
--- a/Language/Types/Static_Types/deferred_type_t03.dart
+++ b/Language/Types/Static_Types/deferred_type_t03.dart
@@ -9,7 +9,6 @@
/// libraries have successfully been loaded.
/// @description Checks that it is a static warning if a deferred type is used
/// in a type annotation, type test, type cast or as a type parameter.
-/// @compile-error
/// @author ngl@unipro.ru
import "../somelib1.dart" deferred as p1;
@@ -17,4 +16,7 @@
main() {
String as p1.C;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Static_Types/deferred_type_t04.dart b/Language/Types/Static_Types/deferred_type_t04.dart
index 497001f..704b720 100644
--- a/Language/Types/Static_Types/deferred_type_t04.dart
+++ b/Language/Types/Static_Types/deferred_type_t04.dart
@@ -9,7 +9,6 @@
/// libraries have successfully been loaded.
/// @description Checks that it is a static warning if a deferred type is used
/// in a type annotation, type test, type cast or as a type parameter.
-/// @compile-error
/// @author ngl@unipro.ru
import "../somelib1.dart" deferred as p1;
@@ -18,4 +17,7 @@
main() {
C1<p1.C> o2 = new C1<p1.C>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Static_Types/malformed_type_t02.dart b/Language/Types/Static_Types/malformed_type_t02.dart
index 5d9d0d8..308e06f 100644
--- a/Language/Types/Static_Types/malformed_type_t02.dart
+++ b/Language/Types/Static_Types/malformed_type_t02.dart
@@ -14,12 +14,14 @@
/// unless explicitly specified otherwise.
/// @description Checks that it is a compile error if a type variable is used
/// in static context as a type of static member.
-/// @compile-error
/// @author kaigorodov
class C<T> {
static T? v = null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Types/Static_Types/malformed_type_t03.dart b/Language/Types/Static_Types/malformed_type_t03.dart
index c70aa00..d61ff75 100644
--- a/Language/Types/Static_Types/malformed_type_t03.dart
+++ b/Language/Types/Static_Types/malformed_type_t03.dart
@@ -14,12 +14,14 @@
/// unless explicitly specified otherwise.
/// @description Checks that it is a compile error if a type variable is used
/// in static context as a type of static method parameter.
-/// @compile-error
/// @author kaigorodov
class C<T> {
static int f(T? v) {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
return 42;
}
}
diff --git a/Language/Types/Static_Types/malformed_type_t04.dart b/Language/Types/Static_Types/malformed_type_t04.dart
index 848509a..36f6faf 100644
--- a/Language/Types/Static_Types/malformed_type_t04.dart
+++ b/Language/Types/Static_Types/malformed_type_t04.dart
@@ -14,7 +14,6 @@
/// unless explicitly specified otherwise.
/// @description Checks that it is a compile error if a type variable is used
/// in static context as a type of a local variable in a static method.
-/// @compile-error
/// @author kaigorodov
@@ -22,6 +21,9 @@
class C<T> {
static f() {
T? v = null;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
return v;
}
}
diff --git a/Language/Types/Static_Types/malformed_type_t05.dart b/Language/Types/Static_Types/malformed_type_t05.dart
index 3b0dd69..82ab45d 100644
--- a/Language/Types/Static_Types/malformed_type_t05.dart
+++ b/Language/Types/Static_Types/malformed_type_t05.dart
@@ -15,13 +15,16 @@
/// @description Checks that type name imported from multiple import clauses
/// that refers to different type declarations causes to a compile error
/// when used in type annotation.
-/// @compile-error
/// @author ilya
import "../somelib1.dart"; // class C {}
import "../somelib2.dart"; // class C {}
+//^
+// [cfe] unspecified
main() {
C? c;
+//^
+// [analyzer] unspecified
}
diff --git a/Language/Types/Static_Types/malformed_type_t06.dart b/Language/Types/Static_Types/malformed_type_t06.dart
index 7f60cd5..988a8e4 100644
--- a/Language/Types/Static_Types/malformed_type_t06.dart
+++ b/Language/Types/Static_Types/malformed_type_t06.dart
@@ -14,7 +14,6 @@
/// unless explicitly specified otherwise.
/// @description Checks that it is a compile error if a type is a parameterized
/// type of the form C<int, String>, and C is malformed.
-/// @compile-error
/// @author ngl@unipro.ru
@@ -22,4 +21,7 @@
main() {
C<int, String>? c;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Static_Types/syntax_t01.dart b/Language/Types/Static_Types/syntax_t01.dart
index 439385a..cdf73f8 100644
--- a/Language/Types/Static_Types/syntax_t01.dart
+++ b/Language/Types/Static_Types/syntax_t01.dart
@@ -21,7 +21,6 @@
/// @description Checks that it is a compile-time error when the type arguments
/// in a static type annotation are enclosed in curly brackets instead of angle
/// ones.
-/// @compile-error
/// @author iefremov
@@ -31,4 +30,7 @@
main() {
Generic{int} t = new Generic<int>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Static_Types/syntax_t02.dart b/Language/Types/Static_Types/syntax_t02.dart
index 9cf801d..7856967 100644
--- a/Language/Types/Static_Types/syntax_t02.dart
+++ b/Language/Types/Static_Types/syntax_t02.dart
@@ -20,7 +20,6 @@
/// ;
/// @description Checks that it is a compile-time error when the opening angle
/// bracket in a static type annotation's type argument list is missing.
-/// @compile-error
/// @author iefremov
@@ -30,4 +29,7 @@
main() {
Generic int> t = new Generic<int>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Static_Types/syntax_t03.dart b/Language/Types/Static_Types/syntax_t03.dart
index cc2d97c..7168d1a 100644
--- a/Language/Types/Static_Types/syntax_t03.dart
+++ b/Language/Types/Static_Types/syntax_t03.dart
@@ -20,7 +20,6 @@
/// ;
/// @description Checks that it is a compile-time error when the closing angle
/// bracket in a static type annotation's type argument list is missing.
-/// @compile-error
/// @author iefremov
@@ -30,4 +29,7 @@
main() {
Generic <int t = new Generic<int>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Static_Types/syntax_t04.dart b/Language/Types/Static_Types/syntax_t04.dart
index 05763b6..ad81f3b 100644
--- a/Language/Types/Static_Types/syntax_t04.dart
+++ b/Language/Types/Static_Types/syntax_t04.dart
@@ -20,7 +20,6 @@
/// ;
/// @description Checks that it is a compile-time error when the list of type
/// arguments in a static type annotation is empty.
-/// @compile-error
/// @author iefremov
@@ -30,4 +29,7 @@
main() {
Generic <>? t;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Static_Types/syntax_t05.dart b/Language/Types/Static_Types/syntax_t05.dart
index f3217bc..a2e76a5 100644
--- a/Language/Types/Static_Types/syntax_t05.dart
+++ b/Language/Types/Static_Types/syntax_t05.dart
@@ -20,7 +20,6 @@
/// ;
/// @description Checks that it is a compile-time error when the type arguments
/// are only space delimited.
-/// @compile-error
/// @author iefremov
@@ -30,4 +29,7 @@
main() {
G<int double>? g;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Static_Types/syntax_t07.dart b/Language/Types/Static_Types/syntax_t07.dart
index 8adcb87..8fe5d5c 100644
--- a/Language/Types/Static_Types/syntax_t07.dart
+++ b/Language/Types/Static_Types/syntax_t07.dart
@@ -20,7 +20,6 @@
/// ;
/// @description Checks that a generic type can not be parameterized with
/// non-type (using null).
-/// @compile-error
/// @author iefremov
@@ -30,4 +29,7 @@
main() {
G<null>? t;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Type_Aliases/dynamic_param_type_t01.dart b/Language/Types/Type_Aliases/dynamic_param_type_t01.dart
index 3134915..a036cea 100644
--- a/Language/Types/Type_Aliases/dynamic_param_type_t01.dart
+++ b/Language/Types/Type_Aliases/dynamic_param_type_t01.dart
@@ -7,7 +7,6 @@
/// @description Checks that function types with various types of formal
/// parameter are subtypes of given type t1 whose declaration omits parameter
/// types, therefore the type of formal parameter of t1 should be dynamic.
-/// @static-clean
/// @author iefremov, sgrekhov@unipro.ru
import '../../../Utils/expect.dart';
diff --git a/Language/Types/Type_Aliases/dynamic_param_type_t02.dart b/Language/Types/Type_Aliases/dynamic_param_type_t02.dart
index 7073e86..1e49ff9 100644
--- a/Language/Types/Type_Aliases/dynamic_param_type_t02.dart
+++ b/Language/Types/Type_Aliases/dynamic_param_type_t02.dart
@@ -8,7 +8,6 @@
/// optional parameter and named parameter are subtypes of given type t1 whose
/// declaration omits parameter types, therefore the type of formal parameter
/// of t1 should be dynamic.
-/// @static-clean
/// @author iefremov, sgrekhov@unipro.ru
import '../../../Utils/expect.dart';
diff --git a/Language/Types/Type_Aliases/dynamic_return_type_t01.dart b/Language/Types/Type_Aliases/dynamic_return_type_t01.dart
index 4105008..931d68a 100644
--- a/Language/Types/Type_Aliases/dynamic_return_type_t01.dart
+++ b/Language/Types/Type_Aliases/dynamic_return_type_t01.dart
@@ -7,7 +7,6 @@
/// @description checks that function types with various return types
/// are all subtypes of given type t1 that declares no return type, therefore
/// the return type of t1 should be dynamic.
-/// @static-clean
/// @author iefremov, sgrekhov@unipro.ru
import '../../../Utils/expect.dart';
diff --git a/Language/Types/Type_Aliases/param_default_value_t01.dart b/Language/Types/Type_Aliases/param_default_value_t01.dart
index 53218a4..966a8a4 100644
--- a/Language/Types/Type_Aliases/param_default_value_t01.dart
+++ b/Language/Types/Type_Aliases/param_default_value_t01.dart
@@ -6,11 +6,13 @@
/// the signature of function type alias.
/// @description Checks that a compile error is produced when a null default
/// value is specified for a required argument in a function type alias.
-/// @compile-error
/// @author iefremov, sgrekhov@unipro.ru
typedef F(var a = null);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Types/Type_Aliases/param_default_value_t02.dart b/Language/Types/Type_Aliases/param_default_value_t02.dart
index debf858..5ab03a1 100644
--- a/Language/Types/Type_Aliases/param_default_value_t02.dart
+++ b/Language/Types/Type_Aliases/param_default_value_t02.dart
@@ -6,11 +6,13 @@
/// the signature of function type alias.
/// @description Checks that a compile error is produced when a default value is
/// specified for an optional positional argument in a function type alias.
-/// @compile-error
/// @author iefremov,sgrekhov@unipro.ru
typedef F([var a = null]);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Types/Type_Aliases/param_default_value_t03.dart b/Language/Types/Type_Aliases/param_default_value_t03.dart
index 7c76b9f..e733cd6 100644
--- a/Language/Types/Type_Aliases/param_default_value_t03.dart
+++ b/Language/Types/Type_Aliases/param_default_value_t03.dart
@@ -6,11 +6,13 @@
/// the signature of function type alias.
/// @description Checks that a compile error is produced when a default value is
/// specified for an optional named argument in a function type alias.
-/// @compile-error
/// @author iefremov, sgrekhov@unipro.ru
typedef F({var a: null});
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Types/Type_Aliases/param_default_value_t04.dart b/Language/Types/Type_Aliases/param_default_value_t04.dart
index f987d3a..bcb2d65 100644
--- a/Language/Types/Type_Aliases/param_default_value_t04.dart
+++ b/Language/Types/Type_Aliases/param_default_value_t04.dart
@@ -6,11 +6,13 @@
/// the signature of function type alias.
/// @description Checks that a compile error is produced when a default value is
/// specified for one of the required arguments in a function type alias.
-/// @compile-error
/// @author iefremov, sgrekhov@unipro.ru
typedef F(var a, var b, var c, var z = null);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Types/Type_Aliases/param_default_value_t05.dart b/Language/Types/Type_Aliases/param_default_value_t05.dart
index 69878a3..04ae752 100644
--- a/Language/Types/Type_Aliases/param_default_value_t05.dart
+++ b/Language/Types/Type_Aliases/param_default_value_t05.dart
@@ -6,11 +6,13 @@
/// the signature of function type alias.
/// @description Checks that a compile error is produced when default values are
/// specified for several parameters in a function type alias.
-/// @compile-error
/// @author iefremov, sgrekhov@unipro.ru
typedef F(var a, var b = "", var c = main, var z = null);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Types/Type_Aliases/self_reference_t01.dart b/Language/Types/Type_Aliases/self_reference_t01.dart
index 4e87191..77cb8ff 100644
--- a/Language/Types/Type_Aliases/self_reference_t01.dart
+++ b/Language/Types/Type_Aliases/self_reference_t01.dart
@@ -6,11 +6,13 @@
/// via another typedef, is a compile time error.
/// @description Checks that self-referencing typedef is not allowed (return
/// value type annotation has the same name as the type alias).
-/// @compile-error
/// @author msyabro
-
+/// @issue 46062
typedef F F();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is F;
diff --git a/Language/Types/Type_Aliases/self_reference_t02.dart b/Language/Types/Type_Aliases/self_reference_t02.dart
index 63a9349..712bb6e 100644
--- a/Language/Types/Type_Aliases/self_reference_t02.dart
+++ b/Language/Types/Type_Aliases/self_reference_t02.dart
@@ -6,11 +6,13 @@
/// via another typedef, is a compile time error.
/// @description Checks that self-referencing typedef is not allowed (positional
/// formal parameter type annotation has the same name as the type alias).
-/// @compile-error
/// @author iefremov
-
+/// @issue 46062
typedef F(F x);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is F;
diff --git a/Language/Types/Type_Aliases/self_reference_t03.dart b/Language/Types/Type_Aliases/self_reference_t03.dart
index f64d2a9..d5daefa 100644
--- a/Language/Types/Type_Aliases/self_reference_t03.dart
+++ b/Language/Types/Type_Aliases/self_reference_t03.dart
@@ -6,11 +6,13 @@
/// via another typedef, is a compile time error.
/// @description Checks that self-referencing typedef is not allowed (positional
/// optional parameter type annotation has the same name as the type alias).
-/// @compile-error
/// @author iefremov
-
+/// @issue 46062
typedef F([F x]);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is F;
diff --git a/Language/Types/Type_Aliases/self_reference_t04.dart b/Language/Types/Type_Aliases/self_reference_t04.dart
index 04a710c..393773c 100644
--- a/Language/Types/Type_Aliases/self_reference_t04.dart
+++ b/Language/Types/Type_Aliases/self_reference_t04.dart
@@ -6,11 +6,13 @@
/// via another typedef, is a compile time error.
/// @description Checks that self-referencing typedef is not allowed (named
/// optional parameter type annotation has the same name as the type alias).
-/// @compile-error
/// @author iefremov
-
+/// @issue 46062
typedef F({F x});
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
null is F;
diff --git a/Language/Types/Type_Aliases/self_reference_t08.dart b/Language/Types/Type_Aliases/self_reference_t08.dart
index 868576e..e1f11fe 100644
--- a/Language/Types/Type_Aliases/self_reference_t08.dart
+++ b/Language/Types/Type_Aliases/self_reference_t08.dart
@@ -6,11 +6,13 @@
/// via another typedef, is a compile time error.
/// @description Checks that it is compile error to reference type alias as a
/// bound of its own type parameter.
-/// @compile-error
/// @author ilya
-
+/// @issue 46062
typedef F<T extends F>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
F<int>? x;
diff --git a/Language/Types/Type_Aliases/self_reference_t09.dart b/Language/Types/Type_Aliases/self_reference_t09.dart
index d7fdfcf..10938e6 100644
--- a/Language/Types/Type_Aliases/self_reference_t09.dart
+++ b/Language/Types/Type_Aliases/self_reference_t09.dart
@@ -6,11 +6,13 @@
/// via another typedef, is a compile time error.
/// @description Checks that it is compile error to reference type alias in a
/// bound of its own type parameter.
-/// @compile-error
/// @author ilya
+/// @issue 46062
-
-typedef F<T extends List<F>>();
+ typedef F<T extends List<F>>();
+//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
F<int>? x;
diff --git a/Language/Types/Type_Aliases/self_reference_t10.dart b/Language/Types/Type_Aliases/self_reference_t10.dart
index c60d690..9481570 100644
--- a/Language/Types/Type_Aliases/self_reference_t10.dart
+++ b/Language/Types/Type_Aliases/self_reference_t10.dart
@@ -6,11 +6,13 @@
/// via another typedef, is a compile time error.
/// @description Checks that it is compile error to reference type alias as a
/// type argument of its formal parameter type.
-/// @compile-error
/// @author ilya
-
+/// @issue 46062
typedef F(List<F> x);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
F? x;
diff --git a/Language/Types/Type_Aliases/self_reference_t11.dart b/Language/Types/Type_Aliases/self_reference_t11.dart
index 1dcd47b..3e48260 100644
--- a/Language/Types/Type_Aliases/self_reference_t11.dart
+++ b/Language/Types/Type_Aliases/self_reference_t11.dart
@@ -6,11 +6,13 @@
/// via another typedef, is a compile time error.
/// @description Checks that it is compile error to reference type alias as a
/// type argument of its return type.
-/// @compile-error
/// @author ilya
-
+/// @issue 46062
typedef List<F> F();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
F? x;
diff --git a/Language/Types/Type_Aliases/self_reference_t12.dart b/Language/Types/Type_Aliases/self_reference_t12.dart
index 4018b2b..7a411c2 100644
--- a/Language/Types/Type_Aliases/self_reference_t12.dart
+++ b/Language/Types/Type_Aliases/self_reference_t12.dart
@@ -6,11 +6,13 @@
/// via another typedef, is a compile time error.
/// @description Checks that it is compile error to reference type alias with a
/// type parameter as its formal parameter type.
-/// @compile-error
/// @author ilya
-
+/// @issue 46062
typedef F<T>(F<T> x);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
F<int>? x;
diff --git a/Language/Types/Type_Aliases/self_reference_t13.dart b/Language/Types/Type_Aliases/self_reference_t13.dart
index c3cca87..33f26cd 100644
--- a/Language/Types/Type_Aliases/self_reference_t13.dart
+++ b/Language/Types/Type_Aliases/self_reference_t13.dart
@@ -6,11 +6,13 @@
/// via another typedef, is a compile time error.
/// @description Checks that it is compile error to reference type alias with a
/// type parameter as its return type.
-/// @compile-error
/// @author ilya
-
+/// @issue 46062
typedef F<T> F<T>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
F<int>? x;
diff --git a/Language/Types/Type_Aliases/self_reference_t14.dart b/Language/Types/Type_Aliases/self_reference_t14.dart
index dd59fab..1667f7b 100644
--- a/Language/Types/Type_Aliases/self_reference_t14.dart
+++ b/Language/Types/Type_Aliases/self_reference_t14.dart
@@ -6,12 +6,16 @@
/// via another typedef, is a compile time error.
/// @description Checks that it is compile error if two typedefs are mutually
/// recursive via their formal parameter types.
-/// @compile-error
/// @author ilya
-
+/// @issue 46062
typedef F(G x);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
typedef G(F x);
+//^
+// [analyzer] unspecified
main() {
F? x;
diff --git a/Language/Types/Type_Aliases/self_reference_t15.dart b/Language/Types/Type_Aliases/self_reference_t15.dart
index 058ad4d..641209f 100644
--- a/Language/Types/Type_Aliases/self_reference_t15.dart
+++ b/Language/Types/Type_Aliases/self_reference_t15.dart
@@ -6,12 +6,16 @@
/// via another typedef, is a compile time error.
/// @description Checks that it is compile error if two typedefs are mutually
/// recursive via their return types.
-/// @compile-error
/// @author ilya
-
+/// @issue 46062
typedef G F();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
typedef F G();
+//^
+// [analyzer] unspecified
main() {
F? x;
diff --git a/Language/Types/Type_Aliases/self_reference_t16.dart b/Language/Types/Type_Aliases/self_reference_t16.dart
index 689feae..54c2b28 100644
--- a/Language/Types/Type_Aliases/self_reference_t16.dart
+++ b/Language/Types/Type_Aliases/self_reference_t16.dart
@@ -6,13 +6,18 @@
/// via another typedef, is a compile time error.
/// @description Checks that it is compile error if more than two typedefs are
/// mutually recursive.
-/// @compile-error
/// @author sgrekhov@unipro.ru
-
+/// @issue 46062
typedef void F(G g);
+// ^
+// [cfe] unspecified
typedef H G();
+//^
+// [analyzer] unspecified
typedef void H(List<F> f);
+//^
+// [analyzer] unspecified
main() {
F? x;
diff --git a/Language/Types/Type_Aliases/self_reference_t17.dart b/Language/Types/Type_Aliases/self_reference_t17.dart
index 3f90e46..95fd2c2 100644
--- a/Language/Types/Type_Aliases/self_reference_t17.dart
+++ b/Language/Types/Type_Aliases/self_reference_t17.dart
@@ -6,12 +6,16 @@
/// via another typedef, is a compile time error.
/// @description Checks that it is compile error if two typedefs are mutually
/// recursive via their parameters types.
-/// @compile-error
/// @author sgrekhov@unipro.ru
-
+/// @issue 46062
typedef void F(G g);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
typedef void G(List<F> f);
+//^
+// [analyzer] unspecified
main() {
F? x;
diff --git a/Language/Types/Type_Aliases/self_reference_t19.dart b/Language/Types/Type_Aliases/self_reference_t19.dart
index 6b33760..7c544d1 100644
--- a/Language/Types/Type_Aliases/self_reference_t19.dart
+++ b/Language/Types/Type_Aliases/self_reference_t19.dart
@@ -6,14 +6,18 @@
/// via another type declaration, is a compile-time error
/// @description Checks that any self reference in a type alias is a compile-time
/// error. Test recursive reference
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
class C<T> {}
typedef CAlias1<T extends CAlias2> = C<T>;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
typedef CAlias2<T extends CAlias1> = C<T>;
+// ^
+// [analyzer] unspecified
main() {
}
diff --git a/Language/Types/Type_Aliases/self_reference_t20.dart b/Language/Types/Type_Aliases/self_reference_t20.dart
index 7bcc6d1..3a11c89 100644
--- a/Language/Types/Type_Aliases/self_reference_t20.dart
+++ b/Language/Types/Type_Aliases/self_reference_t20.dart
@@ -6,7 +6,6 @@
/// via another type declaration, is a compile-time error
/// @description Checks that any self reference in a type alias is a compile-time
/// error. Test recursive reference
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
@@ -14,8 +13,15 @@
typedef CAlias1<T1, T2> = C<T1, T2>;
typedef CAlias2<T1, T2> = CAlias1<T1, CAlias4>;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
typedef CAlias3<T1, T2> = CAlias2<T1, T2>;
+//^
+// [analyzer] unspecified
typedef CAlias4<T1, T2> = CAlias3<T1, T2>;
+//^
+// [analyzer] unspecified
main() {
}
diff --git a/Language/Types/Type_Aliases/self_reference_t21.dart b/Language/Types/Type_Aliases/self_reference_t21.dart
index a079a37..93a668d 100644
--- a/Language/Types/Type_Aliases/self_reference_t21.dart
+++ b/Language/Types/Type_Aliases/self_reference_t21.dart
@@ -6,11 +6,13 @@
/// via another type declaration, is a compile-time error
/// @description Checks that any self reference in a type alias is a compile-time
/// error.
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
class C<T1, T2> extends CAlias<T1, T2> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
typedef CAlias<T1, T2> = C<T1, T2>;
main() {
diff --git a/Language/Types/Type_Aliases/self_reference_t22.dart b/Language/Types/Type_Aliases/self_reference_t22.dart
index b4828b3..7bfc90b 100644
--- a/Language/Types/Type_Aliases/self_reference_t22.dart
+++ b/Language/Types/Type_Aliases/self_reference_t22.dart
@@ -6,11 +6,13 @@
/// via another type declaration, is a compile-time error
/// @description Checks that any self reference in a type alias is a compile-time
/// error.
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
class C<T1, T2> implements CAlias<T1, T2> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
typedef CAlias<T1, T2> = C<T1, T2>;
main() {
diff --git a/Language/Types/Type_Aliases/self_reference_t24.dart b/Language/Types/Type_Aliases/self_reference_t24.dart
index cf97ba0..559d27e 100644
--- a/Language/Types/Type_Aliases/self_reference_t24.dart
+++ b/Language/Types/Type_Aliases/self_reference_t24.dart
@@ -6,12 +6,17 @@
/// via another type declaration, is a compile-time error
/// @description Checks that any self reference in a type alias is a compile-time
/// error.
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
class A extends CAlias {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class C extends A {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
typedef CAlias = C;
main() {
diff --git a/Language/Types/Type_Aliases/self_reference_t25.dart b/Language/Types/Type_Aliases/self_reference_t25.dart
index d0a56b5..d3d8563 100644
--- a/Language/Types/Type_Aliases/self_reference_t25.dart
+++ b/Language/Types/Type_Aliases/self_reference_t25.dart
@@ -6,12 +6,17 @@
/// via another type declaration, is a compile-time error
/// @description Checks that any self reference in a type alias is a compile-time
/// error.
-/// @compile-error
/// @author sgrekhov@unipro.ru
// SharedOptions=--enable-experiment=nonfunction-type-aliases
class A implements CAlias {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class C extends A {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
typedef CAlias = C;
main() {
diff --git a/Language/Types/Type_Aliases/syntax_t11.dart b/Language/Types/Type_Aliases/syntax_t11.dart
index b51686a..4595214 100644
--- a/Language/Types/Type_Aliases/syntax_t11.dart
+++ b/Language/Types/Type_Aliases/syntax_t11.dart
@@ -9,11 +9,13 @@
/// <functionTypeAlias> ::= <functionPrefix> <formalParameterPart> ‘;’
/// <functionPrefix> ::= <type>? <identifier>
/// @description Checks that identifier must be present.
-/// @compile-error
/// @author iefremov
typedef <T>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Types/Type_Aliases/syntax_t12.dart b/Language/Types/Type_Aliases/syntax_t12.dart
index 09ed8ae..95a2cdd 100644
--- a/Language/Types/Type_Aliases/syntax_t12.dart
+++ b/Language/Types/Type_Aliases/syntax_t12.dart
@@ -10,11 +10,13 @@
/// <functionPrefix> ::= <type>? <identifier>
/// @description Checks that it is a compile-time error if the terminating
/// from a type alias declaration from a type alias declaration.
-/// @compile-error
/// @author iefremov
typedef void F<T>()
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Types/Type_Aliases/syntax_t13.dart b/Language/Types/Type_Aliases/syntax_t13.dart
index 4b16d51..3a79f4c 100644
--- a/Language/Types/Type_Aliases/syntax_t13.dart
+++ b/Language/Types/Type_Aliases/syntax_t13.dart
@@ -10,11 +10,13 @@
/// <functionPrefix> ::= <type>? <identifier>
/// @description Checks that it is a compile-time error if the formal parameter
/// list is missing from a type alias declaration.
-/// @compile-error
/// @author iefremov
typedef void F;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Types/Type_Aliases/syntax_t14.dart b/Language/Types/Type_Aliases/syntax_t14.dart
index 5ed3dcc..277239a 100644
--- a/Language/Types/Type_Aliases/syntax_t14.dart
+++ b/Language/Types/Type_Aliases/syntax_t14.dart
@@ -10,11 +10,13 @@
/// <functionPrefix> ::= <type>? <identifier>
/// @description Checks that the typedef declaration cannot include function
/// body.
-/// @compile-error
/// @author iefremov
typedef F() {};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Types/Type_Aliases/syntax_t15.dart b/Language/Types/Type_Aliases/syntax_t15.dart
index d1d335e..ce84b12 100644
--- a/Language/Types/Type_Aliases/syntax_t15.dart
+++ b/Language/Types/Type_Aliases/syntax_t15.dart
@@ -10,11 +10,13 @@
/// <functionPrefix> ::= <type>? <identifier>
/// @description Checks that formalParameterList in the typedef declaration
/// cannot include a semicolon.
-/// @compile-error
/// @author kaigorodov
typedef F<T1; T2>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Types/Type_Aliases/syntax_t16.dart b/Language/Types/Type_Aliases/syntax_t16.dart
index 5d40048..eb67ae7 100644
--- a/Language/Types/Type_Aliases/syntax_t16.dart
+++ b/Language/Types/Type_Aliases/syntax_t16.dart
@@ -10,11 +10,13 @@
/// <functionPrefix> ::= <type>? <identifier>
/// @description Checks that formalParameterList in the typedef declaration
/// cannot have an extra angle bracket.
-/// @compile-error
/// @author kaigorodov
typedef F<T>>();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Types/Type_Aliases/syntax_t17.dart b/Language/Types/Type_Aliases/syntax_t17.dart
index ddb7439..2bfce6f 100644
--- a/Language/Types/Type_Aliases/syntax_t17.dart
+++ b/Language/Types/Type_Aliases/syntax_t17.dart
@@ -10,12 +10,14 @@
/// <functionPrefix> ::= <type>? <identifier>
/// @description Checks that it is impossible to introduce alias for a class
/// type (C style).
-/// @compile-error
/// @author iefremov
class A {}
typedef A B;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Types/Type_Aliases/syntax_t18.dart b/Language/Types/Type_Aliases/syntax_t18.dart
index a39f5f3..de02e32 100644
--- a/Language/Types/Type_Aliases/syntax_t18.dart
+++ b/Language/Types/Type_Aliases/syntax_t18.dart
@@ -10,12 +10,14 @@
/// <functionPrefix> ::= <type>? <identifier>
/// @description Checks that it is impossible to introduce alias for an abstract
/// class type.
-/// @compile-error
/// @author iefremov
abstract class A {}
typedef A B;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Types/Type_Aliases/syntax_t19.dart b/Language/Types/Type_Aliases/syntax_t19.dart
index 6b049d9..5b9346e 100644
--- a/Language/Types/Type_Aliases/syntax_t19.dart
+++ b/Language/Types/Type_Aliases/syntax_t19.dart
@@ -10,11 +10,13 @@
/// <functionPrefix> ::= <type>? <identifier>
/// @description Checks that it is impossible to introduce alias for a built-in
/// type (int).
-/// @compile-error
/// @author iefremov
typedef int integer;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/Language/Types/Type_Void/returning_t01.dart b/Language/Types/Type_Void/returning_t01.dart
index 76b3a52..afce877 100644
--- a/Language/Types/Type_Void/returning_t01.dart
+++ b/Language/Types/Type_Void/returning_t01.dart
@@ -9,7 +9,6 @@
/// (since no object has runtime type dynamic).
/// @description Checks that returning the result of a void method invocation
/// from within a void method does not cause any errors or warnings.
-/// @static-clean
/// @author rodionov
diff --git a/Language/Types/Type_Void/returning_t02.dart b/Language/Types/Type_Void/returning_t02.dart
index dbf0ff6..c3c95d5 100644
--- a/Language/Types/Type_Void/returning_t02.dart
+++ b/Language/Types/Type_Void/returning_t02.dart
@@ -10,7 +10,6 @@
/// @description Checks that returning null or a value with static type dynamic
/// from within a void method does not result in a static type warning or any
/// error
-/// @static-clean
/// @author rodionov
diff --git a/Language/Types/Type_Void/returning_t03.dart b/Language/Types/Type_Void/returning_t03.dart
index 686a24d..6bbea1b 100644
--- a/Language/Types/Type_Void/returning_t03.dart
+++ b/Language/Types/Type_Void/returning_t03.dart
@@ -9,13 +9,15 @@
/// (since no object has runtime type dynamic).
/// @description Checks that returning a non-null value with non-dynamic static
/// type from within a void method produces compile error.
-/// @compile-error
/// @author rodionov
void foo() {
String s = "foo";
return s;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Types/Type_Void/returning_t04.dart b/Language/Types/Type_Void/returning_t04.dart
index 5fd7ea8..c3be573 100644
--- a/Language/Types/Type_Void/returning_t04.dart
+++ b/Language/Types/Type_Void/returning_t04.dart
@@ -9,13 +9,15 @@
/// (since no object has runtime type dynamic).
/// @description Checks that returning a non-null value with non-dynamic static
/// type from within a void method produces compile error.
-/// @compile-error
/// @author rodionov
void foo() {
Object o = new Object();
return o;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Types/Type_Void/returning_t05.dart b/Language/Types/Type_Void/returning_t05.dart
index bbd5ae3..1b69c60 100644
--- a/Language/Types/Type_Void/returning_t05.dart
+++ b/Language/Types/Type_Void/returning_t05.dart
@@ -9,7 +9,6 @@
/// (since no object has runtime type dynamic).
/// @description Checks that returning a non-null value with non-dynamic static
/// type from within a void method produces compile error.
-/// @compile-error
/// @author rodionov
@@ -17,6 +16,9 @@
void foo() {
return f;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Types/Type_Void/syntax_t03.dart b/Language/Types/Type_Void/syntax_t03.dart
index b6f4502..a17582a 100644
--- a/Language/Types/Type_Void/syntax_t03.dart
+++ b/Language/Types/Type_Void/syntax_t03.dart
@@ -7,10 +7,12 @@
/// For example, as a type argument, or as the type of a variable or parameter.
/// @description Checks that specifying void as a function's parameter type
/// (C-style, without the parameter name) causes a compile-time error.
-/// @compile-error
/// @author iefremov
main() {
f(void) {};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Type_Void/syntax_t05.dart b/Language/Types/Type_Void/syntax_t05.dart
index 05fc613..f664e00 100644
--- a/Language/Types/Type_Void/syntax_t05.dart
+++ b/Language/Types/Type_Void/syntax_t05.dart
@@ -7,10 +7,12 @@
/// For example, as a type argument, or as the type of a variable or parameter.
/// @description Checks that specifying void on the right side of a type test
/// expression causes a compile-time error.
-/// @compile-error
/// @author iefremov
main() {
bool b = null is void;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Type_Void/syntax_t06.dart b/Language/Types/Type_Void/syntax_t06.dart
index fce553b..ec43a4d 100644
--- a/Language/Types/Type_Void/syntax_t06.dart
+++ b/Language/Types/Type_Void/syntax_t06.dart
@@ -7,11 +7,13 @@
/// For example, as a type argument, or as the type of a variable or parameter.
/// @description Checks that putting void in a class's extends clause causes a
/// compile-time error.
-/// @compile-error
/// @author iefremov
class A extends void {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Types/Type_Void/syntax_t07.dart b/Language/Types/Type_Void/syntax_t07.dart
index 47ac0ab..9693387 100644
--- a/Language/Types/Type_Void/syntax_t07.dart
+++ b/Language/Types/Type_Void/syntax_t07.dart
@@ -7,11 +7,13 @@
/// For example, as a type argument, or as the type of a variable or parameter.
/// @description Checks that putting void in a class's implements clause causes
/// a compile-time error.
-/// @compile-error
/// @author iefremov
class A implements void {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Types/Type_Void/syntax_t08.dart b/Language/Types/Type_Void/syntax_t08.dart
index 119bfc0..574642b 100644
--- a/Language/Types/Type_Void/syntax_t08.dart
+++ b/Language/Types/Type_Void/syntax_t08.dart
@@ -7,11 +7,13 @@
/// as a type argument, or as the type of a variable or parameter).
/// @description Checks that specifying void as a type parameter bound causes a
/// compile-time error.
-/// @compile-error
/// @author iefremov
class A<T extends void> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new A();
diff --git a/Language/Types/Type_Void/syntax_t09.dart b/Language/Types/Type_Void/syntax_t09.dart
index f813bfc..35f2c58 100644
--- a/Language/Types/Type_Void/syntax_t09.dart
+++ b/Language/Types/Type_Void/syntax_t09.dart
@@ -9,11 +9,13 @@
/// compile-time error to pass a value with static type void to the function
/// which takes an Object
/// @issue 30177
-/// @compile-error
/// @author sgrekhov@unipro.ru
void v = null;
main() {
print(v);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Type_Void/syntax_t10.dart b/Language/Types/Type_Void/syntax_t10.dart
index bee0c15..d5a84a9 100644
--- a/Language/Types/Type_Void/syntax_t10.dart
+++ b/Language/Types/Type_Void/syntax_t10.dart
@@ -7,12 +7,17 @@
/// For example, as a type argument, or as the type of a variable or parameter.
/// @description Checks that using void as a declaration name is also a
/// compile-time error.
-/// @compile-error
/// @author rodionov
void void() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
void();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Type_Void/syntax_t11.dart b/Language/Types/Type_Void/syntax_t11.dart
index e262595..3267dd1 100644
--- a/Language/Types/Type_Void/syntax_t11.dart
+++ b/Language/Types/Type_Void/syntax_t11.dart
@@ -7,10 +7,12 @@
/// For example, as a type argument, or as the type of a variable or parameter.
/// @description Checks that using void as a declaration name is also a c
/// ompile-time error.
-/// @compile-error
/// @author rodionov
main() {
var void;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Type_Void/syntax_t12.dart b/Language/Types/Type_Void/syntax_t12.dart
index 31e84b6..775aaf6 100644
--- a/Language/Types/Type_Void/syntax_t12.dart
+++ b/Language/Types/Type_Void/syntax_t12.dart
@@ -7,12 +7,17 @@
/// For example, as a type argument, or as the type of a variable or parameter.
/// @description Checks that using void as a declaration name is also a
/// compile-time error.
-/// @compile-error
/// @author rodionov
class void {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
new void();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Type_Void/syntax_t13.dart b/Language/Types/Type_Void/syntax_t13.dart
index 63d987c..3354c92 100644
--- a/Language/Types/Type_Void/syntax_t13.dart
+++ b/Language/Types/Type_Void/syntax_t13.dart
@@ -7,11 +7,13 @@
/// For example, as a type argument, or as the type of a variable or parameter.
/// @description Checks that using void as a declaration name is also a
/// compile-time error.
-/// @compile-error
/// @author rodionov
typedef void void();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
void x;
diff --git a/Language/Types/Type_Void/syntax_t14.dart b/Language/Types/Type_Void/syntax_t14.dart
index f94f81e..7a18e62 100644
--- a/Language/Types/Type_Void/syntax_t14.dart
+++ b/Language/Types/Type_Void/syntax_t14.dart
@@ -7,12 +7,16 @@
/// For example, as a type argument, or as the type of a variable or parameter.
/// @description Checks that using void as a parameter name is also a
/// compile-time error.
-/// @compile-error
/// @author rodionov
int foo(var void) => 42;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
foo(1);
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Types/Type_Void/syntax_t15.dart b/Language/Types/Type_Void/syntax_t15.dart
index a3d6538..c1c65e3 100644
--- a/Language/Types/Type_Void/syntax_t15.dart
+++ b/Language/Types/Type_Void/syntax_t15.dart
@@ -7,10 +7,12 @@
/// For example, as a type argument, or as the type of a variable or parameter.
/// @description Checks that using void as a parameter name is also a
/// compile-time error.
-/// @compile-error
/// @author rodionov
main() {
(var p1, var void) => p1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Type_Void/using_t01.dart b/Language/Types/Type_Void/using_t01.dart
index db002d9..9fea915 100644
--- a/Language/Types/Type_Void/using_t01.dart
+++ b/Language/Types/Type_Void/using_t01.dart
@@ -9,7 +9,6 @@
/// variable/formal parameter has type dynamic.
/// @description Checks that using the result of a void method invocation in an
/// expression results in a compile error.
-/// @compile-error
/// @author rodionov
@@ -17,4 +16,7 @@
main() {
bool b = (foo() == 1);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Type_Void/using_t02.dart b/Language/Types/Type_Void/using_t02.dart
index 7d2a9ad..716ed60 100644
--- a/Language/Types/Type_Void/using_t02.dart
+++ b/Language/Types/Type_Void/using_t02.dart
@@ -7,7 +7,6 @@
/// have the type void.
/// @description Checks that it is a compile error when assigning the result of
/// a void method invocation to a variable whose declared type is not dynamic
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -17,4 +16,7 @@
main() {
int i = foo();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Types/Type_Void/using_t03.dart b/Language/Types/Type_Void/using_t03.dart
index 561c95c..cf6f6d1 100644
--- a/Language/Types/Type_Void/using_t03.dart
+++ b/Language/Types/Type_Void/using_t03.dart
@@ -10,7 +10,6 @@
/// @description Checks that assigning the result of a void method invocation to
/// a variable whose declared type is dynamic does not cause any warnings or
/// errors.
-/// @static-clean
/// @author rodionov
diff --git a/Language/Types/Type_dynamic/dynamic_t01.dart b/Language/Types/Type_dynamic/dynamic_t01.dart
index d4749dd..78e9ac8 100644
--- a/Language/Types/Type_dynamic/dynamic_t01.dart
+++ b/Language/Types/Type_dynamic/dynamic_t01.dart
@@ -8,7 +8,6 @@
/// @description Checks that a local variable without any type annotation has the
/// unknown type by expecting no static warnings for assigning it a String value.
/// Note: all possible declarations are tested in the corresponding chapters.
-/// @static-clean
/// @author iefremov
diff --git a/Language/Types/Type_dynamic/dynamic_t03.dart b/Language/Types/Type_dynamic/dynamic_t03.dart
index cf9f037..b2ac49e 100644
--- a/Language/Types/Type_dynamic/dynamic_t03.dart
+++ b/Language/Types/Type_dynamic/dynamic_t03.dart
@@ -9,7 +9,6 @@
/// @description Checks that invoking all sorts of methods on a dynamic variable
/// with all sorts of arguments and assigning the results to local variables of
/// various types does not produce any static type warnings.
-/// @static-clean
/// @issue #27495
/// @author iefremov
diff --git a/Language/Types/Type_dynamic/dynamic_t04.dart b/Language/Types/Type_dynamic/dynamic_t04.dart
index d5a7b19..60db43e 100644
--- a/Language/Types/Type_dynamic/dynamic_t04.dart
+++ b/Language/Types/Type_dynamic/dynamic_t04.dart
@@ -7,7 +7,6 @@
/// @description Checks that accessing properties with all sort of names on a
/// dynamic variable and assigning the results (in case of getters) to local
/// variables of various types does not produce any static type warnings.
-/// @static-clean
/// @issue #27495
/// @author iefremov
diff --git a/Language/Variables/Evaluation_of_Implicit_Variable_Getters/definition_t06.dart b/Language/Variables/Evaluation_of_Implicit_Variable_Getters/definition_t06.dart
index 2e4ec93..7448efb 100644
--- a/Language/Variables/Evaluation_of_Implicit_Variable_Getters/definition_t06.dart
+++ b/Language/Variables/Evaluation_of_Implicit_Variable_Getters/definition_t06.dart
@@ -43,12 +43,20 @@
/// safety turned on.
///
/// @author sgrekhov@unipro.ru
+/// @issue 46086
f(func) {}
class C {
static var sVar = f(() => sVar);
+// ^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
+
static final sFinal = f(() => sFinal);
+// ^^^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Variables/constant_initialization_t01.dart b/Language/Variables/constant_initialization_t01.dart
index d3d00f9..f0cc875 100644
--- a/Language/Variables/constant_initialization_t01.dart
+++ b/Language/Variables/constant_initialization_t01.dart
@@ -6,9 +6,11 @@
/// constant or a compile-time error occurs.
/// @description Checks that a compile-time error occurs if a constant variable
/// is not initialized.
-/// @compile-error
/// @author msyabro
const foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/Language/Variables/constant_initialization_t02.dart b/Language/Variables/constant_initialization_t02.dart
index 1ef9d41..9429be9 100644
--- a/Language/Variables/constant_initialization_t02.dart
+++ b/Language/Variables/constant_initialization_t02.dart
@@ -6,12 +6,14 @@
/// constant or a compile-time error occurs.
/// @description Checks that a compile-time error occurs if a constant variable
/// is initialized to a non compile-time constant.
-/// @compile-error
/// @author msyabro
import "../../Utils/expect.dart";
class Foo {}
const Foo foo = new Foo();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/Language/Variables/constant_variable_t01.dart b/Language/Variables/constant_variable_t01.dart
index 8354c67..2ee77f4 100644
--- a/Language/Variables/constant_variable_t01.dart
+++ b/Language/Variables/constant_variable_t01.dart
@@ -6,10 +6,12 @@
/// modifier const. A constant variable is always implicitly final.
/// @description Checks that, if a new value is assigned to a constant local
/// variable after it is initialized at declaration, then compile error occurs.
-/// @compile-error
/// @author msyabro
main() {
const foo = "foo";
foo = "bar";
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/constant_variable_t02.dart b/Language/Variables/constant_variable_t02.dart
index deba4f5..624d5be 100644
--- a/Language/Variables/constant_variable_t02.dart
+++ b/Language/Variables/constant_variable_t02.dart
@@ -6,10 +6,12 @@
/// modifier const. A constant variable is always implicitly final.
/// @description Checks that, if a new value is assigned to a constant local
/// variable after it is initialized at declaration, then compile error occurs.
-/// @compile-error
/// @author msyabro
main() {
const int foo = 1;
foo = 2;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/constant_variable_t03.dart b/Language/Variables/constant_variable_t03.dart
index 4a80c49..8d82a07 100644
--- a/Language/Variables/constant_variable_t03.dart
+++ b/Language/Variables/constant_variable_t03.dart
@@ -6,7 +6,6 @@
/// modifier const. A constant variable is always implicitly final.
/// @description Checks that, if a new value is assigned to a constant library
/// variable after it is initialized at declaration, then compile error occurs
-/// @compile-error
/// @author msyabro
@@ -14,4 +13,7 @@
main() {
foo = false;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/constant_variable_t04.dart b/Language/Variables/constant_variable_t04.dart
index 0f286e0..5d4ef3c 100644
--- a/Language/Variables/constant_variable_t04.dart
+++ b/Language/Variables/constant_variable_t04.dart
@@ -6,7 +6,6 @@
/// modifier const. A constant variable is always implicitly final.
/// @description Checks that, if a new value is assigned to a constant library
/// variable after it is initialized at declaration, then compile error occurs.
-/// @compile-error
/// @author msyabro
@@ -14,4 +13,7 @@
main() {
foo = 2;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/constant_variable_t05.dart b/Language/Variables/constant_variable_t05.dart
index 162226c..a731274 100644
--- a/Language/Variables/constant_variable_t05.dart
+++ b/Language/Variables/constant_variable_t05.dart
@@ -6,11 +6,13 @@
/// modifier const. A constant variable is always implicitly final.
/// @description Checks that a compile-time error occurs if a local constant
/// variable is not initialized at declaration.
-/// @compile-error
/// @author msyabro
/// @reviewer iefremov
main() {
const foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/constant_variable_t06.dart b/Language/Variables/constant_variable_t06.dart
index 9edfeeb..94ca049 100644
--- a/Language/Variables/constant_variable_t06.dart
+++ b/Language/Variables/constant_variable_t06.dart
@@ -6,10 +6,12 @@
/// modifier const. A constant variable is always implicitly final.
/// @description Checks that a compile-time error occurs if a local typed
/// constant variable is not initialized at declaration.
-/// @compile-error
/// @author msyabro
main() {
const int foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/constant_variable_t07.dart b/Language/Variables/constant_variable_t07.dart
index 4d15e9c..cd6aa5c 100644
--- a/Language/Variables/constant_variable_t07.dart
+++ b/Language/Variables/constant_variable_t07.dart
@@ -6,11 +6,13 @@
/// modifier const. A constant variable is always implicitly final.
/// @description Checks that a compile-time error occurs if a global constant
/// variable is not initialized at declaration.
-/// @compile-error
/// @author msyabro
const foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
foo;
diff --git a/Language/Variables/constant_variable_t08.dart b/Language/Variables/constant_variable_t08.dart
index 2c5aef4..03d215b 100644
--- a/Language/Variables/constant_variable_t08.dart
+++ b/Language/Variables/constant_variable_t08.dart
@@ -6,11 +6,13 @@
/// modifier const. A constant variable is always implicitly final.
/// @description Checks that a compile-time error occurs if a global typed
/// constant variable is not initialized at declaration.
-/// @compile-error
/// @author msyabro
const double foo;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
foo;
diff --git a/Language/Variables/constant_variable_t10.dart b/Language/Variables/constant_variable_t10.dart
index f8abdf1..b256e9a 100644
--- a/Language/Variables/constant_variable_t10.dart
+++ b/Language/Variables/constant_variable_t10.dart
@@ -7,7 +7,6 @@
/// @description Checks that, if a new value is assigned to a constant library
/// variable after it is initialized at declaration (even if this value is the
/// same as the initializing one), then compile error occurs
-/// @compile-error
/// @author msyabro
@@ -15,4 +14,7 @@
main() {
x = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/dynamic_type_variable_t01.dart b/Language/Variables/dynamic_type_variable_t01.dart
index f3068e1..97cc561 100644
--- a/Language/Variables/dynamic_type_variable_t01.dart
+++ b/Language/Variables/dynamic_type_variable_t01.dart
@@ -7,7 +7,6 @@
/// @description Checks that no static warnings are produced when trying to
/// access various non-existent members and properties of a variable. It means
/// that the return type of the getter is dynamic.
-/// @static-clean
/// @author iefremov
import "../../Utils/expect.dart";
diff --git a/Language/Variables/final_or_static_initialization_t01.dart b/Language/Variables/final_or_static_initialization_t01.dart
index 45fa288..46eda68 100644
--- a/Language/Variables/final_or_static_initialization_t01.dart
+++ b/Language/Variables/final_or_static_initialization_t01.dart
@@ -6,12 +6,14 @@
/// initializer at its declaration by the grammar.
/// @description Checks that it is a compile error when a final library
/// variable is not initialized in its declaration.
-/// @compile-error
/// @author rodionov
/// @issue #27510
final int v;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
print(v);
diff --git a/Language/Variables/final_or_static_initialization_t02.dart b/Language/Variables/final_or_static_initialization_t02.dart
index 9a1a27c..1d811e8 100644
--- a/Language/Variables/final_or_static_initialization_t02.dart
+++ b/Language/Variables/final_or_static_initialization_t02.dart
@@ -6,13 +6,15 @@
/// initializer at its declaration by the grammar.
/// @description Checks that it is a compile error when a final static
/// variable is not initialized in its declaration.
-/// @compile-error
/// @author rodionov
/// @issue #27510
class C {
static final v;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Variables/final_or_static_initialization_t03.dart b/Language/Variables/final_or_static_initialization_t03.dart
index bf6bdb2..5591313 100644
--- a/Language/Variables/final_or_static_initialization_t03.dart
+++ b/Language/Variables/final_or_static_initialization_t03.dart
@@ -6,13 +6,15 @@
/// initializer at its declaration by the grammar.
/// @description Checks that it is a compile error when a final static
/// variable is not initialized in its declaration.
-/// @compile-error
/// @author rodionov
/// @issue #27510
class C {
static final bool v;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Variables/final_t01.dart b/Language/Variables/final_t01.dart
index 960884f..1fa468f 100644
--- a/Language/Variables/final_t01.dart
+++ b/Language/Variables/final_t01.dart
@@ -14,7 +14,6 @@
/// @description Checks that a compile error occurs if a final instance
/// variable that has been initialized in declaration is also initialized in
/// a constructor.
-/// @compile-error
/// @author rodionov
/// @issue 12539
@@ -23,6 +22,9 @@
final v = 1;
C() : v = 2 {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Variables/final_t02.dart b/Language/Variables/final_t02.dart
index fc4bf8e..f7ec576 100644
--- a/Language/Variables/final_t02.dart
+++ b/Language/Variables/final_t02.dart
@@ -14,7 +14,6 @@
/// @description Checks that a compile error occurs if a final instance
/// variable that has been initialized in declaration is also initialized in
/// a constructor.
-/// @compile-error
/// @author rodionov
/// @issue 12539
@@ -23,6 +22,9 @@
final v = 1;
C(this.v) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Variables/final_t03.dart b/Language/Variables/final_t03.dart
index 6b87fa1..7564e20 100644
--- a/Language/Variables/final_t03.dart
+++ b/Language/Variables/final_t03.dart
@@ -14,7 +14,6 @@
/// @description Checks that it is a compile error to initialize final instance
/// variable both in initializing formal and initializer list
/// (Classes/Constructors/Generative Constructors)
-/// @compile-error
/// @author rodionov
@@ -22,6 +21,9 @@
final v;
C(this.v) : v = 1 {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/Language/Variables/final_t08.dart b/Language/Variables/final_t08.dart
index eba74f7..c36e015 100644
--- a/Language/Variables/final_t08.dart
+++ b/Language/Variables/final_t08.dart
@@ -18,11 +18,13 @@
///
/// @description Checks that it is a compile error to read local unassigned final
/// variable.
-/// @compile-error
/// @author ilya
main() {
final i;
var j = i;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/final_t09.dart b/Language/Variables/final_t09.dart
index e489003..62f10da 100644
--- a/Language/Variables/final_t09.dart
+++ b/Language/Variables/final_t09.dart
@@ -18,7 +18,6 @@
///
/// @description Checks that it is a compile error to read a method local
/// variable if it is final and not definitely assigned.
-/// @compile-error
/// @author ilya
@@ -26,6 +25,9 @@
f() {
final i;
return i;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
f();
}
diff --git a/Language/Variables/final_t10.dart b/Language/Variables/final_t10.dart
index aeff270..761bb8e 100644
--- a/Language/Variables/final_t10.dart
+++ b/Language/Variables/final_t10.dart
@@ -18,7 +18,6 @@
///
/// @description Checks that this is a compile error if local variable is final
/// and not initialized at its point of reading.
-/// @compile-error
/// @author ilya
@@ -26,5 +25,8 @@
() {
final i;
return i;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
} ();
}
diff --git a/Language/Variables/implicit_getter_dynamic_type_t02.dart b/Language/Variables/implicit_getter_dynamic_type_t02.dart
index 9488aeb..5af33d9 100644
--- a/Language/Variables/implicit_getter_dynamic_type_t02.dart
+++ b/Language/Variables/implicit_getter_dynamic_type_t02.dart
@@ -10,7 +10,6 @@
/// same as the static field's type (dynamic), by making sure there're no
/// static warnings when invoking non-existing methods on the value returned by
/// these getters.
-/// @static-clean
/// @author rodionov
/// @reviewer msyabro
diff --git a/Language/Variables/implicit_getter_dynamic_type_t03.dart b/Language/Variables/implicit_getter_dynamic_type_t03.dart
index 5eef409..89db8af 100644
--- a/Language/Variables/implicit_getter_dynamic_type_t03.dart
+++ b/Language/Variables/implicit_getter_dynamic_type_t03.dart
@@ -8,7 +8,6 @@
/// get v
/// @description For all types of forms checks that return type of getter is
/// dynamic by expecting no static warnings.
-/// @static-clean
/// @author ilya
import "../../Utils/expect.dart";
diff --git a/Language/Variables/implicit_getter_t02.dart b/Language/Variables/implicit_getter_t02.dart
index 68bbd58..1024ea8 100644
--- a/Language/Variables/implicit_getter_t02.dart
+++ b/Language/Variables/implicit_getter_t02.dart
@@ -10,7 +10,6 @@
/// @description Checks that a compile error is produced when assigning result
/// of T get v() invocation to a variable whose type may not be assigned to T.
/// The variable declaration is of the form T v;.
-/// @compile-error
/// @author pagolubev
@@ -21,4 +20,7 @@
main() {
A a = new A();
bool? b = a.v;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/implicit_getter_t03.dart b/Language/Variables/implicit_getter_t03.dart
index 786bc79..629e599 100644
--- a/Language/Variables/implicit_getter_t03.dart
+++ b/Language/Variables/implicit_getter_t03.dart
@@ -10,7 +10,6 @@
/// @description Checks that a compile error is produced when assigning result
/// of T get v() invocation to a variable whose type may not be assigned to T.
/// The variable declaration is of the form T v = e;.
-/// @compile-error
/// @author pagolubev
/// @author a.semenov@unipro.ru
@@ -22,4 +21,7 @@
main() {
A a = new A();
bool b = a.v;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/implicit_getter_t04.dart b/Language/Variables/implicit_getter_t04.dart
index c4707ab..5aaf7bc 100644
--- a/Language/Variables/implicit_getter_t04.dart
+++ b/Language/Variables/implicit_getter_t04.dart
@@ -10,7 +10,6 @@
/// @description Checks that a compile error is produced when assigning result
/// of T get v() invocation to a variable whose type may not be assigned to T.
/// The variable declaration is of the form final T v = e;.
-/// @compile-error
/// @author pagolubev
/// @author a.semenov@unipro.ru
@@ -22,4 +21,7 @@
main() {
A a = new A();
bool b = a.v;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/implicit_getter_t05.dart b/Language/Variables/implicit_getter_t05.dart
index 8d7a523..cae16e1 100644
--- a/Language/Variables/implicit_getter_t05.dart
+++ b/Language/Variables/implicit_getter_t05.dart
@@ -10,7 +10,6 @@
/// @description Checks that a compile error is produced when assigning result
/// of T get v() invocation to a variable whose type may not be assigned to T.
/// The variable declaration is of the form final T v;.
-/// @compile-error
/// @author pagolubev
/// @author a.semenov@unipro.ru
@@ -23,4 +22,7 @@
main() {
A a = new A(1);
bool? b = a.v;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/implicit_getter_t07.dart b/Language/Variables/implicit_getter_t07.dart
index 51f2655..b25d988 100644
--- a/Language/Variables/implicit_getter_t07.dart
+++ b/Language/Variables/implicit_getter_t07.dart
@@ -10,7 +10,6 @@
/// @description Checks that the returned type of this implicit getter is the
/// same as the static field's type by assigning the result of its invocation
/// to a variable of the same type.
-/// @static-clean
/// @author msyabro
diff --git a/Language/Variables/implicit_getter_t08.dart b/Language/Variables/implicit_getter_t08.dart
index 54752f2..4f88a2f 100644
--- a/Language/Variables/implicit_getter_t08.dart
+++ b/Language/Variables/implicit_getter_t08.dart
@@ -10,7 +10,6 @@
/// @description Checks that the returned type of this implicit getter is the
/// same as the static field's type, by attempting to assign the result of its
/// invocation to a variable of incompatible type. Compile error is expected.
-/// @compile-error
/// @author pagolubev
@@ -20,4 +19,7 @@
main() {
bool? a = A.a;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/implicit_getter_t09.dart b/Language/Variables/implicit_getter_t09.dart
index 9a92503..63af511 100644
--- a/Language/Variables/implicit_getter_t09.dart
+++ b/Language/Variables/implicit_getter_t09.dart
@@ -10,7 +10,6 @@
/// @description Checks that the returned type of this implicit getter is the
/// same as the static field's type, by attempting to assign the result of its
/// invocation to a variable of incompatible type. Compile error is expected.
-/// @compile-error
/// @author pagolubev
import "../../Utils/dynamic_check.dart";
@@ -21,4 +20,7 @@
main() {
bool a = A.a;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/implicit_getter_t10.dart b/Language/Variables/implicit_getter_t10.dart
index 28a911a..a1abe3c 100644
--- a/Language/Variables/implicit_getter_t10.dart
+++ b/Language/Variables/implicit_getter_t10.dart
@@ -10,7 +10,6 @@
/// @description Checks that the returned type of this implicit getter is the
/// same as the static field's type, by attempting to assign the result of its
/// invocation to a variable of incompatible type. Compile error is expected.
-/// @compile-error
/// @author pagolubev
import "../../Utils/dynamic_check.dart";
@@ -21,4 +20,7 @@
main() {
bool a = A.a;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/implicit_getter_t11.dart b/Language/Variables/implicit_getter_t11.dart
index aa02225..e531639 100644
--- a/Language/Variables/implicit_getter_t11.dart
+++ b/Language/Variables/implicit_getter_t11.dart
@@ -10,7 +10,6 @@
/// @description Checks that the returned type of this implicit getter is the
/// same as the static field's type, by attempting to assign the result of its
/// invocation to a variable of incompatible type. Compile error is expected.
-/// @compile-error
/// @author msyabro
import "../../Utils/dynamic_check.dart";
@@ -21,4 +20,7 @@
main() {
bool a = A.a;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/implicit_getter_t12.dart b/Language/Variables/implicit_getter_t12.dart
index 775f49e..695fa46 100644
--- a/Language/Variables/implicit_getter_t12.dart
+++ b/Language/Variables/implicit_getter_t12.dart
@@ -9,7 +9,6 @@
/// whose invocation evaluates as described below.
/// @description For all types of forms checks that return type of getter is T
/// by expecting no static warnings.
-/// @static-clean
/// @author ilya
diff --git a/Language/Variables/implicit_setter_t01.dart b/Language/Variables/implicit_setter_t01.dart
index 97d8ac2..01ad841 100644
--- a/Language/Variables/implicit_setter_t01.dart
+++ b/Language/Variables/implicit_setter_t01.dart
@@ -9,7 +9,6 @@
/// whose execution sets the value of v to the incoming argument x.
/// @description Trivially checks that some arbitrary values may be assigned
/// to the variables declared as in assertion.
-/// @static-clean
/// @author vasya
import "../../Utils/expect.dart";
diff --git a/Language/Variables/implicit_setter_t02.dart b/Language/Variables/implicit_setter_t02.dart
index c3260dc..f6542b6 100644
--- a/Language/Variables/implicit_setter_t02.dart
+++ b/Language/Variables/implicit_setter_t02.dart
@@ -10,7 +10,6 @@
/// @description Checks that the signature of this implicit setter is correct
/// and the type of its formal parameter is indeed dynamic by passing values of
/// various types to it.
-/// @static-clean
/// @author pagolubev
import "../../Utils/expect.dart";
diff --git a/Language/Variables/implicit_setter_t03.dart b/Language/Variables/implicit_setter_t03.dart
index 65069ba..e9a3f75 100644
--- a/Language/Variables/implicit_setter_t03.dart
+++ b/Language/Variables/implicit_setter_t03.dart
@@ -9,7 +9,6 @@
/// whose execution sets the value of v to the incoming argument x.
/// @description For all types of forms checks that setter execution sets the
/// value of the variable and that parameter type is dynamic.
-/// @static-clean
/// @author ilya
import "../../Utils/expect.dart";
diff --git a/Language/Variables/implicit_setter_void_t02.dart b/Language/Variables/implicit_setter_void_t02.dart
index af88559..18c01a0 100644
--- a/Language/Variables/implicit_setter_void_t02.dart
+++ b/Language/Variables/implicit_setter_void_t02.dart
@@ -9,7 +9,6 @@
/// whose execution sets the value of v to the incoming argument x.
/// @description Checks that a compile error is produced when assigning a value
/// of type that may not be assigned to T, to the variable declared as T v;.
-/// @compile-error
/// @author pagolubev
import "../../Utils/dynamic_check.dart";
@@ -21,4 +20,7 @@
main() {
A a = new A();
a.v = false;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/implicit_setter_void_t03.dart b/Language/Variables/implicit_setter_void_t03.dart
index 2465995..76afb0d 100644
--- a/Language/Variables/implicit_setter_void_t03.dart
+++ b/Language/Variables/implicit_setter_void_t03.dart
@@ -9,7 +9,6 @@
/// whose execution sets the value of v to the incoming argument x.
/// @description Checks that a compile error is produced when assigning a value
/// of type that may not be assigned to T, to the variable declared as T v = e;.
-/// @compile-error
/// @author pagolubev
import "../../Utils/dynamic_check.dart";
@@ -21,4 +20,7 @@
main() {
A a = new A();
a.v = false;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/implicit_setter_void_t05.dart b/Language/Variables/implicit_setter_void_t05.dart
index 5d1a348..5fd4d8b 100644
--- a/Language/Variables/implicit_setter_void_t05.dart
+++ b/Language/Variables/implicit_setter_void_t05.dart
@@ -10,7 +10,6 @@
/// @description Checks that the formal parameter type of this implicit setter
/// is correct and the same as the type of the static variable by attempting to
/// pass a value of incompatible type (String) to it. Compile error is expected.
-/// @compile-error
/// @author pagolubev
import "../../Utils/dynamic_check.dart";
@@ -21,4 +20,7 @@
main() {
A.a = "1";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/implicit_setter_void_t06.dart b/Language/Variables/implicit_setter_void_t06.dart
index 91b386f..97552bc 100644
--- a/Language/Variables/implicit_setter_void_t06.dart
+++ b/Language/Variables/implicit_setter_void_t06.dart
@@ -10,7 +10,6 @@
/// @description Checks that the formal parameter type of this implicit setter
/// is correct and the same as the type of the static variable by attempting to
/// pass a value of incompatible type (String) to it. Compile error is expected.
-/// @compile-error
/// @author pagolubev
@@ -20,4 +19,7 @@
main() {
A.a = "1";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/implicit_setter_void_t07.dart b/Language/Variables/implicit_setter_void_t07.dart
index 278d0f6..fc71c40 100644
--- a/Language/Variables/implicit_setter_void_t07.dart
+++ b/Language/Variables/implicit_setter_void_t07.dart
@@ -9,7 +9,6 @@
/// whose execution sets the value of v to the incoming argument x.
/// @description For all types of forms checks that setter execution sets the
/// value of the variable and that parameter type is T.
-/// @static-clean
/// @author ilya
import "../../Utils/expect.dart";
diff --git a/Language/Variables/library_variable_t01.dart b/Language/Variables/library_variable_t01.dart
index 910b03b..87280ac 100644
--- a/Language/Variables/library_variable_t01.dart
+++ b/Language/Variables/library_variable_t01.dart
@@ -7,9 +7,8 @@
/// identifier static.
/// @description Checks that a compile-time error occurs if a top level
/// variable declaration is prefaced with the built-in identifier static.
-/// @compile-error
/// @author vasya
-
+/// @issue 44990
import "library_variable_t01_lib.dart";
diff --git a/Language/Variables/library_variable_t01_lib.dart b/Language/Variables/library_variable_t01_lib.dart
index 65f87fd..f640e4c 100644
--- a/Language/Variables/library_variable_t01_lib.dart
+++ b/Language/Variables/library_variable_t01_lib.dart
@@ -2,7 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-
library library_variable_t01_lib;
-static var foo; // error
+ static var foo;
+//^^^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
diff --git a/Language/Variables/library_variable_t02.dart b/Language/Variables/library_variable_t02.dart
index f08e5ae..8054542 100644
--- a/Language/Variables/library_variable_t02.dart
+++ b/Language/Variables/library_variable_t02.dart
@@ -7,11 +7,12 @@
/// identifier static.
/// @description Checks that it is a compile-time error if a top level variable
/// declaration is prefaced with the built-in identifier static.
-/// @compile-error
/// @author kaigorodov
-
-static var foo; // error
+ static var foo;
+//^^^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
foo = 1;
diff --git a/Language/Variables/library_variable_t03.dart b/Language/Variables/library_variable_t03.dart
index 938a30e..e2a512b 100644
--- a/Language/Variables/library_variable_t03.dart
+++ b/Language/Variables/library_variable_t03.dart
@@ -7,11 +7,13 @@
/// identifier static.
/// @description Checks that it is a compile-time error if a top level typed
/// variable declaration is prefaced with the built-in identifier static.
-/// @compile-error
/// @author msyabro
static int foo = 1; // error
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
foo = 1;
diff --git a/Language/Variables/library_variable_t04.dart b/Language/Variables/library_variable_t04.dart
index d4356d8..f7b9190 100644
--- a/Language/Variables/library_variable_t04.dart
+++ b/Language/Variables/library_variable_t04.dart
@@ -7,11 +7,13 @@
/// identifier static.
/// @description Checks that it is a compile-time error if a top level final
/// variable declaration is prefaced with the built-in identifier static.
-/// @compile-error
/// @author msyabro
static final foo = 1; // error
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
print(foo);
diff --git a/Language/Variables/library_variable_t05.dart b/Language/Variables/library_variable_t05.dart
index 46066c6..bd99b2e 100644
--- a/Language/Variables/library_variable_t05.dart
+++ b/Language/Variables/library_variable_t05.dart
@@ -7,11 +7,13 @@
/// identifier static.
/// @description Checks that it is a compile-time error if a top level final
/// typed variable declaration is prefaced with the built-in identifier static.
-/// @compile-error
/// @author msyabro
static final int foo = 1; // error
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
print(foo);
diff --git a/Language/Variables/library_variable_t06.dart b/Language/Variables/library_variable_t06.dart
index b0ca1e0..f403c4c 100644
--- a/Language/Variables/library_variable_t06.dart
+++ b/Language/Variables/library_variable_t06.dart
@@ -7,11 +7,13 @@
/// identifier static.
/// @description Checks that it is a compile-time error if a top level constant
/// variable declaration is prefaced with the built-in identifier static.
-/// @compile-error
/// @author msyabro
static const foo = 1; // error
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
print(foo);
diff --git a/Language/Variables/library_variable_t07.dart b/Language/Variables/library_variable_t07.dart
index e031175..3622be6 100644
--- a/Language/Variables/library_variable_t07.dart
+++ b/Language/Variables/library_variable_t07.dart
@@ -7,11 +7,13 @@
/// identifier static.
/// @description Checks that it is a compile-time error if a top level constant
/// typed variable declaration is prefaced with the built-in identifier static.
-/// @compile-error
/// @author msyabro
static const int foo = 1; // error
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
print(foo);
diff --git a/Language/Variables/local_variable_t01.dart b/Language/Variables/local_variable_t01.dart
index 68eed1c..67d3633 100644
--- a/Language/Variables/local_variable_t01.dart
+++ b/Language/Variables/local_variable_t01.dart
@@ -8,11 +8,15 @@
/// is complete, or a compile-time error occurs.
/// @description Checks that it is a compile-error if local variable is used
/// before its initializer.
-/// @compile-error
/// @author kaigorodov
main() {
var v = w;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
var w;
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Variables/local_variable_t02.dart b/Language/Variables/local_variable_t02.dart
index 92bd21b..8e75ee5 100644
--- a/Language/Variables/local_variable_t02.dart
+++ b/Language/Variables/local_variable_t02.dart
@@ -8,7 +8,6 @@
/// is complete, or a compile-time error occurs.
/// @description Checks that there are no warnings if local variable is used
/// just after its initializer.
-/// @static-clean
/// @author ilya
diff --git a/Language/Variables/local_variable_t03.dart b/Language/Variables/local_variable_t03.dart
index ca3c1f2..0084c63 100644
--- a/Language/Variables/local_variable_t03.dart
+++ b/Language/Variables/local_variable_t03.dart
@@ -8,13 +8,15 @@
/// is complete, or a compile-time error occurs.
/// @description Checks that it is a compile-error to reference the name of
/// local variable before its declaration, but in outer scope.
-/// @compile-error
/// @author ilya
/// @author a.semenov@unipro.ru
main() {
var v = w;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
{
var w;
}
diff --git a/Language/Variables/local_variable_t04.dart b/Language/Variables/local_variable_t04.dart
index 6e55c23..85f0ef3 100644
--- a/Language/Variables/local_variable_t04.dart
+++ b/Language/Variables/local_variable_t04.dart
@@ -8,10 +8,12 @@
/// is complete, or a compile-time error occurs.
/// @description Checks that it is a compile-error to reference local variable
/// in its initializer.
-/// @compile-error
/// @author ilya
main() {
var x = x;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/local_variable_t05.dart b/Language/Variables/local_variable_t05.dart
index ab8f815..30224cd 100644
--- a/Language/Variables/local_variable_t05.dart
+++ b/Language/Variables/local_variable_t05.dart
@@ -8,10 +8,12 @@
/// is complete, or a compile-time error occurs.
/// @description Checks that it is a compile-error to reference local variable
/// in its initializer.
-/// @compile-error
/// @author ilya
main() {
var f = () => f;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/local_variable_t07.dart b/Language/Variables/local_variable_t07.dart
index a27a468..2afaff8 100644
--- a/Language/Variables/local_variable_t07.dart
+++ b/Language/Variables/local_variable_t07.dart
@@ -8,12 +8,14 @@
/// is complete, or a compile-time error occurs.
/// @description Checks that it is a compile-error to reference the name of
/// local variable before its declaration, but in outer scope.
-/// @compile-error
/// @author ilya
/// @author a.semenov@unipro.ru
main() {
i;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
for (int i = 0; i < 10; ++i) {}
}
diff --git a/Language/Variables/static_variable_t02.dart b/Language/Variables/static_variable_t02.dart
index 75e043c..1f28308 100644
--- a/Language/Variables/static_variable_t02.dart
+++ b/Language/Variables/static_variable_t02.dart
@@ -11,10 +11,12 @@
/// preface a top-level variable declaration with the built-in identier static.
/// @description Checks that it is a compile-time error to preface a top-level
/// variable declaration with the built-in identifier static.
-/// @compile-error
/// @author kaigorodov
static var foo = 1;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/Language/Variables/syntax_t03.dart b/Language/Variables/syntax_t03.dart
index c9e8a2a..f1d4a80 100644
--- a/Language/Variables/syntax_t03.dart
+++ b/Language/Variables/syntax_t03.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that finalConstVarOrType cannot appear twice in
/// variable declaration.
-/// @compile-error
/// @author kaigorodov
main() {
var x, var y;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/syntax_t04.dart b/Language/Variables/syntax_t04.dart
index 144f446..9350f0c 100644
--- a/Language/Variables/syntax_t04.dart
+++ b/Language/Variables/syntax_t04.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that a variable declaration cannot contain both
/// 'final' and 'var'.
-/// @compile-error
/// @author iefremov
main() {
final var x = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/syntax_t05.dart b/Language/Variables/syntax_t05.dart
index 5aa69ec..d2a6d42 100644
--- a/Language/Variables/syntax_t05.dart
+++ b/Language/Variables/syntax_t05.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that a variable declaration cannot contain both 'var'
/// and 'type'.
-/// @compile-error
/// @author iefremov
main() {
var int x = 1;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/syntax_t06.dart b/Language/Variables/syntax_t06.dart
index 6b6abbf..abccc69 100644
--- a/Language/Variables/syntax_t06.dart
+++ b/Language/Variables/syntax_t06.dart
@@ -27,10 +27,12 @@
/// initializedIdentifier (‘, ’ initializedIdentifier)*
/// ;
/// @description Checks that a variable declaration must contain an identifier.
-/// @compile-error
/// @author iefremov
main() {
final ;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/syntax_t07.dart b/Language/Variables/syntax_t07.dart
index a3f7084..3ebcfb7 100644
--- a/Language/Variables/syntax_t07.dart
+++ b/Language/Variables/syntax_t07.dart
@@ -27,10 +27,12 @@
/// initializedIdentifier (‘, ’ initializedIdentifier)*
/// ;
/// @description Checks that a variable declaration cannot end with a comma.
-/// @compile-error
/// @author iefremov
main() {
var x, ;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/syntax_t08.dart b/Language/Variables/syntax_t08.dart
index ffbea36..3df767e 100644
--- a/Language/Variables/syntax_t08.dart
+++ b/Language/Variables/syntax_t08.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that different variables in a single variable
/// declaration must be delimited by commas.
-/// @compile-error
/// @author iefremov
main() {
var x y;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/syntax_t09.dart b/Language/Variables/syntax_t09.dart
index 4ec6fec..d3cb47d 100644
--- a/Language/Variables/syntax_t09.dart
+++ b/Language/Variables/syntax_t09.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that it is a compile-time error if the right-hand
/// expression is missed in an initialized variable declaration.
-/// @compile-error
/// @author iefremov
main() {
var x =;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/syntax_t10.dart b/Language/Variables/syntax_t10.dart
index af2715e..7eebdca 100644
--- a/Language/Variables/syntax_t10.dart
+++ b/Language/Variables/syntax_t10.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that a non-expression statement cannot be used instead
/// of expression in an initialized variable declaration.
-/// @compile-error
/// @author iefremov
main() {
var x = return 0;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/syntax_t11.dart b/Language/Variables/syntax_t11.dart
index a6fd449..5b2ed73 100644
--- a/Language/Variables/syntax_t11.dart
+++ b/Language/Variables/syntax_t11.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that it is a compile-time error if the right-hand
/// expression is missing in an initialized variable declaration.
-/// @compile-error
/// @author iefremov
main() {
var x = 1, y = ;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/syntax_t12.dart b/Language/Variables/syntax_t12.dart
index cf94798..40b6013 100644
--- a/Language/Variables/syntax_t12.dart
+++ b/Language/Variables/syntax_t12.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that variable declaration cannot contain both 'const'
/// and 'var'.
-/// @compile-error
/// @author msyabro
main() {
const var x = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/syntax_t13.dart b/Language/Variables/syntax_t13.dart
index 88dd6c2..a9a4f1e 100644
--- a/Language/Variables/syntax_t13.dart
+++ b/Language/Variables/syntax_t13.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that variable declaration cannot contain both 'const'
/// and 'final'.
-/// @compile-error
/// @author msyabro
main() {
const final x = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/syntax_t14.dart b/Language/Variables/syntax_t14.dart
index f4c641e..8522d49 100644
--- a/Language/Variables/syntax_t14.dart
+++ b/Language/Variables/syntax_t14.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that variable declaration cannot contain 'const',
/// 'final' and 'var' simultaneously.
-/// @compile-error
/// @author msyabro
main() {
const final var x = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/syntax_t16.dart b/Language/Variables/syntax_t16.dart
index d02e7b0..0e4d4b1 100644
--- a/Language/Variables/syntax_t16.dart
+++ b/Language/Variables/syntax_t16.dart
@@ -28,14 +28,18 @@
/// ;
/// @description Checks that a variable declaration cannot contain the
/// 'factory' keyword.
-/// @compile-error
/// @author kaigorodov
class C {
factory var x = 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
new C();
+// ^
+// [cfe] unspecified
}
diff --git a/Language/Variables/syntax_t17.dart b/Language/Variables/syntax_t17.dart
index 59d7ddc..aa6c5d6 100644
--- a/Language/Variables/syntax_t17.dart
+++ b/Language/Variables/syntax_t17.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that only assignment operator is admitted when
/// variable is initialized.
-/// @compile-error
/// @author hlodvig
main() {
var x += 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/syntax_t19.dart b/Language/Variables/syntax_t19.dart
index c8f93e3..2a0709a 100644
--- a/Language/Variables/syntax_t19.dart
+++ b/Language/Variables/syntax_t19.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that only assignment operator is admitted when
/// variable is initialized.
-/// @compile-error
/// @author hlodvig
main() {
var x /= 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/syntax_t20.dart b/Language/Variables/syntax_t20.dart
index 2fb340f..dcb213c 100644
--- a/Language/Variables/syntax_t20.dart
+++ b/Language/Variables/syntax_t20.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that only assignment operator is admitted when
/// variable is initialized.
-/// @compile-error
/// @author hlodvig
main() {
var x *= 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/syntax_t21.dart b/Language/Variables/syntax_t21.dart
index d257d2d..baade9d 100644
--- a/Language/Variables/syntax_t21.dart
+++ b/Language/Variables/syntax_t21.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that only assignment operator is admitted when
/// variable is initialized.
-/// @compile-error
/// @author hlodvig
main() {
var x++;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/syntax_t22.dart b/Language/Variables/syntax_t22.dart
index 88bdde9..5e0cd26 100644
--- a/Language/Variables/syntax_t22.dart
+++ b/Language/Variables/syntax_t22.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that only assignment operator is admitted when
/// variable is initialized.
-/// @compile-error
/// @author hlodvig
main() {
var --x;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/syntax_t23.dart b/Language/Variables/syntax_t23.dart
index cdd3989..48fc780 100644
--- a/Language/Variables/syntax_t23.dart
+++ b/Language/Variables/syntax_t23.dart
@@ -28,10 +28,12 @@
/// ;
/// @description Checks that only assignment operator is admitted when
/// variable is initialized.
-/// @compile-error
/// @author hlodvig
main() {
var x * 1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/Language/Variables/syntax_t24.dart b/Language/Variables/syntax_t24.dart
index 5a2b9fa..831cd82 100644
--- a/Language/Variables/syntax_t24.dart
+++ b/Language/Variables/syntax_t24.dart
@@ -28,13 +28,16 @@
/// ;
/// @description Checks that an abstract variable must be in an abstract class
/// See https://github.com/dart-lang/language/tree/master/accepted/future-releases/abstract-external-fields
-/// @compile-error
/// @author sgrekhov@unipro.ru
/// @issue 42980
class C {
+// ^
+// [cfe] unspecified
abstract int? x;
+//^
+// [analyzer] unspecified
}
main() {
diff --git a/LanguageFeatures/Abstract-external-fields/syntax_A03_t04.dart b/LanguageFeatures/Abstract-external-fields/syntax_A03_t04.dart
index c7c1762..93ec9c0 100644
--- a/LanguageFeatures/Abstract-external-fields/syntax_A03_t04.dart
+++ b/LanguageFeatures/Abstract-external-fields/syntax_A03_t04.dart
@@ -23,11 +23,16 @@
///
/// @description Checks topLevelDefinition syntax
/// @author sgrekhov@unipro.ru
-/// @compile-error
abstract class C {
covariant int? abstract i1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
covariant var abstract i2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/LanguageFeatures/Abstract-external-fields/syntax_A03_t05.dart b/LanguageFeatures/Abstract-external-fields/syntax_A03_t05.dart
index 5eebeed..1bca943 100644
--- a/LanguageFeatures/Abstract-external-fields/syntax_A03_t05.dart
+++ b/LanguageFeatures/Abstract-external-fields/syntax_A03_t05.dart
@@ -23,11 +23,16 @@
///
/// @description Checks topLevelDefinition syntax
/// @author sgrekhov@unipro.ru
-/// @compile-error
abstract class C {
int? abstract i1;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
var abstract i2;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/LanguageFeatures/Constant-update-2018/CastOperator_A03_t01.dart b/LanguageFeatures/Constant-update-2018/CastOperator_A03_t01.dart
index dbe4f27..bf107d1 100644
--- a/LanguageFeatures/Constant-update-2018/CastOperator_A03_t01.dart
+++ b/LanguageFeatures/Constant-update-2018/CastOperator_A03_t01.dart
@@ -10,7 +10,6 @@
/// @description Checks that an expression of the form [e as T] is not accepted
/// and causes compile time error if [e] is not a compile-time constant and it's
/// assigned to the [String] variable.
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -18,4 +17,7 @@
main() {
const String obj = str as String;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Constant-update-2018/CastOperator_A03_t02.dart b/LanguageFeatures/Constant-update-2018/CastOperator_A03_t02.dart
index 0e3e12e..ba5c165 100644
--- a/LanguageFeatures/Constant-update-2018/CastOperator_A03_t02.dart
+++ b/LanguageFeatures/Constant-update-2018/CastOperator_A03_t02.dart
@@ -10,11 +10,13 @@
/// @description Checks that an expression of the form [e as T] is not accepted
/// and causes compile time error if [e] is not a compile-time constant and it's
/// assigned to the [String] variable.
-/// @compile-error
/// @author iarkh@unipro.ru
dynamic str;
main() {
const String? obj = str as String?;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Constant-update-2018/ShortCircuitOperators_A03_t12.dart b/LanguageFeatures/Constant-update-2018/ShortCircuitOperators_A03_t12.dart
index 53e7e7f..ad38383 100644
--- a/LanguageFeatures/Constant-update-2018/ShortCircuitOperators_A03_t12.dart
+++ b/LanguageFeatures/Constant-update-2018/ShortCircuitOperators_A03_t12.dart
@@ -8,7 +8,6 @@
/// @description Checks that compile-time exception is not thrown if the first
/// operand of [??] operator is not [null] regardless of the actual type of the
/// second operand.
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -18,6 +17,10 @@
main() {
const String s1 = "" ?? (124 as String);
+// ^^^^^^^^^^^^^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??' has type 'String' which excludes null.
const int i1 = i ?? ("" as int);
const String s2 = d2 ?? d1;
const int i2 = d1 ?? d2;
diff --git a/LanguageFeatures/Control-flow-collections/static_errors_A07_t01.dart b/LanguageFeatures/Control-flow-collections/static_errors_A07_t01.dart
index 4343994..a1c205d 100644
--- a/LanguageFeatures/Control-flow-collections/static_errors_A07_t01.dart
+++ b/LanguageFeatures/Control-flow-collections/static_errors_A07_t01.dart
@@ -9,10 +9,12 @@
/// @description Checks that it is a static error when the type of the stream
/// expression in an asynchronous await for-in element may not be assigned to
/// Stream<T> for some type T
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() async {
[await for (var i in "not stream") i];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Control-flow-collections/static_errors_A08_t01.dart b/LanguageFeatures/Control-flow-collections/static_errors_A08_t01.dart
index 54c3df1..2c512af 100644
--- a/LanguageFeatures/Control-flow-collections/static_errors_A08_t01.dart
+++ b/LanguageFeatures/Control-flow-collections/static_errors_A08_t01.dart
@@ -9,10 +9,12 @@
/// @description Checks that it is a static error when the stream type of the
/// iterator in an asynchronous await for-in element may not be assigned to the
/// for-in variable's type
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() async {
[await for (int i in Stream.fromIterable(["not", "int"])) i];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Control-flow-collections/static_errors_A09_t01.dart b/LanguageFeatures/Control-flow-collections/static_errors_A09_t01.dart
index 8346a67..5f148fe 100644
--- a/LanguageFeatures/Control-flow-collections/static_errors_A09_t01.dart
+++ b/LanguageFeatures/Control-flow-collections/static_errors_A09_t01.dart
@@ -7,10 +7,12 @@
///
/// @description Checks that it is a static error when await is used when the
/// collection literal is not inside an asynchronous function.
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() {
[await for (String i in Stream.fromIterable(["not", "int"])) i];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Control-flow-collections/static_errors_A10_t01.dart b/LanguageFeatures/Control-flow-collections/static_errors_A10_t01.dart
index c9766d1..3541bde 100644
--- a/LanguageFeatures/Control-flow-collections/static_errors_A10_t01.dart
+++ b/LanguageFeatures/Control-flow-collections/static_errors_A10_t01.dart
@@ -7,10 +7,12 @@
///
/// @description Checks that it is a static error when await is used before a
/// C-style for element.
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() async {
[await for (int i = 0; i < 10; i++) i];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Control-flow-collections/static_errors_A11_t01.dart b/LanguageFeatures/Control-flow-collections/static_errors_A11_t01.dart
index 9d1c904..ad703d4 100644
--- a/LanguageFeatures/Control-flow-collections/static_errors_A11_t01.dart
+++ b/LanguageFeatures/Control-flow-collections/static_errors_A11_t01.dart
@@ -8,10 +8,12 @@
/// @description Checks that it is a static error when the type of the condition
/// expression (the second clause) in a C-style for element may not be assigned
/// to bool
-/// @compile-error
/// @author sgrekhov@unipro.ru
main() {
[for (; "not bool";) 1];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Control-flow-collections/type_promotion_A01_t02.dart b/LanguageFeatures/Control-flow-collections/type_promotion_A01_t02.dart
index 67b907c..d567c7f 100644
--- a/LanguageFeatures/Control-flow-collections/type_promotion_A01_t02.dart
+++ b/LanguageFeatures/Control-flow-collections/type_promotion_A01_t02.dart
@@ -9,7 +9,6 @@
///
/// @description Checks that it is a compile error if type promotion occurs in
/// the "else" element
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -28,5 +27,8 @@
1
else
c.c
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
];
}
diff --git a/LanguageFeatures/Extension-methods/call_member_t03.dart b/LanguageFeatures/Extension-methods/call_member_t03.dart
index d2254a5..2b0394a 100644
--- a/LanguageFeatures/Extension-methods/call_member_t03.dart
+++ b/LanguageFeatures/Extension-methods/call_member_t03.dart
@@ -14,7 +14,6 @@
///
/// @description Check that a member access not matching an instance method is a
/// compile-time error if there is no applicable extension
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -33,4 +32,7 @@
main() {
1.0(10.0);
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Extension-methods/call_member_t09.dart b/LanguageFeatures/Extension-methods/call_member_t09.dart
index 3fa206f..25536f5 100644
--- a/LanguageFeatures/Extension-methods/call_member_t09.dart
+++ b/LanguageFeatures/Extension-methods/call_member_t09.dart
@@ -14,7 +14,6 @@
///
/// @description Check that it is a compile error if there is no most specific
/// extension with the call method
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -29,4 +28,7 @@
main() {
[3, 1, 4](10);
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Extension-methods/call_member_t11.dart b/LanguageFeatures/Extension-methods/call_member_t11.dart
index 66e5986..892633a 100644
--- a/LanguageFeatures/Extension-methods/call_member_t11.dart
+++ b/LanguageFeatures/Extension-methods/call_member_t11.dart
@@ -13,7 +13,6 @@
/// e1.call<typeS>(args). Otherwise it is still a compile-time error.
///
/// @description Check the case when 'call()' method is called via 'super()'
-/// @compile-error
/// @author sgrekhov@unipro.ru
/// @issue https://github.com/dart-lang/language/issues/734
/// @issue 41782
@@ -30,6 +29,8 @@
class C extends A {
test() {
Expect.equals("Lily was here: 42", super(42));
+// ^
+// [cfe] unspecified
}
}
diff --git a/LanguageFeatures/Extension-methods/explicit_extension_member_invocation_A20_t01.dart b/LanguageFeatures/Extension-methods/explicit_extension_member_invocation_A20_t01.dart
index 167403e..9c05deb 100644
--- a/LanguageFeatures/Extension-methods/explicit_extension_member_invocation_A20_t01.dart
+++ b/LanguageFeatures/Extension-methods/explicit_extension_member_invocation_A20_t01.dart
@@ -14,10 +14,8 @@
/// @issue 39325
/// https://github.com/dart-lang/language/issues/677
/// @author sgrekhov@unipro.ru
-/// @static-warning
/// @issue 43217
-
import "../../Utils/expect.dart";
class C {
@@ -29,5 +27,9 @@
main() {
C c = C();
- Expect.equals(42, Ext(c)?.id()); /// static type warning
+ Expect.equals(42, Ext(c)?.id());
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
}
diff --git a/LanguageFeatures/Extension-methods/explicit_extension_member_invocation_A20_t02.dart b/LanguageFeatures/Extension-methods/explicit_extension_member_invocation_A20_t02.dart
index 299cbdc..d97cb2e 100644
--- a/LanguageFeatures/Extension-methods/explicit_extension_member_invocation_A20_t02.dart
+++ b/LanguageFeatures/Extension-methods/explicit_extension_member_invocation_A20_t02.dart
@@ -14,7 +14,6 @@
/// @issue 39325
/// https://github.com/dart-lang/language/issues/677
/// @author sgrekhov@unipro.ru
-/// @static-warning
/// @issue 43217
@@ -29,5 +28,9 @@
main() {
C c = C();
- Expect.equals(42, Ext(c)?.id); /// static type warning
+ Expect.equals(42, Ext(c)?.id);
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
}
diff --git a/LanguageFeatures/Extension-methods/explicit_extension_member_invocation_A20_t03.dart b/LanguageFeatures/Extension-methods/explicit_extension_member_invocation_A20_t03.dart
index c83590f..c070783 100644
--- a/LanguageFeatures/Extension-methods/explicit_extension_member_invocation_A20_t03.dart
+++ b/LanguageFeatures/Extension-methods/explicit_extension_member_invocation_A20_t03.dart
@@ -14,7 +14,6 @@
/// @issue 39325
/// https://github.com/dart-lang/language/issues/677
/// @author sgrekhov@unipro.ru
-/// @static-warning
/// @issue 43217
@@ -32,6 +31,10 @@
main() {
C c = C();
- Ext(c)?.id = 42; /// static type warning
+ Ext(c)?.id = 42;
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
Expect.equals(42, c.v);
}
diff --git a/LanguageFeatures/Extension-methods/explicit_extension_member_invocation_A20_t04.dart b/LanguageFeatures/Extension-methods/explicit_extension_member_invocation_A20_t04.dart
index 6c62156..78757ed 100644
--- a/LanguageFeatures/Extension-methods/explicit_extension_member_invocation_A20_t04.dart
+++ b/LanguageFeatures/Extension-methods/explicit_extension_member_invocation_A20_t04.dart
@@ -14,7 +14,6 @@
/// @issue 39326
/// https://github.com/dart-lang/language/issues/677
/// @author sgrekhov@unipro.ru
-/// @static-warning
/// @issue 43217
@@ -29,5 +28,9 @@
main() {
C c = C();
- Expect.equals(42, Ext(c)?[42]); /// static type warning
+ Expect.equals(42, Ext(c)?[42]);
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
}
diff --git a/LanguageFeatures/Extension-methods/extension_conflict_resolution_t01.dart b/LanguageFeatures/Extension-methods/extension_conflict_resolution_t01.dart
index 999b967..89e92a01 100644
--- a/LanguageFeatures/Extension-methods/extension_conflict_resolution_t01.dart
+++ b/LanguageFeatures/Extension-methods/extension_conflict_resolution_t01.dart
@@ -22,7 +22,6 @@
/// instantiate-to-bounds type of [T2] and not vice versa.
/// @description Check that compile time error is thrown if two extension members
/// are equitable
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -37,4 +36,7 @@
main() {
"123".equals(123);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Extension-methods/extension_conflict_resolution_t02.dart b/LanguageFeatures/Extension-methods/extension_conflict_resolution_t02.dart
index 30e2dd6..7fe245f 100644
--- a/LanguageFeatures/Extension-methods/extension_conflict_resolution_t02.dart
+++ b/LanguageFeatures/Extension-methods/extension_conflict_resolution_t02.dart
@@ -22,7 +22,6 @@
/// instantiate-to-bounds type of [T2] and not vice versa.
/// @description Check that an extension from non-platform library is not more or
/// less specific than one from another non-platform library.
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -36,4 +35,7 @@
main() {
List aList = [];
aList.isLibraryVersion;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Extension-methods/extension_conflict_resolution_t03.dart b/LanguageFeatures/Extension-methods/extension_conflict_resolution_t03.dart
index ebe050c..89eb065 100644
--- a/LanguageFeatures/Extension-methods/extension_conflict_resolution_t03.dart
+++ b/LanguageFeatures/Extension-methods/extension_conflict_resolution_t03.dart
@@ -22,7 +22,6 @@
/// instantiate-to-bounds type of [T2] and not vice versa.
/// @description Check that an extension from non-platform library is not more or
/// less specific than one from another non-platform library.
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -36,4 +35,7 @@
main() {
List<int> aList = [0];
aList.isIntLibraryVersion;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Extension-methods/extension_conflict_resolution_t06.dart b/LanguageFeatures/Extension-methods/extension_conflict_resolution_t06.dart
index 0efec00..cfc9620 100644
--- a/LanguageFeatures/Extension-methods/extension_conflict_resolution_t06.dart
+++ b/LanguageFeatures/Extension-methods/extension_conflict_resolution_t06.dart
@@ -23,7 +23,6 @@
/// @description Check that compile time error is thrown if two extension members
/// with [on] type clause are equitable and a member from the conflicting
/// extensions is referenced.
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -39,5 +38,8 @@
main() {
List aList = [1, 2, 3];
bool res = aList.isTested;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Extension-methods/extension_conflict_resolution_t12.dart b/LanguageFeatures/Extension-methods/extension_conflict_resolution_t12.dart
index e75cd4b..44cd990 100644
--- a/LanguageFeatures/Extension-methods/extension_conflict_resolution_t12.dart
+++ b/LanguageFeatures/Extension-methods/extension_conflict_resolution_t12.dart
@@ -23,7 +23,6 @@
///
/// @description Check that it is a compile error if there is no most specific
/// extension
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -39,4 +38,7 @@
main() {
List<int> x = [3, 1, 4];
x.checkme();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Extension-methods/extension_conflict_resolution_t14.dart b/LanguageFeatures/Extension-methods/extension_conflict_resolution_t14.dart
index 9f4e6c1..d4e6e83 100644
--- a/LanguageFeatures/Extension-methods/extension_conflict_resolution_t14.dart
+++ b/LanguageFeatures/Extension-methods/extension_conflict_resolution_t14.dart
@@ -22,7 +22,6 @@
/// instantiate-to-bounds type of [T2] and not vice versa.
///
/// @description Check "more specific" resolving algorithm
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -42,4 +41,7 @@
main() {
List<B> list = [new B(), new B()];
list.method();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Extension-methods/extension_member_resolution_t03.dart b/LanguageFeatures/Extension-methods/extension_member_resolution_t03.dart
index 472266b..2af4d37 100644
--- a/LanguageFeatures/Extension-methods/extension_member_resolution_t03.dart
+++ b/LanguageFeatures/Extension-methods/extension_member_resolution_t03.dart
@@ -8,7 +8,6 @@
///
/// @description Check that if there is no such member, the operation is
/// currently a compile-time error
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -17,9 +16,15 @@
extension<T> on List<T> {
String method(int i, String s) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
List<String> list = ["Lily", "was", "here"];
list.notExiestinMethod();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Extension-methods/extension_member_resolution_t08.dart b/LanguageFeatures/Extension-methods/extension_member_resolution_t08.dart
index edcd540..9f38b98 100644
--- a/LanguageFeatures/Extension-methods/extension_member_resolution_t08.dart
+++ b/LanguageFeatures/Extension-methods/extension_member_resolution_t08.dart
@@ -18,7 +18,6 @@
/// extension member and it's never mind if the invocation is otherwise correct,
/// based on number or type of the arguments, it only checks whether there is a
/// member at all.
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -29,9 +28,15 @@
extension on C {
String method(int i, String s) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C c = new C();
c.method(42, "-42");
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Extension-methods/extension_member_resolution_t09.dart b/LanguageFeatures/Extension-methods/extension_member_resolution_t09.dart
index bc7b96e..c9f1f4b 100644
--- a/LanguageFeatures/Extension-methods/extension_member_resolution_t09.dart
+++ b/LanguageFeatures/Extension-methods/extension_member_resolution_t09.dart
@@ -18,7 +18,6 @@
/// extension member and it's never mind if the invocation is otherwise correct,
/// based on number or type of the arguments, it only checks whether there is a
/// member at all.
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -31,9 +30,15 @@
extension E<T extends A> on T {
String method(int i, String s) {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
C c = new C();
c.method(42, "-42");
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Extension-methods/generic_parameter_inference_A01_t03.dart b/LanguageFeatures/Extension-methods/generic_parameter_inference_A01_t03.dart
index 0e3431a..2b2cff0 100644
--- a/LanguageFeatures/Extension-methods/generic_parameter_inference_A01_t03.dart
+++ b/LanguageFeatures/Extension-methods/generic_parameter_inference_A01_t03.dart
@@ -8,7 +8,6 @@
/// mentioned above, the inference is similar to other cases of chained inference.
/// @description Check that compile error is thrown if parameter type is
/// statically incorrect.
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -28,4 +27,7 @@
main() {
toTest.foldRight(0, count);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Extension-methods/generic_parameter_inference_A01_t04.dart b/LanguageFeatures/Extension-methods/generic_parameter_inference_A01_t04.dart
index 58ae452..1bbbfbf 100644
--- a/LanguageFeatures/Extension-methods/generic_parameter_inference_A01_t04.dart
+++ b/LanguageFeatures/Extension-methods/generic_parameter_inference_A01_t04.dart
@@ -8,12 +8,14 @@
/// mentioned above, the inference is similar to other cases of chained inference.
/// @description Check that compile error is thrown if extension type variable is
/// higher order.
-/// @compile-error
/// @author iarkh@unipro.ru
extension IncorrectExtension<T1, T2> on T1<T2> {
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
void testme() {}
}
diff --git a/LanguageFeatures/Extension-methods/generic_parameter_inference_A02_t01.dart b/LanguageFeatures/Extension-methods/generic_parameter_inference_A02_t01.dart
index fff8e31..f976dad 100644
--- a/LanguageFeatures/Extension-methods/generic_parameter_inference_A02_t01.dart
+++ b/LanguageFeatures/Extension-methods/generic_parameter_inference_A02_t01.dart
@@ -23,7 +23,6 @@
/// implicit downcasts).
/// @description Check that compile time error is thrown when method type
/// parameter is incorrect.
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -35,4 +34,7 @@
main() {
String s = "12345";
bool b = s.equals(12);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Extension-methods/static_member_t03.dart b/LanguageFeatures/Extension-methods/static_member_t03.dart
index 7634b4c..41bb7f5 100644
--- a/LanguageFeatures/Extension-methods/static_member_t03.dart
+++ b/LanguageFeatures/Extension-methods/static_member_t03.dart
@@ -7,7 +7,6 @@
/// prefixing with the extension's name.
/// @description Check that non-static member can not be accessed by prefixing
/// with the extension's name
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -18,4 +17,7 @@
main() {
MySmart.getId();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Extension-methods/static_member_t04.dart b/LanguageFeatures/Extension-methods/static_member_t04.dart
index 9da578e..57c6512 100644
--- a/LanguageFeatures/Extension-methods/static_member_t04.dart
+++ b/LanguageFeatures/Extension-methods/static_member_t04.dart
@@ -7,7 +7,6 @@
/// prefixing with the extension's name.
/// @description Check that non-static member can not be accessed by prefixing
/// with the extension's name
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -18,4 +17,7 @@
main() {
MySmart.doNothing();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Extension-methods/static_member_t05.dart b/LanguageFeatures/Extension-methods/static_member_t05.dart
index 5545fd2..6e26b54 100644
--- a/LanguageFeatures/Extension-methods/static_member_t05.dart
+++ b/LanguageFeatures/Extension-methods/static_member_t05.dart
@@ -8,7 +8,6 @@
/// @description Check that static member of an extension cannot be accessed
/// through an extension override
/// (see https://github.com/dart-lang/language/issues/481 for more details)
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -19,4 +18,7 @@
main() {
MySmart("12345").smartHelper();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Extension-methods/syntax_name_t01.dart b/LanguageFeatures/Extension-methods/syntax_name_t01.dart
index 9d6b017..c58ac78 100644
--- a/LanguageFeatures/Extension-methods/syntax_name_t01.dart
+++ b/LanguageFeatures/Extension-methods/syntax_name_t01.dart
@@ -14,7 +14,6 @@
/// or export declarations.
///
/// @description Check that the name does not denote a type
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -28,4 +27,7 @@
main() {
MyFancyList<String> list = ["Lily", "was", "here"];
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Extension-methods/syntax_name_t02.dart b/LanguageFeatures/Extension-methods/syntax_name_t02.dart
index 8d6b923..836295f 100644
--- a/LanguageFeatures/Extension-methods/syntax_name_t02.dart
+++ b/LanguageFeatures/Extension-methods/syntax_name_t02.dart
@@ -14,7 +14,6 @@
/// or export declarations.
///
/// @description Check that the name does not denote a type
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -23,4 +22,7 @@
main() {
MyFancyList<String> list = ["Lily", "was", "here"];
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Extension-methods/syntax_name_t03.dart b/LanguageFeatures/Extension-methods/syntax_name_t03.dart
index b424554..5ea6b77 100644
--- a/LanguageFeatures/Extension-methods/syntax_name_t03.dart
+++ b/LanguageFeatures/Extension-methods/syntax_name_t03.dart
@@ -15,7 +15,6 @@
///
/// @description Check that the name can be hidden or shown in import or export
/// declarations.
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -25,4 +24,7 @@
main() {
List<String> list = ["Lily", "was", "here"];
list.doubleLength;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Extension-methods/syntax_scope_t02.dart b/LanguageFeatures/Extension-methods/syntax_scope_t02.dart
index 6d1a413..953a2f1 100644
--- a/LanguageFeatures/Extension-methods/syntax_scope_t02.dart
+++ b/LanguageFeatures/Extension-methods/syntax_scope_t02.dart
@@ -19,7 +19,6 @@
///
/// @description Check that the member declarations can be any non-abstract
/// static or instance member
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -27,4 +26,7 @@
main() {
List.pClassName;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Extension-methods/syntax_scope_t04.dart b/LanguageFeatures/Extension-methods/syntax_scope_t04.dart
index 844055c..f6e88da 100644
--- a/LanguageFeatures/Extension-methods/syntax_scope_t04.dart
+++ b/LanguageFeatures/Extension-methods/syntax_scope_t04.dart
@@ -19,7 +19,6 @@
///
/// @description Check that It is a compile-time error to export two
/// declarations, including extensions, with the same name
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -27,6 +26,9 @@
export "my_fancy_list_lib.dart";
import "my_fancy_list_lib2.dart";
export "my_fancy_list_lib2.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
List<String> list = ["Lily", "was", "here"];
diff --git a/LanguageFeatures/Set-literals/type_inference_A07_t01.dart b/LanguageFeatures/Set-literals/type_inference_A07_t01.dart
index 51d9b41..4e8c467 100644
--- a/LanguageFeatures/Set-literals/type_inference_A07_t01.dart
+++ b/LanguageFeatures/Set-literals/type_inference_A07_t01.dart
@@ -17,13 +17,16 @@
/// then the inferred set element type of element is T where T is the type such
/// that Iterable<T> is a superinterface of S
/// @author sgrekhov@unipro.ru
-/// @static-warning
import "../../Utils/expect.dart";
void test1<T extends Iterable<num>>(T t) {
var s1 = {...t};
var s2 = {...?t};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'T' which excludes null.
Expect.isTrue(s1 is Set<num>);
Expect.isFalse(s1 is Set<int>);
Expect.isTrue(s2 is Set<num>);
@@ -33,6 +36,10 @@
void test2<T extends Iterable<Object>>(T t) {
var s1 = {...t};
var s2 = {...?t};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'T' which excludes null.
Expect.isTrue(s1 is Set<Object>);
Expect.isFalse(s1 is Set<num>);
Expect.isTrue(s2 is Set<Object>);
diff --git a/LanguageFeatures/Set-literals/type_inference_A08_t01.dart b/LanguageFeatures/Set-literals/type_inference_A08_t01.dart
index f29bf25..6225f83 100644
--- a/LanguageFeatures/Set-literals/type_inference_A08_t01.dart
+++ b/LanguageFeatures/Set-literals/type_inference_A08_t01.dart
@@ -18,13 +18,16 @@
/// element is V, where K and V are the types such that Map<K, V> is a
/// superinterface of S
/// @author sgrekhov@unipro.ru
-/// @static-warning
import "../../Utils/expect.dart";
void test1<T extends Map<num, String>>(T t) {
var m1 = {...t};
var m2 = {...?t};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'T' which excludes null.
Expect.isTrue(m1 is Map<num, String>);
Expect.isTrue(m2 is Map<num, String>);
Expect.isFalse(m1 is Map<int, String>);
@@ -34,6 +37,10 @@
void test2<T extends Map<Object, Object>>(T t) {
var m1 = {...t};
var m2 = {...?t};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'T' which excludes null.
Expect.isTrue(m1 is Map<Object, Object>);
Expect.isTrue(m2 is Map<Object, Object>);
Expect.isFalse(m1 is Map<int, String>);
diff --git a/LanguageFeatures/Set-literals/type_inference_A11_t02.dart b/LanguageFeatures/Set-literals/type_inference_A11_t02.dart
index 423b895..ed1f736 100644
--- a/LanguageFeatures/Set-literals/type_inference_A11_t02.dart
+++ b/LanguageFeatures/Set-literals/type_inference_A11_t02.dart
@@ -13,7 +13,6 @@
/// @description Checks that it is a compile error if none of the cases
/// (`Iterable<Object>` nor of `Map<Object, Object>`, and it's also not `dynamic`
/// nor `Null`) match
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -21,6 +20,9 @@
void test<T>(T t) {
foo({...?t});
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/LanguageFeatures/Set-literals/type_inference_A11_t03.dart b/LanguageFeatures/Set-literals/type_inference_A11_t03.dart
index fe43ee7..7abb0f4 100644
--- a/LanguageFeatures/Set-literals/type_inference_A11_t03.dart
+++ b/LanguageFeatures/Set-literals/type_inference_A11_t03.dart
@@ -13,7 +13,6 @@
/// @description Checks that it is a compile error if none of the cases
/// (`Iterable<Object>` nor of `Map<Object, Object>`, and it's also not `dynamic`
/// nor `Null`) match
-/// @compile-error
/// @author sgrekhov@unipro.ru
@@ -21,6 +20,9 @@
void test<T>(T t) {
foo({...?t});
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/LanguageFeatures/Spread-collections/Ambiguity_A01_t05.dart b/LanguageFeatures/Spread-collections/Ambiguity_A01_t05.dart
index 326ff7b..894314c 100644
--- a/LanguageFeatures/Spread-collections/Ambiguity_A01_t05.dart
+++ b/LanguageFeatures/Spread-collections/Ambiguity_A01_t05.dart
@@ -16,7 +16,6 @@
/// In other words, if it can only be a set, it is. Otherwise, it's a map.
/// @description Checks that if [a] is a map literal and [b] is a set literal,
/// it's a compile error.
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -25,4 +24,7 @@
Map map = {1: 1, "test": 1, 14: null};
var res = {...map, ...list};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/Ambiguity_A02_t02.dart b/LanguageFeatures/Spread-collections/Ambiguity_A02_t02.dart
index 1b00d44..d3f816f 100644
--- a/LanguageFeatures/Spread-collections/Ambiguity_A02_t02.dart
+++ b/LanguageFeatures/Spread-collections/Ambiguity_A02_t02.dart
@@ -8,10 +8,12 @@
/// Those have to default to map for backwards compatibility.
/// @description Checks that actual type of {} is correct according on the
/// set/map inference rules.
-/// @compile-error
/// @author iarkh@unipro.ru
main() {
List res3 = {};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/Ambiguity_A02_t05.dart b/LanguageFeatures/Spread-collections/Ambiguity_A02_t05.dart
index e1ab91b..25433bc 100644
--- a/LanguageFeatures/Spread-collections/Ambiguity_A02_t05.dart
+++ b/LanguageFeatures/Spread-collections/Ambiguity_A02_t05.dart
@@ -5,10 +5,12 @@
/// @assertion In cases where the context type is not specific enough to
/// disambiguate, we could make it an error instead of defaulting to map.
/// @description Checks that {...?null} collection type is detected correctly
-/// @compile-error
/// @author iarkh@unipro.ru
main() {
dynamic res = {...?null};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/Ambiguity_A03_t04.dart b/LanguageFeatures/Spread-collections/Ambiguity_A03_t04.dart
index 4c6ec4a..e169450 100644
--- a/LanguageFeatures/Spread-collections/Ambiguity_A03_t04.dart
+++ b/LanguageFeatures/Spread-collections/Ambiguity_A03_t04.dart
@@ -14,11 +14,13 @@
/// static type [Set<T>].
///
/// @description Checks that [setOrMapLiteral] has one type argument, it's a set.
-/// @compile-error
/// @author iarkh@unipro.ru
main() {
Map? aMap = {1: 1, 2: 2, 3: 3};
var res = <int>{...?aMap};
+// ^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/Ambiguity_A06_t01.dart b/LanguageFeatures/Spread-collections/Ambiguity_A06_t01.dart
index d9e8f31..ffea7fd 100644
--- a/LanguageFeatures/Spread-collections/Ambiguity_A06_t01.dart
+++ b/LanguageFeatures/Spread-collections/Ambiguity_A06_t01.dart
@@ -8,7 +8,6 @@
/// an error.
/// @description Checks that there cannot be bare element and key-value pair in
/// the same collection.
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -17,4 +16,7 @@
main() {
Map aMap = {1: 2};
var res = {8, ...aMap};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/Ambiguity_A06_t03.dart b/LanguageFeatures/Spread-collections/Ambiguity_A06_t03.dart
index b48e1d1..9289432 100644
--- a/LanguageFeatures/Spread-collections/Ambiguity_A06_t03.dart
+++ b/LanguageFeatures/Spread-collections/Ambiguity_A06_t03.dart
@@ -8,11 +8,13 @@
/// an error.
/// @description Checks that there cannot be bare element and key-value pair in
/// the same collection.
-/// @compile-error
/// @author iarkh@unipro.ru
main() {
List aList = [8, 9, 10];
var res = {1: 2, ...aList};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/Ambiguity_A06_t06.dart b/LanguageFeatures/Spread-collections/Ambiguity_A06_t06.dart
index 0fdd408..e55ed9b 100644
--- a/LanguageFeatures/Spread-collections/Ambiguity_A06_t06.dart
+++ b/LanguageFeatures/Spread-collections/Ambiguity_A06_t06.dart
@@ -8,7 +8,6 @@
/// an error.
/// @description Checks that there cannot be bare element and key-value pair in
/// the same collection.
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -16,4 +15,7 @@
List aList = [8, 9, 10];
Map aMap = {1: 2};
var res = {...aMap, ...aList};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/Ambiguity_A06_t07.dart b/LanguageFeatures/Spread-collections/Ambiguity_A06_t07.dart
index be3b2f1..3d5a5d7 100644
--- a/LanguageFeatures/Spread-collections/Ambiguity_A06_t07.dart
+++ b/LanguageFeatures/Spread-collections/Ambiguity_A06_t07.dart
@@ -8,11 +8,12 @@
/// an error.
/// @description Checks that there cannot be bare element and key-value pair in
/// the same collection.
-/// @compile-error
/// @author iarkh@unipro.ru
-
main() {
Map? aMap = {1: 2};
var res = {8, ...?aMap};
+// ^^^^^^^^^^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/Ambiguity_A06_t08.dart b/LanguageFeatures/Spread-collections/Ambiguity_A06_t08.dart
index a692825..8bb270c 100644
--- a/LanguageFeatures/Spread-collections/Ambiguity_A06_t08.dart
+++ b/LanguageFeatures/Spread-collections/Ambiguity_A06_t08.dart
@@ -8,11 +8,13 @@
/// an error.
/// @description Checks that there cannot be bare element and key-value pair in
/// the same collection.
-/// @compile-error
/// @author iarkh@unipro.ru
main() {
Map? aMap = {1: 2};
var res = {4, 5, 6, ...?aMap, 14};
+// ^^^^^^^^^^^^^^^^^^^^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/Ambiguity_A06_t11.dart b/LanguageFeatures/Spread-collections/Ambiguity_A06_t11.dart
index b2450a9..c6142c8 100644
--- a/LanguageFeatures/Spread-collections/Ambiguity_A06_t11.dart
+++ b/LanguageFeatures/Spread-collections/Ambiguity_A06_t11.dart
@@ -8,7 +8,6 @@
/// an error.
/// @description Checks that there cannot be bare element and key-value pair in
/// the same collection.
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -16,4 +15,7 @@
List? aList = [8, 9, 10];
Map? aMap = {1: 2};
var res = {...?aList, ...?aMap};
+// ^^^^^^^^^^^^^^^^^^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/Ambiguity_A06_t12.dart b/LanguageFeatures/Spread-collections/Ambiguity_A06_t12.dart
index 9871393..81e98d4 100644
--- a/LanguageFeatures/Spread-collections/Ambiguity_A06_t12.dart
+++ b/LanguageFeatures/Spread-collections/Ambiguity_A06_t12.dart
@@ -8,7 +8,6 @@
/// an error.
/// @description Checks that there cannot be bare element and key-value pair in
/// the same collection.
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -16,4 +15,7 @@
List? aList = [8, 9, 10];
Map? aMap = {1: 2};
var res = {...?aMap, ...?aList};
+// ^^^^^^^^^^^^^^^^^^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/ConstSpreads_A01_t01.dart b/LanguageFeatures/Spread-collections/ConstSpreads_A01_t01.dart
index 1ff45d0..e000270 100644
--- a/LanguageFeatures/Spread-collections/ConstSpreads_A01_t01.dart
+++ b/LanguageFeatures/Spread-collections/ConstSpreads_A01_t01.dart
@@ -6,10 +6,8 @@
/// time to the series of elements contained in the spread object list.
/// @description Checks that a spread list element expands at compile time to the
/// series of elements contained in the spread object list.
-/// @static-warning
/// @author iarkh@unipro.ru
-
import "../../Utils/expect.dart";
main() {
@@ -21,16 +19,28 @@
const res1 = [...list1];
Expect.listEquals(list1, res1);
const res2 = [...?list1];
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<dynamic>' which excludes null.
Expect.listEquals(list1, res2);
const res3 = [...list2];
Expect.listEquals(list2, res3);
const res4 = [...?list2];
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<dynamic>' which excludes null.
Expect.listEquals(list2, res4);
const res5 = [...list3];
Expect.listEquals(list3, res5);
const res6 = [...?list3];
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<dynamic>' which excludes null.
Expect.listEquals(list3, res6);
const res7 = [...?list4];
diff --git a/LanguageFeatures/Spread-collections/ConstSpreads_A01_t02.dart b/LanguageFeatures/Spread-collections/ConstSpreads_A01_t02.dart
index a11b2e9..4b90d2c 100644
--- a/LanguageFeatures/Spread-collections/ConstSpreads_A01_t02.dart
+++ b/LanguageFeatures/Spread-collections/ConstSpreads_A01_t02.dart
@@ -6,7 +6,6 @@
/// time to the series of elements contained in the spread object list.
/// @description Checks that a spread set element expands at compile time to the
/// series of elements contained in the spread object list.
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -21,16 +20,28 @@
const res1 = {...list1};
Expect.setEquals((list1 as List).toSet(), res1);
const res2 = {...?list1};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<dynamic>' which excludes null.
Expect.setEquals((list1 as List).toSet(), res2);
const res3 = {...list2};
Expect.setEquals((list2 as List).toSet(), res3);
const res4 = {...?list2};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<dynamic>' which excludes null.
Expect.setEquals((list2 as List).toSet(), res4);
const res5 = {...list3};
Expect.setEquals((list3 as List).toSet(), res5);
const res6 = {...?list3};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<dynamic>' which excludes null.
Expect.setEquals((list3 as List).toSet(), res6);
const res7 = {...?list4};
diff --git a/LanguageFeatures/Spread-collections/ConstSpreads_A02_t01.dart b/LanguageFeatures/Spread-collections/ConstSpreads_A02_t01.dart
index cd7e6c1..87eff8e 100644
--- a/LanguageFeatures/Spread-collections/ConstSpreads_A02_t01.dart
+++ b/LanguageFeatures/Spread-collections/ConstSpreads_A02_t01.dart
@@ -4,7 +4,6 @@
/// @assertion In a constant map, a spread element expands to the series of
/// entries contained in the spread object map.
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -19,16 +18,28 @@
const Map res1 = {...map1};
Expect.mapEquals(map1, res1);
const Map res2 = <int, int>{...?map1};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
Expect.mapEquals(map1, res2);
const Map res3 = <int, String>{...map2};
Expect.mapEquals(map2, res3);
const Map res4 = {...?map2};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
Expect.mapEquals(map2, res4);
const Map res5 = {...map3};
Expect.mapEquals(map3, res5);
const Map res6 = {...?map3};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
Expect.mapEquals(map3, res6);
const Map res7 = {...?map4};
diff --git a/LanguageFeatures/Spread-collections/ConstSpreads_A06_t01.dart b/LanguageFeatures/Spread-collections/ConstSpreads_A06_t01.dart
index 4bcb308..b974d2a 100644
--- a/LanguageFeatures/Spread-collections/ConstSpreads_A06_t01.dart
+++ b/LanguageFeatures/Spread-collections/ConstSpreads_A06_t01.dart
@@ -5,7 +5,6 @@
/// @assertion This enables in-place literals (which aren't very useful):
/// const list = [...["why"]];
/// @description Checks that in-place literals are enabled for lists
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -15,20 +14,36 @@
const res1 = [...["why"]];
Expect.listEquals(["why"], res1);
const res2 = [...?["not"]];
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<String>' which excludes null.
Expect.listEquals(["not"], res2);
const res3 = [...{"why"}];
Expect.listEquals(["why"], res3);
const res4 = [...?{"not"}];
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Set<String>' which excludes null.
Expect.listEquals(["not"], res4);
const List aList = const [1, 2, 3];
const res5 = [1, 2, ...[1, 2, 3], 4, 15, 1, ...[null], ...{12345}, aList];
Expect.listEquals([1, 2, 1, 2, 3, 4, 15, 1, null, 12345, aList], res5);
const res6 = [1, 2, 3, ...[4, 5, 6], ...?[7, 8, 9], aList];
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<int>' which excludes null.
Expect.listEquals([1, 2, 3, 4, 5, 6, 7, 8, 9, aList], res6);
const Set aSet = {1, 2, 3};
const res7 = [1, 2, 3, ...[4, 5, 6], ...?{7, 8, 9}, aSet];
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Set<int>' which excludes null.
Expect.listEquals([1, 2, 3, 4, 5, 6, 7, 8, 9, aSet], res7);
}
diff --git a/LanguageFeatures/Spread-collections/ConstSpreads_A06_t02.dart b/LanguageFeatures/Spread-collections/ConstSpreads_A06_t02.dart
index fca53bd..28397e6 100644
--- a/LanguageFeatures/Spread-collections/ConstSpreads_A06_t02.dart
+++ b/LanguageFeatures/Spread-collections/ConstSpreads_A06_t02.dart
@@ -6,21 +6,27 @@
///
/// const list = [...["why"]];
/// @description Checks that in-place literals are enabled for sets
-/// @static-warning
/// @author iarkh@unipro.ru
-
import "../../Utils/expect.dart";
main() {
const res1 = {...["why"]};
Expect.setEquals({"why"}, res1);
const res2 = {...?["not"]};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<String>' which excludes null.
Expect.setEquals({"not"}, res2);
const res3 = {...{"why"}};
Expect.setEquals({"why"}, res3);
const res4 = {...?{"not"}};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Set<String>' which excludes null.
Expect.setEquals({"not"}, res4);
const aList = [1, 2, 3];
@@ -29,9 +35,17 @@
Expect.setEquals({2, 1, 3, 4, 15, null, 12345, aList}, res5);
const res6 = {1, 2, 3, ...[4, 5, 6], ...?[7, 8, 9], aList};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<int>' which excludes null.
Expect.setEquals({1, 2, 3, 4, 5, 6, 7, 8, 9, aList}, res6);
const aSet = {1, 2, 3};
const res7 = {1, 2, 3, ...[4, 5, 6], ...?{7, 8, 9}, aSet};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Set<int>' which excludes null.
Expect.setEquals({1, 2, 3, 4, 5, 6, 7, 8, 9, aSet}, res7);
}
diff --git a/LanguageFeatures/Spread-collections/ConstSpreads_A07_t01.dart b/LanguageFeatures/Spread-collections/ConstSpreads_A07_t01.dart
index 7c4a707..6df22e6 100644
--- a/LanguageFeatures/Spread-collections/ConstSpreads_A07_t01.dart
+++ b/LanguageFeatures/Spread-collections/ConstSpreads_A07_t01.dart
@@ -8,10 +8,8 @@
/// const another = [1, ...list, 4]; // [1, 2, 3, 4].
/// @description: Checks that spread element in the list can refer to constant
/// collections defined elsewhere
-/// @static-warning
/// @author iarkh@unipro.ru
-
import "../../Utils/expect.dart";
const List list = [2, 3];
@@ -22,6 +20,10 @@
const res1 = [1, ...list, 4];
Expect.listEquals([1, 2, 3, 4], res1);
const res2 = [1, ...?list, 4];
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<dynamic>' which excludes null.
Expect.listEquals([1, 2, 3, 4], res2);
const res3 = [1, ...?list1, 4];
Expect.listEquals([1, 4], res3);
@@ -29,5 +31,9 @@
const res4 = [1, ...set, 4];
Expect.listEquals([1, 2, 3, 4], res4);
const res5 = [1, ...?set, 4];
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Set<dynamic>' which excludes null.
Expect.listEquals([1, 2, 3, 4], res5);
}
diff --git a/LanguageFeatures/Spread-collections/ConstSpreads_A07_t02.dart b/LanguageFeatures/Spread-collections/ConstSpreads_A07_t02.dart
index c5e106d..9cfe8f1 100644
--- a/LanguageFeatures/Spread-collections/ConstSpreads_A07_t02.dart
+++ b/LanguageFeatures/Spread-collections/ConstSpreads_A07_t02.dart
@@ -9,7 +9,6 @@
/// const another = [1, ...list, 4]; // [1, 2, 3, 4].
/// @description: Checks that spread element in the set can refer to constant
/// collections defined elsewhere
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -23,6 +22,10 @@
const res1 = {1, ...list, 4};
Expect.setEquals({1, 2, 3, 4}, res1);
const res2 = {1, ...?list, 4};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<dynamic>' which excludes null.
Expect.setEquals({1, 2, 3, 4}, res2);
const res3 = {1, ...?list1, 4};
Expect.setEquals({1, 4}, res3);
@@ -30,5 +33,9 @@
const res4 = {1, ...set, 4};
Expect.setEquals({1, 2, 3, 4}, res4);
const res5 = {1, ...?set, 4};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Set<dynamic>' which excludes null.
Expect.setEquals({1, 2, 3, 4}, res5);
}
diff --git a/LanguageFeatures/Spread-collections/ConstSpreads_A07_t03.dart b/LanguageFeatures/Spread-collections/ConstSpreads_A07_t03.dart
index 060171e..77bddee 100644
--- a/LanguageFeatures/Spread-collections/ConstSpreads_A07_t03.dart
+++ b/LanguageFeatures/Spread-collections/ConstSpreads_A07_t03.dart
@@ -9,10 +9,8 @@
/// const another = [1, ...list, 4]; // [1, 2, 3, 4].
/// @description: Checks that spread element in the map can refer to constant
/// collections defined elsewhere
-/// @static-warning
/// @author iarkh@unipro.ru
-
import "../../Utils/expect.dart";
const Map map = {2: 20, 3: 30};
@@ -23,6 +21,10 @@
Expect.mapEquals({1: 10, 2: 20, 3: 30, 4: 40}, res1);
const res2 = {1: 10, ...?map, 4: 40};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
Expect.mapEquals({1: 10, 2: 20, 3: 30, 4: 40}, res2);
const res3 = {1: 10, ...?map1, 4: 40};
diff --git a/LanguageFeatures/Spread-collections/ConstSpreads_A08_t01.dart b/LanguageFeatures/Spread-collections/ConstSpreads_A08_t01.dart
index 4a464bf..1986e46 100644
--- a/LanguageFeatures/Spread-collections/ConstSpreads_A08_t01.dart
+++ b/LanguageFeatures/Spread-collections/ConstSpreads_A08_t01.dart
@@ -6,10 +6,12 @@
/// from spreading into itself:
/// const list = [...list]; // Error.
/// @description: Checks that constant list cannot spread itself
-/// @compile-error
/// @author iarkh@unipro.ru
main() {
const list = [...list];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/ConstSpreads_A08_t02.dart b/LanguageFeatures/Spread-collections/ConstSpreads_A08_t02.dart
index aa87309..1644066 100644
--- a/LanguageFeatures/Spread-collections/ConstSpreads_A08_t02.dart
+++ b/LanguageFeatures/Spread-collections/ConstSpreads_A08_t02.dart
@@ -6,10 +6,12 @@
/// from spreading into itself:
/// const list = [...list]; // Error.
/// @description: Checks that constant list cannot spread itself
-/// @compile-error
/// @author iarkh@unipro.ru
main() {
const list = [...?list];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/ConstSpreads_A08_t03.dart b/LanguageFeatures/Spread-collections/ConstSpreads_A08_t03.dart
index 02a96dc..8e77abf 100644
--- a/LanguageFeatures/Spread-collections/ConstSpreads_A08_t03.dart
+++ b/LanguageFeatures/Spread-collections/ConstSpreads_A08_t03.dart
@@ -6,10 +6,12 @@
/// from spreading into itself:
/// const list = [...list]; // Error.
/// @description: Checks that constant set cannot spread itself
-/// @compile-error
/// @author iarkh@unipro.ru
main() {
const Set set = {...set};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/ConstSpreads_A08_t05.dart b/LanguageFeatures/Spread-collections/ConstSpreads_A08_t05.dart
index 2a8ed36..253e7a5 100644
--- a/LanguageFeatures/Spread-collections/ConstSpreads_A08_t05.dart
+++ b/LanguageFeatures/Spread-collections/ConstSpreads_A08_t05.dart
@@ -6,10 +6,12 @@
/// from spreading into itself:
/// const list = [...list]; // Error.
/// @description: Checks that constant set cannot spread itself
-/// @compile-error
/// @author iarkh@unipro.ru
main() {
const Map map = {...map};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/ConstSpreads_A09_t04.dart b/LanguageFeatures/Spread-collections/ConstSpreads_A09_t04.dart
index 3cf8b9d..e6d916d 100644
--- a/LanguageFeatures/Spread-collections/ConstSpreads_A09_t04.dart
+++ b/LanguageFeatures/Spread-collections/ConstSpreads_A09_t04.dart
@@ -9,7 +9,6 @@
/// constant element if the expression is a potentially constant expression.
/// @description: Checks that compile error is thrown if constant list spread
/// element is not potentially constant list or set.
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -20,4 +19,7 @@
main() {
const List aList = [...(MyClass(12345) is MyClass ? [12] : [])];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/ConstSpreads_A09_t11.dart b/LanguageFeatures/Spread-collections/ConstSpreads_A09_t11.dart
index cd5ab9e..864f21a 100644
--- a/LanguageFeatures/Spread-collections/ConstSpreads_A09_t11.dart
+++ b/LanguageFeatures/Spread-collections/ConstSpreads_A09_t11.dart
@@ -22,8 +22,6 @@
class MyClass {
final String a;
const MyClass(Object o) : a = o as String;
-// ^
-// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/ConstSpreads_A09_t12.dart b/LanguageFeatures/Spread-collections/ConstSpreads_A09_t12.dart
index 8b85714..ef0ec33 100644
--- a/LanguageFeatures/Spread-collections/ConstSpreads_A09_t12.dart
+++ b/LanguageFeatures/Spread-collections/ConstSpreads_A09_t12.dart
@@ -9,7 +9,6 @@
/// constant element if the expression is a potentially constant expression.
/// @description: Checks that compile time error is thrown if constant set spread
/// element is not a potentially constant list or set.
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -19,4 +18,7 @@
main() {
const Set aSet = {...(A() is A ? 123 : [])};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/ConstSpreads_A09_t18.dart b/LanguageFeatures/Spread-collections/ConstSpreads_A09_t18.dart
index b0396e6..04e5d54 100644
--- a/LanguageFeatures/Spread-collections/ConstSpreads_A09_t18.dart
+++ b/LanguageFeatures/Spread-collections/ConstSpreads_A09_t18.dart
@@ -14,8 +14,6 @@
class MyClass {
final String a;
const MyClass(Object o) : a = o as String;
-// ^
-// [cfe] unspecified
}
main() {
diff --git a/LanguageFeatures/Spread-collections/ConstSpreads_A09_t19.dart b/LanguageFeatures/Spread-collections/ConstSpreads_A09_t19.dart
index e34fb71..f324636 100644
--- a/LanguageFeatures/Spread-collections/ConstSpreads_A09_t19.dart
+++ b/LanguageFeatures/Spread-collections/ConstSpreads_A09_t19.dart
@@ -9,7 +9,6 @@
/// constant element if the expression is a potentially constant expression.
/// @description: Checks that constant map spread element can be potentially
/// constant map.
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -19,4 +18,7 @@
main() {
const Map m = {...(MyClass() is MyClass ? 12345 : {2: 2})};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/ConstSpreads_A10_t06.dart b/LanguageFeatures/Spread-collections/ConstSpreads_A10_t06.dart
index ec32532..840de93 100644
--- a/LanguageFeatures/Spread-collections/ConstSpreads_A10_t06.dart
+++ b/LanguageFeatures/Spread-collections/ConstSpreads_A10_t06.dart
@@ -10,10 +10,12 @@
/// expression.
/// @description: Checks that constant list [...?] spread element can be constant
/// list or set or [null].
-/// @compile-error
/// @author iarkh@unipro.ru
main() {
const List res = const [...?({1: 2, 3: 4} as Map?)];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/ConstSpreads_A10_t07.dart b/LanguageFeatures/Spread-collections/ConstSpreads_A10_t07.dart
index 725e1a5..235417c 100644
--- a/LanguageFeatures/Spread-collections/ConstSpreads_A10_t07.dart
+++ b/LanguageFeatures/Spread-collections/ConstSpreads_A10_t07.dart
@@ -10,10 +10,12 @@
/// expression.
/// @description: Checks that constant list [...?] spread element can be constant
/// list or set or [null].
-/// @compile-error
/// @author iarkh@unipro.ru
main() {
const List res1 = const [...?44];
+// ^^^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/ConstSpreads_A10_t12.dart b/LanguageFeatures/Spread-collections/ConstSpreads_A10_t12.dart
index 8ce8070..089341b 100644
--- a/LanguageFeatures/Spread-collections/ConstSpreads_A10_t12.dart
+++ b/LanguageFeatures/Spread-collections/ConstSpreads_A10_t12.dart
@@ -10,7 +10,6 @@
/// expression.
/// @description: Checks that constant set spread [...?] element can be constant
/// list or set or [null].
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -18,10 +17,22 @@
main() {
const Set res1 = const {...?[1, 2, 3], 4};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<dynamic>' which excludes null.
const Set res2 = const {...?([1, 2, 3] as List?), 4};
const Set res3 = const {5, ...?{2, 11}};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Set<dynamic>' which excludes null.
const Set res4 = const {5, ...?({2, 11} as Set?)};
const Set res5 = const {...?{}};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Set<dynamic>' which excludes null.
const Set res7 = const {...?null};
const Set res8 = const {...?empty};
}
diff --git a/LanguageFeatures/Spread-collections/ConstSpreads_A10_t18.dart b/LanguageFeatures/Spread-collections/ConstSpreads_A10_t18.dart
index 21082c5..7a3daa6 100644
--- a/LanguageFeatures/Spread-collections/ConstSpreads_A10_t18.dart
+++ b/LanguageFeatures/Spread-collections/ConstSpreads_A10_t18.dart
@@ -10,7 +10,6 @@
/// expression.
/// @description: Checks that constant map spread [...?] element can only be a
/// constant map or null.
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -18,5 +17,9 @@
const Map res1 = const {...?({1: 1, 2: 2} as Map?), 4: 3};
const Map res2 = const {...?(<Object, Object>{} as Map?)};
const Map res3 = const {...?{}};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
const Map res4 = const {...?null};
}
diff --git a/LanguageFeatures/Spread-collections/DynamicSemantics_List_A01_t01.dart b/LanguageFeatures/Spread-collections/DynamicSemantics_List_A01_t01.dart
index 28df1a5..3a1a803 100644
--- a/LanguageFeatures/Spread-collections/DynamicSemantics_List_A01_t01.dart
+++ b/LanguageFeatures/Spread-collections/DynamicSemantics_List_A01_t01.dart
@@ -8,7 +8,6 @@
/// ...
/// 3. The result of the literal expression is [list].
/// @description Checks that instance of [List<E>] is created for a list literal
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -23,6 +22,10 @@
Expect.isTrue(<int>[...list1] is List<int>);
Expect.isTrue(<int>[1, 2, ...list1] is List<int>);
Expect.isTrue(<int>[1, ...?list1, 14, 9] is List<int>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<dynamic>' which excludes null.
Expect.isTrue(<String>[...list2, "123"] is List<String>);
Expect.isTrue(<String>[...?list3] is List<String>);
Expect.isTrue(<int>[...?list3] is List<int>);
diff --git a/LanguageFeatures/Spread-collections/DynamicSemantics_List_A02_t01.dart b/LanguageFeatures/Spread-collections/DynamicSemantics_List_A02_t01.dart
index 4a61f0c..08b207e 100644
--- a/LanguageFeatures/Spread-collections/DynamicSemantics_List_A02_t01.dart
+++ b/LanguageFeatures/Spread-collections/DynamicSemantics_List_A02_t01.dart
@@ -18,7 +18,6 @@
///
/// @description Checks that if element is null-aware and it's [null], nothing
/// added to the result list.
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -34,6 +33,10 @@
Expect.listEquals([1, 2, 4], [1, 2, ...?list3, 4]);
Expect.listEquals([1, 1, 2, 3, "checkme", 1, 2, 3, 4, 5],
[1, ...?list4, ...?list3, ...list1]);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<dynamic>' which excludes null.
Expect.listEquals([], [...?list3, ...?list3, ...?list3]);
Expect.listEquals([], [...list2, ...?list3]);
}
diff --git a/LanguageFeatures/Spread-collections/DynamicSemantics_List_A02_t04.dart b/LanguageFeatures/Spread-collections/DynamicSemantics_List_A02_t04.dart
index ade4770..88e1fe1 100644
--- a/LanguageFeatures/Spread-collections/DynamicSemantics_List_A02_t04.dart
+++ b/LanguageFeatures/Spread-collections/DynamicSemantics_List_A02_t04.dart
@@ -18,7 +18,6 @@
///
/// @description Checks that elements are added to the result list in correct
/// order.
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -60,8 +59,20 @@
[-1, -2, -3, 1, 2, 3, 4, 5, 6, 7], [-1, -2, -3, ...it1, 6, 7]);
Expect.listEquals(
[-1, -2, -3, 1, 2, 3, 4, 5, 6, 7], [-1, -2, -3, ...?it1, 6, 7]);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Iterable<dynamic>' which excludes null.
Expect.listEquals([1, 2, 3], [1, ...it4, 2, ...?it4, 3, ...?it5]);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Iterable<dynamic>' which excludes null.
Expect.listEquals([-9, -8, 1, 2, 3, 4, 5, -7, "a", "14", "1", "2", null, 143,
aList, -6, 100, 200, aSet, aList, 300, -5, -4, -3, -2],
[-9, -8, ...it1, -7, ...?it2, -6, ...it3, -5, -4, ...it4, -3, -2]);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Iterable<dynamic>' which excludes null.
}
diff --git a/LanguageFeatures/Spread-collections/DynamicSemantics_Map_A01_t01.dart b/LanguageFeatures/Spread-collections/DynamicSemantics_Map_A01_t01.dart
index aef719d..e4fbc56 100644
--- a/LanguageFeatures/Spread-collections/DynamicSemantics_Map_A01_t01.dart
+++ b/LanguageFeatures/Spread-collections/DynamicSemantics_Map_A01_t01.dart
@@ -11,10 +11,8 @@
/// 3. The result of the map literal expression is [map].
/// @description Checks that instance of [LinkedHashMap<K, V>] is created for a
/// map literal
-/// @static-warning
/// @author iarkh@unipro.ru
-
import "dart:collection";
import "../../Utils/expect.dart";
@@ -31,8 +29,16 @@
<int, Object>{1: "a", 2: "b", ...map1} is LinkedHashMap<int, Object>);
Expect.isTrue(
<int, num>{1: 0, ...?map1, 14: 6, 9: 9} is LinkedHashMap<int, num>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
Expect.isTrue(<int, String>{...map2, 1: "123"} is LinkedHashMap<int, String>);
Expect.isTrue(<int, String>{...?map2} is LinkedHashMap<int, String>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
Expect.isTrue(<int, String>{...map2} is LinkedHashMap<int, String>);
Expect.isTrue(
<int, String>{...?map3, 1: "123"} is LinkedHashMap<int, String>);
diff --git a/LanguageFeatures/Spread-collections/DynamicSemantics_Map_A02_t04.dart b/LanguageFeatures/Spread-collections/DynamicSemantics_Map_A02_t04.dart
index 39105c0..d6a3f50 100644
--- a/LanguageFeatures/Spread-collections/DynamicSemantics_Map_A02_t04.dart
+++ b/LanguageFeatures/Spread-collections/DynamicSemantics_Map_A02_t04.dart
@@ -19,7 +19,6 @@
/// b. Evaluate [e2] to a value value.
/// c. Call map[key] = value.
/// @description Checks that elements are added to the result map
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -57,10 +56,22 @@
Expect.mapEquals(
{1: 1, 2: 2, 3: 3}, {1: 1, ...map4, 2: 2, ...?map4, 3: 3, ...?map5});
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
Expect.mapEquals({-9: 9, -8: 8, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, -7: 7, 9: "14",
8: 1, 7: 2, 6: null, -6: 6, 10: 1, 20: 2, 30: map4, 40: list,
50: 14, -5: 5, -4: 4, -3: 3, -2: 2},
{-9: 9, -8: 8, ...?map1, -7: 7, ...?map2, -6: 6, ...map3, -5: 5, -4: 4,
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
...map4, -3: 3, -2: 2});
}
diff --git a/LanguageFeatures/Spread-collections/DynamicSemantics_Map_A02_t05.dart b/LanguageFeatures/Spread-collections/DynamicSemantics_Map_A02_t05.dart
index 62b112e..2bd7e0b 100644
--- a/LanguageFeatures/Spread-collections/DynamicSemantics_Map_A02_t05.dart
+++ b/LanguageFeatures/Spread-collections/DynamicSemantics_Map_A02_t05.dart
@@ -20,7 +20,6 @@
/// c. Call map[key] = value.
/// @description Checks that final map is correct if element and spread element
/// has duplicated keys
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -41,7 +40,15 @@
Expect.mapEquals(
{-1: 1, -3: 3, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6},
{-1: 1, 1: 14, -3: 3, ...?map1, 6: 6});
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
Expect.mapEquals(
{-1: 1, 1: 14, -3: 3, ...?map2, 2: 48},
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
{-1: 1, 1: 14, -3: 3, 4: 7, 2: 48});
}
diff --git a/LanguageFeatures/Spread-collections/DynamicSemantics_Map_A02_t06.dart b/LanguageFeatures/Spread-collections/DynamicSemantics_Map_A02_t06.dart
index 3d049a0..63b3bf8 100644
--- a/LanguageFeatures/Spread-collections/DynamicSemantics_Map_A02_t06.dart
+++ b/LanguageFeatures/Spread-collections/DynamicSemantics_Map_A02_t06.dart
@@ -20,7 +20,6 @@
/// c. Call map[key] = value.
/// @description Checks that final map is correct if its spread elements have
/// duplicated keys
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -34,5 +33,21 @@
Expect.mapEquals({...map1, ...map2}, {1: 1, 2: 12, 3: 3, 4: 7, 5: 5});
Expect.mapEquals({...map2, ...map1}, {1: 1, 2: 2, 3: 3, 4: 4, 5: 5});
Expect.mapEquals({...?map1, ...?map2}, {1: 1, 2: 12, 3: 3, 4: 7, 5: 5});
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
Expect.mapEquals({...?map2, ...?map1}, {1: 1, 2: 2, 3: 3, 4: 4, 5: 5});
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
}
diff --git a/LanguageFeatures/Spread-collections/DynamicSemantics_Map_A02_t07.dart b/LanguageFeatures/Spread-collections/DynamicSemantics_Map_A02_t07.dart
index 1e9cfb9..0c59a05 100644
--- a/LanguageFeatures/Spread-collections/DynamicSemantics_Map_A02_t07.dart
+++ b/LanguageFeatures/Spread-collections/DynamicSemantics_Map_A02_t07.dart
@@ -20,7 +20,6 @@
/// c. Call map[key] = value.
/// @description Checks that final map is correct if two its elements have
/// duplicated keys
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -62,14 +61,26 @@
Expect.mapEquals(
{8: 4, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, -6: 6},
{8: 4, 5: 112, 1: 14, ...?map1, -6: 6});
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
Expect.mapEquals(
{-1: 1, 4: 7, 22: 22, 2: 10},
{-1: 1, ...?map2, 22: 22, 2: 10});
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
Expect.mapEquals(
{8: 4, 1: 1, 3: 3, 4: 4, -6: 6, 2: 20, 14: 241, 5: 7},
{8: 4, 3: 112, 1: 10, ...?map1, -6: 6, 2: 20, 14: 241, 5: 7});
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
Expect.mapEquals(
{"p": "p", 3: 112, 146:149, 1: "test", 2: 248, 100: 218,
@@ -80,5 +91,9 @@
14: 20, -1000: 241, 5: 7, 121: 14, "b": "c", -7: -7},
{"c": "d", 2: -2, "y": 14, "p": "p", 3: 112, 1: 10, 146:149,
...?verylongmap, -6: 6, 14: 20, -1000: 241, 5: 7, 121: 14, "b": "c",
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
-7: -7});
}
diff --git a/LanguageFeatures/Spread-collections/DynamicSemantics_Map_A02_t08.dart b/LanguageFeatures/Spread-collections/DynamicSemantics_Map_A02_t08.dart
index f3133b3..a785321 100644
--- a/LanguageFeatures/Spread-collections/DynamicSemantics_Map_A02_t08.dart
+++ b/LanguageFeatures/Spread-collections/DynamicSemantics_Map_A02_t08.dart
@@ -19,7 +19,6 @@
/// b. Evaluate [e2] to a value value.
/// c. Call map[key] = value.
/// @description Checks that final map is correct
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -42,9 +41,25 @@
Expect.mapEquals(
{-1: 1, -3: 3, 1: 1, 3: 3, 5: 5, 6: 6, 4: 4, 2: 564},
{-1: 1, 1: 14, -3: 3, ...?map1, 6: 6, ...?map2, 4: 4, 2: 564});
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
Expect.mapEquals(map1, {...map1, ...map3});
Expect.mapEquals(map1, {...?map1, ...?map3});
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
Expect.mapEquals(
{"p": "p", 146:149, 100: 218, 13: -24.11, 24: 14, 8: -8, 174: "13", 149:
@@ -64,6 +79,18 @@
"d": "d", "e": "e", "y": "y", -6: 6, 14: 20, 1: 1, 2: 2, 3: 3, 4: 4,
-1000: 241, 5: 7, 121: 14, "b": "c", -7: -7},
{"c": "d", 2: -2, "y": 14, ...?map2, "p": "p", 3: 112, 1: 10, 146:149,
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
...?verylongmap, -6: 6, 14: 20, ...?map1, -1000: 241, 5: 7, 121: 14,
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
"b": "c", -7: -7});
}
diff --git a/LanguageFeatures/Spread-collections/DynamicSemantics_Set_A01_t01.dart b/LanguageFeatures/Spread-collections/DynamicSemantics_Set_A01_t01.dart
index dcda6c2..cdfc210 100644
--- a/LanguageFeatures/Spread-collections/DynamicSemantics_Set_A01_t01.dart
+++ b/LanguageFeatures/Spread-collections/DynamicSemantics_Set_A01_t01.dart
@@ -9,7 +9,6 @@
/// 3. The result of the literal expression is [set].
/// @description Checks that instance of [LinkedHashSet<E>] is created for a
/// [set] literal.
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -25,6 +24,10 @@
Expect.isTrue(<int>{...list1} is LinkedHashSet<int>);
Expect.isTrue(<int>{1, 2, ...list1} is LinkedHashSet<int>);
Expect.isTrue(<int>{1, ...?list1, 14, 9} is LinkedHashSet<int>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<dynamic>' which excludes null.
Expect.isTrue(<String>{...list2, "123"} is LinkedHashSet<String>);
Expect.isTrue(<String>{...?list3} is LinkedHashSet<String>);
Expect.isTrue(<int>{...?list3} is LinkedHashSet<int>);
diff --git a/LanguageFeatures/Spread-collections/DynamicSemantics_Set_A02_t01.dart b/LanguageFeatures/Spread-collections/DynamicSemantics_Set_A02_t01.dart
index ca1aa38..fcc5dff 100644
--- a/LanguageFeatures/Spread-collections/DynamicSemantics_Set_A02_t01.dart
+++ b/LanguageFeatures/Spread-collections/DynamicSemantics_Set_A02_t01.dart
@@ -16,7 +16,6 @@
/// a. Evaluate [set.add(value)].
/// @description Checks that if element is null-aware and it's [null], nothing
/// added to the result set.
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -32,6 +31,10 @@
Expect.setEquals({1, 2, 4}, {1, 2, ...?list3, 4});
Expect.setEquals({10, 1, 2, 3, "checkme", 100, 200, 300, 400, 500},
{10, ...?list4, ...?list3, ...list1});
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<dynamic>' which excludes null.
Expect.setEquals({}, {...?list3, ...?list3, ...?list3});
Expect.setEquals({}, {...list2, ...?list3});
}
diff --git a/LanguageFeatures/Spread-collections/DynamicSemantics_Set_A02_t04.dart b/LanguageFeatures/Spread-collections/DynamicSemantics_Set_A02_t04.dart
index fa54de4..141dda4 100644
--- a/LanguageFeatures/Spread-collections/DynamicSemantics_Set_A02_t04.dart
+++ b/LanguageFeatures/Spread-collections/DynamicSemantics_Set_A02_t04.dart
@@ -16,7 +16,6 @@
/// a. Evaluate [set.add(value)].
/// @description Checks that elements are added to the result set in correct
/// order.
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -58,8 +57,20 @@
{-1, -2, -3, 1, 2, 3, 4, 5, 6, 7}, {-1, -2, -3, ...it1, 6, 7});
Expect.setEquals(
{-1, -2, -3, 1, 2, 3, 4, 5, 6, 7}, {-1, -2, -3, ...?it1, 6, 7});
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Iterable<dynamic>' which excludes null.
Expect.setEquals({1, 2, 3}, {1, ...it4, 2, ...?it4, 3, ...?it5});
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Iterable<dynamic>' which excludes null.
Expect.setEquals({-9, -8, 1, 2, 3, 4, 5, -7, "a", "14", "1", "2", null, 143,
-6, 100, 200, aMap, aList, 300, -5, -4, -3, -2},
{-9, -8, ...it1, -7, ...?it2, -6, ...it3, -5, -4, ...it4, -3, -2});
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Iterable<dynamic>' which excludes null.
}
diff --git a/LanguageFeatures/Spread-collections/NullAware_A02_t01.dart b/LanguageFeatures/Spread-collections/NullAware_A02_t01.dart
index 461af53..e00f500 100644
--- a/LanguageFeatures/Spread-collections/NullAware_A02_t01.dart
+++ b/LanguageFeatures/Spread-collections/NullAware_A02_t01.dart
@@ -19,10 +19,8 @@
/// // [1, 2, 3, 4].
/// @description Checks that [null] element is allowed inside the spreadable
/// element in the list.
-/// @static-warning
/// @author iarkh@unipro.ru
-
import "../../Utils/expect.dart";
List things = [2, null, 3];
@@ -32,6 +30,10 @@
Expect.listEquals([1, 2, null, 3, 4], more);
var also = [1, ...?things, 4];
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<dynamic>' which excludes null.
Expect.listEquals([1, 2, null, 3, 4], more);
more = [1, ...(things as List).where((thing) => thing != null), 4];
diff --git a/LanguageFeatures/Spread-collections/NullAware_A02_t02.dart b/LanguageFeatures/Spread-collections/NullAware_A02_t02.dart
index 9a949fe..4075492 100644
--- a/LanguageFeatures/Spread-collections/NullAware_A02_t02.dart
+++ b/LanguageFeatures/Spread-collections/NullAware_A02_t02.dart
@@ -19,7 +19,6 @@
/// // [1, 2, 3, 4].
/// @description Checks that [null] element is allowed inside the spreadable
/// element in the set.
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -32,11 +31,19 @@
Expect.setEquals({1, 2, null, 3, 4}, more);
var also = {1, ...?things, 4};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<dynamic>' which excludes null.
Expect.setEquals({1, 2, null, 3, 4}, more);
more = {1, ...(things as List).where((thing) => thing != null), 4};
Expect.setEquals({1, 2, 3, 4}, more);
more = {1, ...?(things as List).where((thing) => thing != null), 4};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Iterable<dynamic>' which excludes null.
Expect.setEquals({1, 2, 3, 4}, more);
}
diff --git a/LanguageFeatures/Spread-collections/NullAware_A02_t03.dart b/LanguageFeatures/Spread-collections/NullAware_A02_t03.dart
index 8d0c7cc..f5c3458 100644
--- a/LanguageFeatures/Spread-collections/NullAware_A02_t03.dart
+++ b/LanguageFeatures/Spread-collections/NullAware_A02_t03.dart
@@ -19,10 +19,8 @@
/// // [1, 2, 3, 4].
/// @description Checks that [null] element is allowed inside the spreadable
/// element in the map.
-/// @static-warning
/// @author iarkh@unipro.ru
-
import "../../Utils/expect.dart";
Map things = {1: 2, 2: null, 3: 3};
@@ -32,5 +30,9 @@
Expect.mapEquals({4: 4, 1: 2, 2: null, 3: 3, 5: 10}, more);
Map more1 = {4: 4, ...?things, 5: 10};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
Expect.mapEquals({4: 4, 1: 2, 2: null, 3: 3, 5: 10}, more1);
}
diff --git a/LanguageFeatures/Spread-collections/StaticSemantic_A01_t07.dart b/LanguageFeatures/Spread-collections/StaticSemantic_A01_t07.dart
index ce28bfc..fb50cd6 100644
--- a/LanguageFeatures/Spread-collections/StaticSemantic_A01_t07.dart
+++ b/LanguageFeatures/Spread-collections/StaticSemantic_A01_t07.dart
@@ -10,11 +10,13 @@
/// the list.
/// @description Checks that compile error appears if [T] is not assignable to
/// the element type.
-/// @compile-error
/// @author iarkh@unipro.ru
main() {
var strings = <String>[];
var res = <int>{11, ...strings};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/StaticSemantic_A01_t08.dart b/LanguageFeatures/Spread-collections/StaticSemantic_A01_t08.dart
index 43cd960..4fa903c 100644
--- a/LanguageFeatures/Spread-collections/StaticSemantic_A01_t08.dart
+++ b/LanguageFeatures/Spread-collections/StaticSemantic_A01_t08.dart
@@ -15,11 +15,13 @@
/// static error.
/// @description Checks that static error is thrown if null-aware spread element
/// and list type arguments are incompatible.
-/// @compile-error
/// @author iarkh@unipro.ru
main() {
List<num> numbers = <num>[1, 2, 3];
List<String> list = <String>[...?numbers];
+// ^^^^^^^^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/StaticSemantic_A01_t09.dart b/LanguageFeatures/Spread-collections/StaticSemantic_A01_t09.dart
index ef5651d..1db19ef 100644
--- a/LanguageFeatures/Spread-collections/StaticSemantic_A01_t09.dart
+++ b/LanguageFeatures/Spread-collections/StaticSemantic_A01_t09.dart
@@ -15,11 +15,13 @@
/// static error.
/// @description Checks that static error is thrown if null-aware spread element
/// and set type arguments are incompatible.
-/// @compile-error
/// @author iarkh@unipro.ru
main() {
List<num> numbers = <num>[1, 2, 3];
Set<String> set = <String>{...?numbers};
+// ^^^^^^^^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/StaticSemantic_A02_t01.dart b/LanguageFeatures/Spread-collections/StaticSemantic_A02_t01.dart
index 43a1c0f..53c7898 100644
--- a/LanguageFeatures/Spread-collections/StaticSemantic_A02_t01.dart
+++ b/LanguageFeatures/Spread-collections/StaticSemantic_A02_t01.dart
@@ -6,7 +6,6 @@
/// class that implements [Iterable] but isn't even a subtype of List.
/// @description Checks that [Iterable] object can be spread into the spreadable
/// list.
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -35,5 +34,17 @@
main() {
Iterable iterable = new MyIterable();
Expect.listEquals(iterable?.toList(), [...iterable]);
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'Iterable<dynamic>' which excludes null.
Expect.listEquals(iterable?.toList(), [...?iterable]);
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'Iterable<dynamic>' which excludes null.
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Iterable<dynamic>' which excludes null.
}
diff --git a/LanguageFeatures/Spread-collections/StaticSemantic_A12_t02.dart b/LanguageFeatures/Spread-collections/StaticSemantic_A12_t02.dart
index d0ec9d5..f36929a 100644
--- a/LanguageFeatures/Spread-collections/StaticSemantic_A12_t02.dart
+++ b/LanguageFeatures/Spread-collections/StaticSemantic_A12_t02.dart
@@ -5,11 +5,15 @@
/// @assertion n/a
/// @description: Checks that spread elements in the list cannot have recurrent
/// references.
-/// @compile-error
/// @author iarkh@unipro.ru
main() {
List l1 = [...l2];
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
List l2 = [...l1];
+// ^
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/StaticSemantic_A12_t04.dart b/LanguageFeatures/Spread-collections/StaticSemantic_A12_t04.dart
index 5acb40f..3ddbc70 100644
--- a/LanguageFeatures/Spread-collections/StaticSemantic_A12_t04.dart
+++ b/LanguageFeatures/Spread-collections/StaticSemantic_A12_t04.dart
@@ -5,11 +5,15 @@
/// @assertion n/a
/// @description: Checks that spread elements in the set cannot have recurrent
/// references.
-/// @compile-error
/// @author iarkh@unipro.ru
main() {
Set s1 = {...s2};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
Set s2 = {...s1};
+// ^
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/StaticSemantic_A12_t06.dart b/LanguageFeatures/Spread-collections/StaticSemantic_A12_t06.dart
index e2ebd41..47bf4a9 100644
--- a/LanguageFeatures/Spread-collections/StaticSemantic_A12_t06.dart
+++ b/LanguageFeatures/Spread-collections/StaticSemantic_A12_t06.dart
@@ -5,11 +5,15 @@
/// @assertion n/a
/// @description: Checks that spread elements in the map cannot have recurrent
/// references.
-/// @compile-error
/// @author iarkh@unipro.ru
main() {
Map m1 = {...m2};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
Map m2 = {...m1};
+// ^
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/Syntax_A03_t04.dart b/LanguageFeatures/Spread-collections/Syntax_A03_t04.dart
index 35e0455..9dc2ae0 100644
--- a/LanguageFeatures/Spread-collections/Syntax_A03_t04.dart
+++ b/LanguageFeatures/Spread-collections/Syntax_A03_t04.dart
@@ -11,10 +11,12 @@
/// @description Checks that it is a set if collection has one type argument, it
/// is a map if collection has two arguments and exception is thrown if there are
/// three or more type arguments.
-/// @compile-error
/// @author iarkh@unipro.ru
main() {
var a = <int, int, int, int, int>{};
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/Spread-collections/TypeInference_A01_t03.dart b/LanguageFeatures/Spread-collections/TypeInference_A01_t03.dart
index a4abead..dd604ba 100644
--- a/LanguageFeatures/Spread-collections/TypeInference_A01_t03.dart
+++ b/LanguageFeatures/Spread-collections/TypeInference_A01_t03.dart
@@ -7,7 +7,6 @@
/// spread element in that list is [Iterable<T>].
/// @description Checks statically that a spread element inference context type
/// is [T] in the list literal
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -34,5 +33,13 @@
List list5 = <A>[a, b, c, ...c_list, new B(), ...a_list, ...b_list, new A()];
List list6 = <B>[b, ...b_list, c, ...c_list];
List list7 = [123, "123", null, a, ...a_list, ...?b_list, c, b, ...?c_list,
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<B>' which excludes null.
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<C>' which excludes null.
...str_list, ...int_list, null, 1499, []];
}
diff --git a/LanguageFeatures/Spread-collections/TypeInference_A01_t05.dart b/LanguageFeatures/Spread-collections/TypeInference_A01_t05.dart
index 1a84bcf..21f01a6 100644
--- a/LanguageFeatures/Spread-collections/TypeInference_A01_t05.dart
+++ b/LanguageFeatures/Spread-collections/TypeInference_A01_t05.dart
@@ -7,7 +7,6 @@
/// spread element in that list is [Iterable<T>].
/// @description Checks statically that a spread element inference context type
/// is [T] in the set literal
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -34,5 +33,13 @@
Set set5 = <A>{a, b, c, ...c_list, new B(), ...a_list, ...b_list, new A()};
Set set6 = <B>{b, ...b_list, c, ...c_list};
Set set7 = {123, "123", null, a, ...a_list, ...?b_list, c, b, ...?c_list,
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<B>' which excludes null.
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<C>' which excludes null.
...str_list, ...int_list, null, 1499, []};
}
diff --git a/LanguageFeatures/Spread-collections/TypeInference_A02_t01.dart b/LanguageFeatures/Spread-collections/TypeInference_A02_t01.dart
index 282c44a..4d4512e 100644
--- a/LanguageFeatures/Spread-collections/TypeInference_A02_t01.dart
+++ b/LanguageFeatures/Spread-collections/TypeInference_A02_t01.dart
@@ -6,7 +6,6 @@
/// [Iterable<T>] for some [T], then the upwards inference element type is [T].
/// @description Checks that spread element upwards inference element type is [T]
/// in the list literal
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -29,35 +28,91 @@
Expect.isTrue([...int_list] is List<int>);
Expect.isTrue(["test", "a", ...?str_list, "ooooo"] is List<String>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<String>' which excludes null.
Expect.isTrue([...a_list] is List<A>);
Expect.isTrue([a, ...?a_list] is List<A>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<A>' which excludes null.
Expect.isTrue([...b_list] is List<A>);
Expect.isTrue([a, ...?b_list] is List<A>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<B>' which excludes null.
Expect.isTrue([...c_list] is List<A>);
Expect.isTrue([a, ...?c_list] is List<A>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<C>' which excludes null.
Expect.isTrue([a, ...a_list, ...b_list, b] is List<A>);
Expect.isTrue([a, b, c, ...a_list, ...b_list, ...?c_list] is List<A>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<C>' which excludes null.
Expect.isTrue([a, ...a_list, ...b_list, b] is List<A>);
Expect.isFalse([...a_list] is List<B>);
Expect.isFalse([b, ...?a_list] is List<B>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<A>' which excludes null.
Expect.isTrue([...b_list] is List<B>);
Expect.isTrue([b, ...?b_list] is List<B>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<B>' which excludes null.
Expect.isTrue([...c_list] is List<B>);
Expect.isTrue([b, ...?c_list] is List<B>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<C>' which excludes null.
Expect.isFalse([c, ...a_list, ...b_list, b] is List<B>);
Expect.isFalse([b, c, ...a_list, ...b_list, ...?c_list] is List<B>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<C>' which excludes null.
Expect.isTrue([b, ...c_list, ...b_list, b] is List<B>);
Expect.isFalse([...a_list] is List<C>);
Expect.isFalse([c, ...?a_list] is List<C>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<A>' which excludes null.
Expect.isFalse([...b_list] is List<C>);
Expect.isFalse([c, ...?b_list] is List<C>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<B>' which excludes null.
Expect.isTrue([...c_list] is List<C>);
Expect.isTrue([...?c_list] is List<C>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<C>' which excludes null.
Expect.isTrue([c, ...?c_list] is List<C>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<C>' which excludes null.
Expect.isFalse([c, ...a_list, ...b_list, c] is List<C>);
Expect.isFalse([c, ...a_list, ...b_list, ...?c_list] is List<C>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<C>' which excludes null.
Expect.isFalse([a, ...c_list, ...b_list, b] is List<C>);
}
diff --git a/LanguageFeatures/Spread-collections/TypeInference_A02_t02.dart b/LanguageFeatures/Spread-collections/TypeInference_A02_t02.dart
index b13343d..b4af091 100644
--- a/LanguageFeatures/Spread-collections/TypeInference_A02_t02.dart
+++ b/LanguageFeatures/Spread-collections/TypeInference_A02_t02.dart
@@ -6,7 +6,6 @@
/// [Iterable<T>] for some [T], then the upwards inference element type is [T].
/// @description Checks that spread element upwards inference element type is [T]
/// in the set literal
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -29,35 +28,91 @@
Expect.isTrue({...int_list} is Set<int>);
Expect.isTrue({"test", "a", ...?str_list, "ooooo"} is Set<String>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<String>' which excludes null.
Expect.isTrue({...a_list} is Set<A>);
Expect.isTrue({a, ...?a_list} is Set<A>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<A>' which excludes null.
Expect.isTrue({...b_list} is Set<A>);
Expect.isTrue({a, ...?b_list} is Set<A>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<B>' which excludes null.
Expect.isTrue({...c_list} is Set<A>);
Expect.isTrue({a, ...?c_list} is Set<A>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<C>' which excludes null.
Expect.isTrue({a, ...a_list, ...b_list, b} is Set<A>);
Expect.isTrue({a, b, c, ...a_list, ...b_list, ...?c_list} is Set<A>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<C>' which excludes null.
Expect.isTrue({a, ...a_list, ...b_list, b} is Set<A>);
Expect.isFalse({...a_list} is Set<B>);
Expect.isFalse({b, ...?a_list} is Set<B>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<A>' which excludes null.
Expect.isTrue({...b_list} is Set<B>);
Expect.isTrue({b, ...?b_list} is Set<B>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<B>' which excludes null.
Expect.isTrue({...c_list} is Set<B>);
Expect.isTrue({b, ...?c_list} is Set<B>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<C>' which excludes null.
Expect.isFalse({c, ...a_list, ...b_list, b} is Set<B>);
Expect.isFalse({b, c, ...a_list, ...b_list, ...?c_list} is Set<B>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<C>' which excludes null.
Expect.isTrue({b, ...c_list, ...b_list, b} is Set<B>);
Expect.isFalse({...a_list} is Set<C>);
Expect.isFalse({c, ...?a_list} is Set<C>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<A>' which excludes null.
Expect.isFalse({...b_list} is Set<C>);
Expect.isFalse({c, ...?b_list} is Set<C>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<B>' which excludes null.
Expect.isTrue({...c_list} is Set<C>);
Expect.isTrue({...?c_list} is Set<C>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<C>' which excludes null.
Expect.isTrue({c, ...?c_list} is Set<C>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<C>' which excludes null.
Expect.isFalse({c, ...a_list, ...b_list, c} is Set<C>);
Expect.isFalse({c, ...a_list, ...b_list, ...?c_list} is Set<C>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'List<C>' which excludes null.
Expect.isFalse({a, ...c_list, ...b_list, b} is Set<C>);
}
diff --git a/LanguageFeatures/Spread-collections/TypeInference_A03_t02.dart b/LanguageFeatures/Spread-collections/TypeInference_A03_t02.dart
index 97e3c25..c855e22 100644
--- a/LanguageFeatures/Spread-collections/TypeInference_A03_t02.dart
+++ b/LanguageFeatures/Spread-collections/TypeInference_A03_t02.dart
@@ -7,7 +7,6 @@
/// element in that map is [Map<K, V>].
/// @description Checks statically that a spread element inference context type
/// is [K, V] in the map literal
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -31,13 +30,33 @@
Map map1 = <int, int>{2: 4, 7: 16, ...int_map, 4: 40};
Map map2 = <A1, A2>{new A1(): new A2(), ...?a_map};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<A1, A2>' which excludes null.
Map map3 = <A1, A2>{new A1(): new A2(), ...b_map};
Map map4 = <A1, A2>{new A1(): new A2(), ...c_map, new B1(): new C2()};
Map map5 = <A1, A2>{new A1(): new B2(), new B1(): new C2(),
new C1(): new C2(), ...?c_map, new B1(): new A2(), ...a_map, ...b_map,
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<C1, C2>' which excludes null.
new A1(): new C2()};
Map map6 = <B1, B2>{new B1(): new B2(), ...?b_map, new C1(): new C2(),
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<B1, B2>' which excludes null.
...c_map};
Map map7 = {123: 14, "123": "1", new A1(): null, new A2(): new C1(), ...a_map,
...?b_map, 148: new C1(), ...?c_map, ...int_map, 1499: null, -7: []};
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<B1, B2>' which excludes null.
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<C1, C2>' which excludes null.
}
diff --git a/LanguageFeatures/Spread-collections/TypeInference_A04_t01.dart b/LanguageFeatures/Spread-collections/TypeInference_A04_t01.dart
index 76e93e5..f1ff91a 100644
--- a/LanguageFeatures/Spread-collections/TypeInference_A04_t01.dart
+++ b/LanguageFeatures/Spread-collections/TypeInference_A04_t01.dart
@@ -7,7 +7,6 @@
/// value type is [V].
/// @description Checks that spread element upwards inference key type is [K] and
/// the value type is [V] in the map literal
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -40,26 +39,62 @@
Expect.isTrue({...int_map} is Map<int, int>);
Expect.isTrue({1: "test", 2: "a", ...?str_map, 3: "oo"} is Map<int, String>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<int, String>' which excludes null.
Expect.isTrue({...a_map} is Map<A1, A2>);
Expect.isTrue({a1: a2, ...?a_map} is Map<A1, A2>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<A1, A2>' which excludes null.
Expect.isTrue({...b_map} is Map<A1, A2>);
Expect.isTrue({a1: a2, ...?b_map} is Map<A1, A2>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<B1, B2>' which excludes null.
Expect.isTrue({...c_map} is Map<A1, A2>);
Expect.isTrue({a1: a2, ...?c_map} is Map<A1, A2>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<C1, C2>' which excludes null.
Expect.isTrue({a1: a2, ...a_map, ...b_map, b1: b2} is Map<A1, A2>);
Expect.isTrue(
{a1: a2, b1: b2, c1: c2, ...a_map, ...?b_map, ...c_map} is Map<A1, A2>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<B1, B2>' which excludes null.
Expect.isTrue({a1: a2, ...a_map, ...b_map, b1: b2} is Map<A1, A2>);
Expect.isFalse({...a_map} is Map<B1, B2>);
Expect.isFalse({b1: b2, ...?a_map} is Map<B1, B2>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<A1, A2>' which excludes null.
Expect.isTrue({...b_map} is Map<B1, B2>);
Expect.isTrue({b1: b2, ...?b_map} is Map<B1, B2>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<B1, B2>' which excludes null.
Expect.isTrue({...c_map} is Map<B1, B2>);
Expect.isTrue({b1: b2, ...?c_map} is Map<B1, B2>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<C1, C2>' which excludes null.
Expect.isFalse({c1: c2, ...a_map, ...b_map, b1: b2} is Map<B1, B2>);
Expect.isFalse(
{b1: b2, c1: c2, ...a_map, ...b_map, ...?c_map} is Map<B1, B2>);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<C1, C2>' which excludes null.
Expect.isFalse({a1: a2, ...c_map, ...b_map, b1: b2} is Map<B1, B2>);
}
diff --git a/LanguageFeatures/Spread-collections/TypeInference_A05_t04.dart b/LanguageFeatures/Spread-collections/TypeInference_A05_t04.dart
index 6000b1f..2483030 100644
--- a/LanguageFeatures/Spread-collections/TypeInference_A05_t04.dart
+++ b/LanguageFeatures/Spread-collections/TypeInference_A05_t04.dart
@@ -15,10 +15,8 @@
/// {...l, ...m} // Static error, because it must be both a set and a map.
/// @description Checks that if one of the spreadable element is [Iterable],
/// result is statically [Set]
-/// @static-warning
/// @author iarkh@unipro.ru
-
import "../../Utils/expect.dart";
main() {
@@ -28,19 +26,47 @@
Set res;
Expect.throws(() => res = {...?l, ...map});
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Iterable<dynamic>' which excludes null.
Expect.throws(() => res = {...map, ...?l});
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Iterable<dynamic>' which excludes null.
Expect.throws(() => res = {...l, ...?map});
Expect.throws(() => res = {...?map, ...l});
Expect.throws(() => res = {...?l, ...?map});
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Iterable<dynamic>' which excludes null.
Expect.throws(() => res = {...?map, ...?l});
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Iterable<dynamic>' which excludes null.
Expect.isTrue({...set, ...?l} is Set);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Iterable<dynamic>' which excludes null.
Expect.isTrue({...?l, ...set} is Set);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Iterable<dynamic>' which excludes null.
Expect.isTrue({...?set, ...l} is Set);
Expect.isTrue({...l, ...?set} is Set);
Expect.isTrue({...?set, ...?l} is Set);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Iterable<dynamic>' which excludes null.
}
diff --git a/LanguageFeatures/Spread-collections/TypeInference_A05_t06.dart b/LanguageFeatures/Spread-collections/TypeInference_A05_t06.dart
index b1b128f..2360a25 100644
--- a/LanguageFeatures/Spread-collections/TypeInference_A05_t06.dart
+++ b/LanguageFeatures/Spread-collections/TypeInference_A05_t06.dart
@@ -15,7 +15,6 @@
/// {...l, ...m} // Static error, because it must be both a set and a map.
/// @description Checks that if one of the spreadable element is [Map], result
/// is statically [Map]
-/// @static-warning
/// @author iarkh@unipro.ru
@@ -28,18 +27,42 @@
Map res;
Expect.throws(() => res = {...?m, ...set});
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
Expect.throws(() => res = {...set, ...?m});
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
Expect.throws(() => res = {...m, ...?set});
Expect.throws(() => res = {...?set, ...m});
Expect.throws(() => res = {...?set, ...?m});
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
Expect.isTrue({...?map, ...m} is Map);
Expect.isTrue({...m, ...?map} is Map);
Expect.isTrue({...map, ...?m} is Map);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
Expect.isTrue({...?m, ...map} is Map);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
Expect.isTrue({...?map, ...?m} is Map);
+// ^^^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '...?' has type 'Map<dynamic, dynamic>' which excludes null.
}
diff --git a/LanguageFeatures/Super-mixins/compatible_t01.dart b/LanguageFeatures/Super-mixins/compatible_t01.dart
index 3b70d7e..861fde2 100644
--- a/LanguageFeatures/Super-mixins/compatible_t01.dart
+++ b/LanguageFeatures/Super-mixins/compatible_t01.dart
@@ -17,13 +17,9 @@
class B {
int get n => 1;
-// ^
-// [cfe] unspecified
}
class C {
double get n => 2.0;
-// ^
-// [cfe] unspecified
}
mixin M on B, C {
diff --git a/LanguageFeatures/Super-mixins/compatible_t06.dart b/LanguageFeatures/Super-mixins/compatible_t06.dart
index d3fbb01..c560337 100644
--- a/LanguageFeatures/Super-mixins/compatible_t06.dart
+++ b/LanguageFeatures/Super-mixins/compatible_t06.dart
@@ -26,8 +26,6 @@
}
mixin M<X extends S, Y extends T> on A<Y>, B<X> {
-// ^
-// [cfe] unspecified
}
class MA<X, Y> extends C<Y, X> with M<Y, X> {
diff --git a/LanguageFeatures/Super-mixins/declaration_t01.dart b/LanguageFeatures/Super-mixins/declaration_t01.dart
index 22c9b79..5cd4390 100644
--- a/LanguageFeatures/Super-mixins/declaration_t01.dart
+++ b/LanguageFeatures/Super-mixins/declaration_t01.dart
@@ -18,13 +18,9 @@
class I {
int i1() => 1;
-// ^^
-// [cfe] unspecified
}
class J {
double i1() => 2.0;
-// ^^
-// [cfe] unspecified
}
class B {}
diff --git a/LanguageFeatures/Super-mixins/declaration_t02.dart b/LanguageFeatures/Super-mixins/declaration_t02.dart
index 4fa5dff..5071f6c 100644
--- a/LanguageFeatures/Super-mixins/declaration_t02.dart
+++ b/LanguageFeatures/Super-mixins/declaration_t02.dart
@@ -19,14 +19,10 @@
class I {
int get i1 => 1;
-// ^^
-// [cfe] unspecified
}
class B {
double get i1 => 2.0;
-// ^^
-// [cfe] unspecified
}
mixin M on B implements I {}
diff --git a/LanguageFeatures/Super-mixins/declaration_t03.dart b/LanguageFeatures/Super-mixins/declaration_t03.dart
index 0462923..8d0d2f1 100644
--- a/LanguageFeatures/Super-mixins/declaration_t03.dart
+++ b/LanguageFeatures/Super-mixins/declaration_t03.dart
@@ -27,6 +27,9 @@
class C {}
mixin M on B, C implements I, J {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/LanguageFeatures/Super-mixins/mixin_constructor_t04.dart b/LanguageFeatures/Super-mixins/mixin_constructor_t04.dart
index 1b69715..d82cadd 100644
--- a/LanguageFeatures/Super-mixins/mixin_constructor_t04.dart
+++ b/LanguageFeatures/Super-mixins/mixin_constructor_t04.dart
@@ -27,6 +27,8 @@
class A implements B, C, I, J {}
class MA extends A with M {}
+// ^
+// [cfe] unspecified
main() {
new MA();
diff --git a/LanguageFeatures/Super-mixins/more_specific_t03.dart b/LanguageFeatures/Super-mixins/more_specific_t03.dart
index 43f22c6..d7bd15f 100644
--- a/LanguageFeatures/Super-mixins/more_specific_t03.dart
+++ b/LanguageFeatures/Super-mixins/more_specific_t03.dart
@@ -17,13 +17,9 @@
class B {
String get b1 => "B";
-// ^^^^^^^^^
-// [cfe] unspecified
}
class C {
double get b1 => 3.14;
-// ^^
-// [cfe] unspecified
}
mixin M on B, C implements I, J {
diff --git a/LanguageFeatures/Super-mixins/more_specific_t06.dart b/LanguageFeatures/Super-mixins/more_specific_t06.dart
index a7d62e2..ae6929b 100644
--- a/LanguageFeatures/Super-mixins/more_specific_t06.dart
+++ b/LanguageFeatures/Super-mixins/more_specific_t06.dart
@@ -23,13 +23,9 @@
abstract class B<T1> {
T1 get b1;
-// ^^
-// [cfe] unspecified
}
abstract class C<T1> {
T1 get b1;
-// ^^
-// [cfe] unspecified
}
mixin M<X extends S, Y extends T> on B<X>, C<Y> implements I, J {
diff --git a/LanguageFeatures/Super-mixins/not_class_t06.dart b/LanguageFeatures/Super-mixins/not_class_t06.dart
index 4c4f22a..5ed6b58 100644
--- a/LanguageFeatures/Super-mixins/not_class_t06.dart
+++ b/LanguageFeatures/Super-mixins/not_class_t06.dart
@@ -16,8 +16,6 @@
mixin M on C {
String get g => "M.g";
-// ^
-// [cfe] unspecified
}
class MA implements M {
diff --git a/LanguageFeatures/int-to-double/assignment_class_member_t01.dart b/LanguageFeatures/int-to-double/assignment_class_member_t01.dart
index 9f308c0..2ef6d39 100644
--- a/LanguageFeatures/int-to-double/assignment_class_member_t01.dart
+++ b/LanguageFeatures/int-to-double/assignment_class_member_t01.dart
@@ -5,7 +5,6 @@
/// @assertion The static type of a double valued integer literal is [double]
/// @description Checks that the static type of a double valued integer literal
/// is [double]. Test class member assignment
-/// @static-warning
/// @author sgrekhov@unipro.ru
@@ -30,21 +29,55 @@
main() {
C.s = 42;
C?.s = -42;
+//^
+// [cfe] The class 'C' cannot be null.
C.s ??= 42;
+// ^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??=' has type 'double' which excludes null.
C?.s ??= -42;
+// ^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+//^
+// [cfe] The class 'C' cannot be null.
+// ^
+// [cfe] Operand of null-aware operation '??=' has type 'double' which excludes null.
C.staticSetter = -42;
C?.staticSetter = 42;
+//^
+// [cfe] The class 'C' cannot be null.
C? c = null;
c?.m1 = 42;
c?.instanceSetter = -42;
c?.m1 ??= 42;
+// ^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
c = new C();
c.m1 = -42;
c.instanceSetter = 42;
c?.m1 = 42;
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
c?.instanceSetter = -42;
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
c.m1 ??= -42;
+// ^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??=' has type 'double' which excludes null.
c?.m1 ??= 42;
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+//^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
}
diff --git a/LanguageFeatures/int-to-double/assignment_class_member_t02.dart b/LanguageFeatures/int-to-double/assignment_class_member_t02.dart
index 84c1484..fdfe974 100644
--- a/LanguageFeatures/int-to-double/assignment_class_member_t02.dart
+++ b/LanguageFeatures/int-to-double/assignment_class_member_t02.dart
@@ -6,7 +6,6 @@
/// @description Checks that the static type of a double valued integer literal
/// is [double]. Test class member assignment and hexadecimal values
/// @author sgrekhov@unipro.ru
-/// @static-warning
@@ -31,20 +30,54 @@
main() {
C.s = 0x42;
C?.s = -0x42;
+//^
+// [cfe] The class 'C' cannot be null.
C.s ??= 0x42;
+// ^^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??=' has type 'double' which excludes null.
C?.s ??= -0x42;
+// ^^^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+//^
+// [cfe] The class 'C' cannot be null.
+// ^
+// [cfe] Operand of null-aware operation '??=' has type 'double' which excludes null.
C.staticSetter = -0x42;
C?.staticSetter = 0x42;
+//^
+// [cfe] The class 'C' cannot be null.
C? c = null;
c?.m1 = 0x42;
c?.instanceSetter = -0x42;
c?.m1 ??= 0x42;
+// ^^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
c = new C();
c.m1 = -0x42;
c.instanceSetter = 0x42;
c?.m1 = 0x42;
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
c?.instanceSetter = -0x42;
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
c.m1 ??= -0x42;
+// ^^^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??=' has type 'double' which excludes null.
c?.m1 ??= 0x42;
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+//^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
}
diff --git a/LanguageFeatures/int-to-double/assignment_local_variable_t01.dart b/LanguageFeatures/int-to-double/assignment_local_variable_t01.dart
index 405446d..c48593e 100644
--- a/LanguageFeatures/int-to-double/assignment_local_variable_t01.dart
+++ b/LanguageFeatures/int-to-double/assignment_local_variable_t01.dart
@@ -6,7 +6,6 @@
/// @description Checks that the static type of a double valued integer literal
/// is [double]. Test local variable assignment
/// @author sgrekhov@unipro.ru
-/// @static-warning
class C {
@@ -22,6 +21,10 @@
s1 = null;
s1 ??= 42;
s1 ??= -42;
+// ^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??=' has type 'double' which excludes null.
}
void instanceMethod() {
@@ -35,6 +38,10 @@
m1 = null;
m1 ??= 42;
m1 ??= -42;
+// ^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??=' has type 'double' which excludes null.
}
}
@@ -49,7 +56,10 @@
l1 = null;
l1 ??= 42;
l1 ??= -42;
-
+// ^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+//^
+// [cfe] Operand of null-aware operation '??=' has type 'double' which excludes null.
}
main() {
@@ -63,6 +73,10 @@
d1 = null;
d1 ??= 42;
d1 ??= -42;
+// ^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+//^
+// [cfe] Operand of null-aware operation '??=' has type 'double' which excludes null.
foo();
C.staticMethod();
@@ -79,6 +93,10 @@
b1 = null;
b1 ??= 42;
b1 ??= -42;
+// ^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??=' has type 'double' which excludes null.
}
bar();
}
diff --git a/LanguageFeatures/int-to-double/assignment_local_variable_t02.dart b/LanguageFeatures/int-to-double/assignment_local_variable_t02.dart
index 01f4320..7e847e0 100644
--- a/LanguageFeatures/int-to-double/assignment_local_variable_t02.dart
+++ b/LanguageFeatures/int-to-double/assignment_local_variable_t02.dart
@@ -6,7 +6,6 @@
/// @description Checks that the static type of a double valued integer literal
/// is [double]. Test local variable assignment and hexadecimal literals
/// @author sgrekhov@unipro.ru
-/// @static-warning
class C {
@@ -22,6 +21,10 @@
s1 = null;
s1 ??= 0x42;
s1 ??= -0x42;
+// ^^^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??=' has type 'double' which excludes null.
}
void instanceMethod() {
@@ -35,6 +38,10 @@
m1 = null;
m1 ??= 0x42;
m1 ??= -0x42;
+// ^^^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??=' has type 'double' which excludes null.
}
}
@@ -49,6 +56,10 @@
l1 = null;
l1 ??= 0x42;
l1 ??= -0x42;
+// ^^^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+//^
+// [cfe] Operand of null-aware operation '??=' has type 'double' which excludes null.
}
@@ -63,6 +74,10 @@
d1 = null;
d1 ??= 0x42;
d1 ??= -0x42;
+// ^^^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+//^
+// [cfe] Operand of null-aware operation '??=' has type 'double' which excludes null.
foo();
C.staticMethod();
@@ -79,6 +94,10 @@
b1 = null;
b1 ??= 0x42;
b1 ??= -0x42;
+// ^^^^^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??=' has type 'double' which excludes null.
}
bar();
}
diff --git a/LanguageFeatures/int-to-double/assignment_this_t01.dart b/LanguageFeatures/int-to-double/assignment_this_t01.dart
index fea53d9..a33d5c9 100644
--- a/LanguageFeatures/int-to-double/assignment_this_t01.dart
+++ b/LanguageFeatures/int-to-double/assignment_this_t01.dart
@@ -5,7 +5,6 @@
/// @assertion The static type of a double valued integer literal is [double]
/// @description Checks that the static type of a double valued integer literal
/// is [double]. Test this assignment expression
-/// @static-warning
/// @author sgrekhov@unipro.ru
/// @issue 43461
@@ -22,11 +21,23 @@
this.m1 = (1 > 0 ? 42 : 3.14);
this.m1 = (null ?? 42);
this?.m1 = -42;
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] The receiver 'this' cannot be null.
this.m1 ??= 42;
this?.m1 ??= -42;
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] The receiver 'this' cannot be null.
this.instanceSetter = 42;
this?.instanceSetter = -42;
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] The receiver 'this' cannot be null.
}
}
diff --git a/LanguageFeatures/int-to-double/assignment_this_t02.dart b/LanguageFeatures/int-to-double/assignment_this_t02.dart
index b47c39b..fa57f9b 100644
--- a/LanguageFeatures/int-to-double/assignment_this_t02.dart
+++ b/LanguageFeatures/int-to-double/assignment_this_t02.dart
@@ -5,7 +5,6 @@
/// @assertion The static type of a double valued integer literal is [double]
/// @description Checks that the static type of a double valued integer literal
/// is [double]. Test this assignment expression and hexadecimal values
-/// @static-warning
/// @author sgrekhov@unipro.ru
/// @issue 43461
@@ -22,11 +21,23 @@
this.m1 = (1 > 0 ? 0x42 : 3.14);
this.m1 = (null ?? 0x42);
this?.m1 = -0x42;
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] The receiver 'this' cannot be null.
this.m1 ??= 0x42;
this?.m1 ??= -0x42;
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] The receiver 'this' cannot be null.
this.instanceSetter = 0x42;
this?.instanceSetter = -0x42;
+// ^^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] The receiver 'this' cannot be null.
}
}
diff --git a/LanguageFeatures/int-to-double/return_value_fail_t02.dart b/LanguageFeatures/int-to-double/return_value_fail_t02.dart
index fd013a4..71bfb77 100644
--- a/LanguageFeatures/int-to-double/return_value_fail_t02.dart
+++ b/LanguageFeatures/int-to-double/return_value_fail_t02.dart
@@ -6,22 +6,42 @@
/// @description Checks that the static type of a double valued integer literal
/// is [double]. Test that it is a compile error if expected type is not
/// precisely `double`
-/// @compile-error
/// @author sgrekhov@unipro.ru
class C<X extends double> {
- X get instanceGetter => 42; //# 01: compile-time error
- X get instanceGetter => 0x42; //# 02: compile-time error
- X instanceMethod() => 42; //# 03: compile-time error
- X instanceMethod() => 0x42; //# 04: compile-time error
+ X get instanceGetter1 => 42;
+// ^^
+// [analyzer] unspecified
+// [cfe] unspecified
+
+ X get instanceGetter2 => 0x42;
+// ^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
+ X instanceMethod1() => 42;
+// ^^
+// [analyzer] unspecified
+// [cfe] unspecified
+
+ X instanceMethod2() => 0x42;
+// ^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
+
}
-X foo<X extends double>() => 42; //# 05: compile-time error
-X foo<X extends double>() => 0x42; //# 06: compile-time error
+X foo1<X extends double>() => 42;
+// ^^
+// [analyzer] unspecified
+// [cfe] unspecified
+X foo2<X extends double>() => 0x42;
+// ^^^^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
C<double> c = new C<double>();
- foo<double>(); //# 05: compile-time error
- foo<double>(); //# 06: compile-time error
+ foo<double>();
+ foo<double>();
}
diff --git a/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A03_t01.dart b/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A03_t01.dart
index a08a9f4..a634389 100644
--- a/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A03_t01.dart
+++ b/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A03_t01.dart
@@ -8,7 +8,6 @@
/// constant type.
/// @description Checks that an expression of the form [e is T] is not accepted
/// if [e] is not a constant
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -16,4 +15,7 @@
main() {
const bool check = str is String;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A03_t02.dart b/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A03_t02.dart
index a24a9e5..e2bcfc2 100644
--- a/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A03_t02.dart
+++ b/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A03_t02.dart
@@ -8,7 +8,6 @@
/// constant type.
/// @description Checks that an expression of the form [e is T] is not accepted
/// if [e] is not a constant
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -17,6 +16,9 @@
class MyClass {
final String obj;
const MyClass() : obj = str is String ? "OK" : "incorrect";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A03_t03.dart b/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A03_t03.dart
index e323ee8..4918c1f 100644
--- a/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A03_t03.dart
+++ b/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A03_t03.dart
@@ -8,7 +8,6 @@
/// constant type.
/// @description Checks that an expression of the form [e is! T] is not accepted
/// if [e] is not a constant
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -16,4 +15,7 @@
main() {
const bool check = str is! String;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A03_t04.dart b/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A03_t04.dart
index 6a16133..a5b35b7 100644
--- a/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A03_t04.dart
+++ b/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A03_t04.dart
@@ -8,7 +8,6 @@
/// constant type.
/// @description Checks that an expression of the form [e is! T] is not accepted
/// if [e] is not a constant
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -17,6 +16,9 @@
class MyClass {
final String obj;
const MyClass() : obj = str is! String ? "OK" : "incorrect";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A03_t05.dart b/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A03_t05.dart
index 363cb6d..c8fdb2a 100644
--- a/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A03_t05.dart
+++ b/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A03_t05.dart
@@ -8,7 +8,6 @@
/// constant type.
/// @description Checks that an expression of the form [e is T] is not accepted
/// if [e] is not a constant
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -21,4 +20,7 @@
main() {
const MyClass c = MyClass(anObject);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A03_t06.dart b/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A03_t06.dart
index 70e9be5..8ce47b6 100644
--- a/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A03_t06.dart
+++ b/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A03_t06.dart
@@ -8,7 +8,6 @@
/// constant type.
/// @description Checks that an expression of the form [e is! T] is not accepted
/// if [e] is not a constant
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -21,4 +20,7 @@
main() {
const MyClass c = MyClass(anObject);
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A04_t02.dart b/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A04_t02.dart
index 3712ea6..29bdd70 100644
--- a/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A04_t02.dart
+++ b/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A04_t02.dart
@@ -8,12 +8,14 @@
/// constant type.
/// @description Checks that an expression of the form [e is T] is not accepted
/// and causes compile time error if [T] is not a compile-time constant type.
-/// @compile-error
/// @author iarkh@unipro.ru
class A<E> {
static const bool res = String is E;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A04_t04.dart b/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A04_t04.dart
index 90ec581..1977df1 100644
--- a/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A04_t04.dart
+++ b/LanguageFeatures/nnbd/Constant-update-2018/TypeTestOperator_A04_t04.dart
@@ -8,12 +8,14 @@
/// constant type.
/// @description Checks that an expression of the form [e is! T] is not accepted
/// and causes compile time error if [T] is not a compile-time constant type.
-/// @compile-error
/// @author iarkh@unipro.ru
class A<E> {
static const bool res = String is! E;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
main() {
diff --git a/LanguageFeatures/nnbd/exports_A02_t01.dart b/LanguageFeatures/nnbd/exports_A02_t01.dart
index b7c0b8f..85e4d4e 100644
--- a/LanguageFeatures/nnbd/exports_A02_t01.dart
+++ b/LanguageFeatures/nnbd/exports_A02_t01.dart
@@ -6,12 +6,14 @@
/// an unmigrated library.
/// @description Check that error is thrown if migrated library re-exports
/// symbols from migrated one in the strong mode.
-/// @compile-error
/// @Issue 44545
/// @author iarkh@unipro.ru
// Requirements=nnbd-strong
export "weak/exports_A02_opted_out_lib.dart";
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/LanguageFeatures/nnbd/import_legacy_lib_A01_t01.dart b/LanguageFeatures/nnbd/import_legacy_lib_A01_t01.dart
index f5e7bab..d0bfa93 100644
--- a/LanguageFeatures/nnbd/import_legacy_lib_A01_t01.dart
+++ b/LanguageFeatures/nnbd/import_legacy_lib_A01_t01.dart
@@ -12,7 +12,6 @@
///
/// @description Checks that compile error appears if legacy library is imported
/// in the strong mode.
-/// @compile-error
/// @Issue 44545
/// @author sgrekhov@unipro.ru
diff --git a/LanguageFeatures/nnbd/legacy_libraries_A01_t01.dart b/LanguageFeatures/nnbd/legacy_libraries_A01_t01.dart
index c9081b2..0ae3118 100644
--- a/LanguageFeatures/nnbd/legacy_libraries_A01_t01.dart
+++ b/LanguageFeatures/nnbd/legacy_libraries_A01_t01.dart
@@ -11,7 +11,6 @@
///
/// @description Checks that legacy code cannot run in the strong mode/
/// @Issue 44545
-/// @compile-error
/// @author iarkh@unipro.ru
// Requirements=nnbd-strong
diff --git a/LanguageFeatures/nnbd/null_aware_operator_A13_t13.dart b/LanguageFeatures/nnbd/null_aware_operator_A13_t13.dart
index b5614fc..55a9903 100644
--- a/LanguageFeatures/nnbd/null_aware_operator_A13_t13.dart
+++ b/LanguageFeatures/nnbd/null_aware_operator_A13_t13.dart
@@ -12,7 +12,6 @@
/// @author sgrekhov@unipro.ru
/// @issue 40369
/// @issue 40557
-/// @static-warning
// Requirements=nnbd-strong
import "../../Utils/expect.dart";
@@ -40,9 +39,17 @@
void testShort(C? x, int index, dynamic value) {
var actual = x?[index] ??= value;
+// ^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??=' has type 'int' which excludes null.
var n0 = x;
x?.init();
var expected = n0 == null ? null : n0[index] ??= value;
+// ^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??=' has type 'int' which excludes null.
Expect.equals(expected, actual);
}
diff --git a/LanguageFeatures/nnbd/null_aware_operator_A17_t01.dart b/LanguageFeatures/nnbd/null_aware_operator_A17_t01.dart
index 9a508c5..24342c8 100644
--- a/LanguageFeatures/nnbd/null_aware_operator_A17_t01.dart
+++ b/LanguageFeatures/nnbd/null_aware_operator_A17_t01.dart
@@ -11,7 +11,6 @@
/// as follows, where x and y are fresh object level variables.
/// fn[k : Exp -> Exp] : Exp =>
/// let x = EXP(e) in x == null ? null : let y = EXP(x.s) in k(x)
-/// @static-warning
/// @author sgrekhov@unipro.ru
/// @issue 39141
/// @issue 40959
@@ -36,17 +35,29 @@
main() {
C c1 = new C();
- var actual1 = c1 ?.. test1; /// static type warning
+ var actual1 = c1 ?.. test1;
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
var expected = c1;
Expect.equals(expected, actual1);
Expect.equals("test1 called 1 times, test2() called 0 times", c1.log);
- var actual2 = c1 ?.. test2(); /// static type warning
+ var actual2 = c1 ?.. test2();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
Expect.equals(expected, actual2);
Expect.equals("test1 called 1 times, test2() called 1 times", c1.log);
var actual3 = c1
- ?.. test1 /// static type warning
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
+ ?.. test1
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
.. test2();
Expect.equals(expected, actual3);
Expect.equals("test1 called 2 times, test2() called 2 times", c1.log);
@@ -65,17 +76,41 @@
c2 = new C();
var actual7 = c2 ?.. test1;
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
var expected2 = c2;
Expect.equals(expected2, actual7);
Expect.equals("test1 called 1 times, test2() called 0 times", c2?.log);
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
var actual8 = c2 ?.. test2();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
Expect.equals(expected2, actual8);
Expect.equals("test1 called 1 times, test2() called 1 times", c2?.log);
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
var actual9 = c2
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
?.. test1
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
.. test2();
Expect.equals(expected2, actual9);
Expect.equals("test1 called 2 times, test2() called 2 times", c2?.log);
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
}
diff --git a/LanguageFeatures/nnbd/null_aware_operator_A17_t06.dart b/LanguageFeatures/nnbd/null_aware_operator_A17_t06.dart
index 9eb0fc1..289739d 100644
--- a/LanguageFeatures/nnbd/null_aware_operator_A17_t06.dart
+++ b/LanguageFeatures/nnbd/null_aware_operator_A17_t06.dart
@@ -12,7 +12,6 @@
/// fn[k : Exp -> Exp] : Exp =>
/// let x = EXP(e) in x == null ? null : let y = EXP(x.s) in k(x)
/// Test cascade assignment
-/// @static-warning
/// @author sgrekhov@unipro.ru
/// @issue 39141
/// @issue 40959
@@ -30,17 +29,29 @@
main() {
C c1 = new C();
- var actual1 = c1 ?.. test1 = "Show must go on"; /// static type warning
+ var actual1 = c1 ?.. test1 = "Show must go on";
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
var expected = c1;
Expect.equals(expected, actual1);
Expect.equals("Show must go on", c1.test1);
- var actual2 = c1 ?.. test2 = "Lily was here"; /// static type warning
+ var actual2 = c1 ?.. test2 = "Lily was here";
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
Expect.equals(expected, actual2);
Expect.equals("Lily was here", c1._test2);
var actual3 = c1
- ?.. test1 = "Let it be" /// static type warning
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
+ ?.. test1 = "Let it be"
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
.. test2 = "Let it be";
Expect.equals(expected, actual3);
Expect.equals("Let it be", c1.test1);
@@ -60,18 +71,46 @@
c2 = new C();
var actual7 = c2 ?.. test1 = "Let it be";
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
var expected2 = c2;
Expect.equals(expected2, actual7);
Expect.equals("Let it be", c2?.test1);
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
var actual8 = c2 ?.. test2 = "Let it be";
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
Expect.equals(expected2, actual8);
Expect.equals("Let it be", c2?._test2);
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
var actual9 = c2
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
?.. test1 = "Show must go on"
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
.. test2 = "Show must go on";
Expect.equals(expected2, actual9);
Expect.equals("Show must go on", c2?.test1);
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
Expect.equals("Show must go on", c2?._test2);
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
}
diff --git a/LanguageFeatures/nnbd/null_aware_operator_A17_t07.dart b/LanguageFeatures/nnbd/null_aware_operator_A17_t07.dart
index 7ff3ca3..3cc3d37 100644
--- a/LanguageFeatures/nnbd/null_aware_operator_A17_t07.dart
+++ b/LanguageFeatures/nnbd/null_aware_operator_A17_t07.dart
@@ -12,7 +12,6 @@
/// fn[k : Exp -> Exp] : Exp =>
/// let x = EXP(e) in x == null ? null : let y = EXP(x.s) in k(x)
/// Test e ?.. m().n()
-/// @static-warning
/// @author sgrekhov@unipro.ru
/// @issue 39141
/// @issue 40959
@@ -45,13 +44,21 @@
main() {
C c1 = new C();
- var actual1 = c1 ?.. m1().m(); /// static type warning
+ var actual1 = c1 ?.. m1().m();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
var expected = c1;
Expect.equals(expected, actual1);
Expect.equals(1, c1.m1().counter);
var actual3 = c1
- ?.. m1().m() /// static type warning
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
+ ?.. m1().m()
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
.. m2().m();
Expect.equals(expected, actual3);
Expect.equals(2, c1.m1().counter);
@@ -68,12 +75,24 @@
c2 = new C();
var actual7 = c2 ?.. m1().m();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
var expected2 = c2;
Expect.equals(expected2, actual7);
Expect.equals(1, c2?.m1().counter);
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
var actual9 = c2
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
?.. m1().m()
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
.. m2().m();
Expect.equals(expected2, actual9);
Expect.equals(2, c2.m1().counter);
diff --git a/LanguageFeatures/nnbd/null_aware_operator_A17_t08.dart b/LanguageFeatures/nnbd/null_aware_operator_A17_t08.dart
index e0c07fa..468fcb5 100644
--- a/LanguageFeatures/nnbd/null_aware_operator_A17_t08.dart
+++ b/LanguageFeatures/nnbd/null_aware_operator_A17_t08.dart
@@ -12,7 +12,6 @@
/// fn[k : Exp -> Exp] : Exp =>
/// let x = EXP(e) in x == null ? null : let y = EXP(x.s) in k(x)
/// Test e ?.. m()?.f()
-/// @static-warning
/// @author sgrekhov@unipro.ru
/// @issue 39141
/// @issue 40959
@@ -45,7 +44,11 @@
main() {
C c1 = new C();
- var actual1 = c1 ?.. m1()?.m(); /// static type warning
+ var actual1 = c1 ?.. m1()?.m();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
var expected = c1;
Expect.equals(expected, actual1);
var val1 = c1.m1();
@@ -54,7 +57,11 @@
}
var actual2 = c1
- ?.. m1()?.m() /// static type warning
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
+ ?.. m1()?.m()
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
.. m2()?.m();
Expect.equals(expected, actual2);
var val2 = c1.m1();
@@ -67,12 +74,20 @@
}
c1.a1 = null;
- var actual3 = c1 ?.. m1()?.m(); /// static type warning
+ var actual3 = c1 ?.. m1()?.m();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
Expect.equals(expected, actual3);
Expect.equals(5, c1.counter1);
var actual4 = c1
- ?.. m1()?.m() /// static type warning
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
+ ?.. m1()?.m()
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
.. m2()?.m();
Expect.equals(expected, actual4);
var val4 = c1.m2();
@@ -86,22 +101,38 @@
if (c2 != null) {
var actual6 = c2
- ?.. m1()?.m() /// static type warning
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
+ ?.. m1()?.m()
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
.. m2()?.m();
Expect.isNull(actual6);
}
c2 = new C();
- var actual7 = c2 ?.. m1()?.m(); /// static type warning
+ var actual7 = c2 ?.. m1()?.m();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
var expected2 = c2;
Expect.equals(expected2, actual7);
- var val5 = c2?.m1(); /// static type warning
+ var val5 = c2?.m1();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
if (val5 != null) {
Expect.equals(1, val5.counter);
}
var actual8 = c2
- ?.. m1()?.m() /// static type warning
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
+ ?.. m1()?.m()
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
.. m2()?.m();
Expect.equals(expected2, actual8);
var val6 = c2.m1();
@@ -114,12 +145,20 @@
}
c1.a1 = null;
- var actual9 = c1 ?.. m1()?.m(); /// static type warning
+ var actual9 = c1 ?.. m1()?.m();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
Expect.equals(expected, actual9);
Expect.equals(7, c1.counter1);
var actual10 = c1
- ?.. m1()?.m() /// static type warning
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
+ ?.. m1()?.m()
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
.. m2()?.m();
Expect.equals(expected, actual10);
var val8 = c1.m2();
diff --git a/LanguageFeatures/nnbd/null_check_operator_A01_t01.dart b/LanguageFeatures/nnbd/null_check_operator_A01_t01.dart
index 924eeda..9b279ee 100644
--- a/LanguageFeatures/nnbd/null_check_operator_A01_t01.dart
+++ b/LanguageFeatures/nnbd/null_check_operator_A01_t01.dart
@@ -7,7 +7,6 @@
///
/// @description Check that an expression of the form e! evaluates e to a value
/// v, throws a runtime error if v is null. Test identifier
-/// @static-warning
/// @author sgrekhov@unipro.ru
/// @issue 39723
/// @issue 39724
@@ -31,8 +30,16 @@
Expect.throws(() {a!;});
Expect.throws(() {a!.foo();});
Expect.throws(() {a![42];});
- Expect.throws(() {a!?.foo();}); /// static type warning
- Expect.throws(() {a!?[42];}); /// static type warning
+ Expect.throws(() {a!?.foo();});
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'A' which excludes null.
+ Expect.throws(() {a!?[42];});
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'A' which excludes null.
Expect.throws(() {a!.s = "Lily was here";});
Expect.throws(() {a![0] = "Lily was here";});
A? a1 = new A();
diff --git a/LanguageFeatures/nnbd/null_check_operator_A03_t02.dart b/LanguageFeatures/nnbd/null_check_operator_A03_t02.dart
index 5d98fc9..3949ef2 100644
--- a/LanguageFeatures/nnbd/null_check_operator_A03_t02.dart
+++ b/LanguageFeatures/nnbd/null_check_operator_A03_t02.dart
@@ -8,7 +8,6 @@
/// @description Check that an expression of the form e! evaluates e to a value
/// v, throws no runtime error if v is not null. Test 'this!()' and 'this()!'
/// @author sgrekhov@unipro.ru
-/// @static-warning
/// @issue 39723
/// @issue 39598
@@ -19,8 +18,16 @@
extension on C {
test() {
- Expect.equals("Lily was here: 42", this!(42)); /// static type warning
- Expect.equals("Lily was here: 42", this(42)!); /// static type warning
+ Expect.equals("Lily was here: 42", this!(42));
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+// ^
+// [cfe] Operand of null-aware operation '!' has type 'C' which excludes null.
+ Expect.equals("Lily was here: 42", this(42)!);
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+// ^
+// [cfe] Operand of null-aware operation '!' has type 'String' which excludes null.
}
String call(int v) => "Lily was here: $v";
}
diff --git a/LanguageFeatures/nnbd/null_check_operator_A03_t03.dart b/LanguageFeatures/nnbd/null_check_operator_A03_t03.dart
index 0f6f7d7..e1869e7 100644
--- a/LanguageFeatures/nnbd/null_check_operator_A03_t03.dart
+++ b/LanguageFeatures/nnbd/null_check_operator_A03_t03.dart
@@ -8,7 +8,6 @@
/// @description Check that an expression of the form e! evaluates e to a value
/// v, throws no runtime error if v is not null. Test 'this!()' and 'this()!'
/// @author sgrekhov@unipro.ru
-/// @static-warning
/// @issue 39723
/// @issue 39598
@@ -18,8 +17,16 @@
class C {
test() {
- Expect.equals("Lily was here: 42", this!(42)); /// static type warning
- Expect.equals("Lily was here: 42", this(42)!); /// static type warning
+ Expect.equals("Lily was here: 42", this!(42));
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+// ^
+// [cfe] Operand of null-aware operation '!' has type 'C' which excludes null.
+ Expect.equals("Lily was here: 42", this(42)!);
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+// ^
+// [cfe] Operand of null-aware operation '!' has type 'String' which excludes null.
}
String call(int v) => "Lily was here: $v";
}
diff --git a/LanguageFeatures/nnbd/null_check_operator_A05_t02.dart b/LanguageFeatures/nnbd/null_check_operator_A05_t02.dart
index f524a01..2be93da 100644
--- a/LanguageFeatures/nnbd/null_check_operator_A05_t02.dart
+++ b/LanguageFeatures/nnbd/null_check_operator_A05_t02.dart
@@ -8,7 +8,6 @@
/// @description Check that an expression of the form e! evaluates e to a value
/// v, throws no runtime error if v is not null. Test 42
/// @author sgrekhov@unipro.ru
-/// @static-warning
/// @issue 39723
// Requirements=nnbd-strong
@@ -23,8 +22,24 @@
}
main() {
- Expect.equals("Lily was here 2 times", 42!(2)); /// static type warning
- Expect.equals(24, 42![24]); /// static type warning
- 42![24] = 24; /// static type warning
- 42!.s = 24; /// static type warning
+ Expect.equals("Lily was here 2 times", 42!(2));
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+// ^
+// [cfe] Operand of null-aware operation '!' has type 'int' which excludes null.
+ Expect.equals(24, 42![24]);
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+// ^
+// [cfe] Operand of null-aware operation '!' has type 'int' which excludes null.
+ 42![24] = 24;
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+//^
+// [cfe] Operand of null-aware operation '!' has type 'int' which excludes null.
+ 42!.s = 24;
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+//^
+// [cfe] Operand of null-aware operation '!' has type 'int' which excludes null.
}
diff --git a/LanguageFeatures/nnbd/null_check_operator_A06_t01.dart b/LanguageFeatures/nnbd/null_check_operator_A06_t01.dart
index 8527848..8f41dc1 100644
--- a/LanguageFeatures/nnbd/null_check_operator_A06_t01.dart
+++ b/LanguageFeatures/nnbd/null_check_operator_A06_t01.dart
@@ -7,7 +7,6 @@
///
/// @description Check that an expression of the form e! evaluates e to a value
/// v, throws a runtime error if v is null. Test constructor
-/// @static-warning
/// @author sgrekhov@unipro.ru
/// @issue 39723
/// @issue 39724
@@ -28,17 +27,53 @@
}
main() {
- new A()!; /// static type warning
- new A()!.foo(); /// static type warning
- new A()![42]; /// static type warning
- new A()!?.foo(); /// static type warning
- new A()!?[42]; /// static type warning
+ new A()!;
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+// ^
+// [cfe] Operand of null-aware operation '!' has type 'A' which excludes null.
+ new A()!.foo();
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+// ^
+// [cfe] Operand of null-aware operation '!' has type 'A' which excludes null.
+ new A()![42];
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+// ^
+// [cfe] Operand of null-aware operation '!' has type 'A' which excludes null.
+ new A()!?.foo();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'A' which excludes null.
+ new A()!?[42];
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'A' which excludes null.
new A().getValue!;
new A()[42]!;
- new A()!.s = "Lily was here"; /// static type warning
- new A()!?.s = "Lily was here"; /// static type warning
- new A()![0] = "Lily was here"; /// static type warning
- new A()!?[0] = "Lily was here"; /// static type warning
+ new A()!.s = "Lily was here";
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+// ^
+// [cfe] Operand of null-aware operation '!' has type 'A' which excludes null.
+ new A()!?.s = "Lily was here";
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'A' which excludes null.
+ new A()![0] = "Lily was here";
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+// ^
+// [cfe] Operand of null-aware operation '!' has type 'A' which excludes null.
+ new A()!?[0] = "Lily was here";
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'A' which excludes null.
Expect.throws(() {new A().getNull!;});
Expect.throws(() {new A()[null]!;});
}
diff --git a/LanguageFeatures/nnbd/null_check_operator_A06_t02.dart b/LanguageFeatures/nnbd/null_check_operator_A06_t02.dart
index 6be6ec1..18a8f08 100644
--- a/LanguageFeatures/nnbd/null_check_operator_A06_t02.dart
+++ b/LanguageFeatures/nnbd/null_check_operator_A06_t02.dart
@@ -8,7 +8,6 @@
/// @description Check that an expression of the form e! evaluates e to a value
/// v, throws a runtime error if v is null. Test generic class with named
/// constructor
-/// @static-warning
/// @author sgrekhov@unipro.ru
/// @issue 39723
/// @issue 39724
@@ -33,17 +32,53 @@
}
main() {
- new A<String>.named("Let's have fun")!; /// static type warning
- new A<String>.named("Let's have fun")!.foo(); /// static type warning
- new A<String>.named("Let's have fun")![42]; /// static type warning
- new A<String>.named("Let's have fun")!?.foo(); /// static type warning
- new A<String>.named("Let's have fun")!?[42]; /// static type warning
+ new A<String>.named("Let's have fun")!;
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+// ^
+// [cfe] Operand of null-aware operation '!' has type 'A<String>' which excludes null.
+ new A<String>.named("Let's have fun")!.foo();
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+// ^
+// [cfe] Operand of null-aware operation '!' has type 'A<String>' which excludes null.
+ new A<String>.named("Let's have fun")![42];
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+// ^
+// [cfe] Operand of null-aware operation '!' has type 'A<String>' which excludes null.
+ new A<String>.named("Let's have fun")!?.foo();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'A<String>' which excludes null.
+ new A<String>.named("Let's have fun")!?[42];
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'A<String>' which excludes null.
new A<String>.named("Let's have fun").getValue!;
new A<String>.named("Let's have fun")[42]!;
- new A<String>.named("Let's have fun")!.s = "Lily was here"; /// static type warning
- new A<String>.named("Let's have fun")!?.s = "Lily was here"; /// static type warning
- new A<String>.named("Let's have fun")![0] = "Lily was here"; /// static type warning
- new A<String>.named("Let's have fun")!?[0] = "Lily was here"; /// static type warning
+ new A<String>.named("Let's have fun")!.s = "Lily was here";
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+// ^
+// [cfe] Operand of null-aware operation '!' has type 'A<String>' which excludes null.
+ new A<String>.named("Let's have fun")!?.s = "Lily was here";
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'A<String>' which excludes null.
+ new A<String>.named("Let's have fun")![0] = "Lily was here";
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+// ^
+// [cfe] Operand of null-aware operation '!' has type 'A<String>' which excludes null.
+ new A<String>.named("Let's have fun")!?[0] = "Lily was here";
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'A<String>' which excludes null.
Expect.throws(() {new A<String>.named("Let's have fun").getNull!;});
Expect.throws(() {new A<String>.named("Let's have fun")[null]!;});
}
diff --git a/LanguageFeatures/nnbd/null_check_operator_A07_t02.dart b/LanguageFeatures/nnbd/null_check_operator_A07_t02.dart
index c02a4cc..89da07e 100644
--- a/LanguageFeatures/nnbd/null_check_operator_A07_t02.dart
+++ b/LanguageFeatures/nnbd/null_check_operator_A07_t02.dart
@@ -8,7 +8,6 @@
/// @description Check that an expression of the form e! evaluates e to a value
/// v, throws no runtime error if v is not null. Test (true)
/// @author sgrekhov@unipro.ru
-/// @static-warning
/// @issue 39723
// Requirements=nnbd-strong
@@ -23,8 +22,24 @@
}
main() {
- Expect.equals("Lily was here 2 times", true!(2)); /// static type warning
- Expect.equals(24, true![24]); /// static type warning
- true![24] = 24; /// static type warning
- true!.s = 24; /// static type warning
+ Expect.equals("Lily was here 2 times", true!(2));
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+// ^
+// [cfe] Operand of null-aware operation '!' has type 'bool' which excludes null.
+ Expect.equals(24, true![24]);
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+// ^
+// [cfe] Operand of null-aware operation '!' has type 'bool' which excludes null.
+ true![24] = 24;
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+//^
+// [cfe] Operand of null-aware operation '!' has type 'bool' which excludes null.
+ true!.s = 24;
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+//^
+// [cfe] Operand of null-aware operation '!' has type 'bool' which excludes null.
}
diff --git a/LanguageFeatures/nnbd/static/strong/exports_A01_t01.dart b/LanguageFeatures/nnbd/static/strong/exports_A01_t01.dart
index b21c51e..23706af 100644
--- a/LanguageFeatures/nnbd/static/strong/exports_A01_t01.dart
+++ b/LanguageFeatures/nnbd/static/strong/exports_A01_t01.dart
@@ -10,7 +10,6 @@
/// Please note that this test should not be executed with analyzer.
/// Dart throws a compile error here whereas analyzer just prints a hint, such a
/// behavior is expected.
-/// @compile-error
/// @Issue 44545
/// @author iarkh@unipro.ru
diff --git a/LanguageFeatures/nnbd/static_errors_A14_t03.dart b/LanguageFeatures/nnbd/static_errors_A14_t03.dart
index 2ad3896..d8cf0a8 100644
--- a/LanguageFeatures/nnbd/static_errors_A14_t03.dart
+++ b/LanguageFeatures/nnbd/static_errors_A14_t03.dart
@@ -15,7 +15,6 @@
/// @issue 39598
/// Language @issue https://github.com/dart-lang/language/issues/711
/// @author sgrekhov@unipro.ru
-/// @static-warning
// Requirements=nnbd-strong
typedef void Foo();
@@ -24,12 +23,28 @@
main() {
Function f1 = foo;
- f1?.toString(); /// static type warning
- f1 ?.. toString(); /// static type warning
+ f1?.toString();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?.' has type 'Function' which excludes null.
+ f1 ?.. toString();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?..' has type 'Function' which excludes null.
Foo f2 = foo;
- f2?.toString(); /// static type warning
- f2 ?.. toString(); /// static type warning
+ f2?.toString();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?.' has type 'void Function()' which excludes null.
+ f2 ?.. toString();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?..' has type 'void Function()' which excludes null.
}
diff --git a/LanguageFeatures/nnbd/static_errors_A14_t05.dart b/LanguageFeatures/nnbd/static_errors_A14_t05.dart
index 6ef62f0..b25eb33 100644
--- a/LanguageFeatures/nnbd/static_errors_A14_t05.dart
+++ b/LanguageFeatures/nnbd/static_errors_A14_t05.dart
@@ -13,7 +13,6 @@
/// Test some type A
/// @issue 38715
/// @issue 39598
-/// @static-warning
/// @author sgrekhov@unipro.ru
// Requirements=nnbd-strong
@@ -24,7 +23,19 @@
main() {
A a = new A();
- a?.test(); /// static type warning
- a ?.. test(); /// static type warning
- a?[0]; /// static type warning
+ a?.test();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?.' has type 'A' which excludes null.
+ a ?.. test();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?..' has type 'A' which excludes null.
+ a?[0];
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?.' has type 'A' which excludes null.
}
diff --git a/LanguageFeatures/nnbd/static_errors_A14_t13.dart b/LanguageFeatures/nnbd/static_errors_A14_t13.dart
index 62a6764..9cdba7e 100644
--- a/LanguageFeatures/nnbd/static_errors_A14_t13.dart
+++ b/LanguageFeatures/nnbd/static_errors_A14_t13.dart
@@ -13,7 +13,6 @@
/// Test FutureOr<A> for some A
/// @issue 38715
/// @author sgrekhov@unipro.ru
-/// @static-warning
// Requirements=nnbd-strong
import "dart:async";
@@ -23,6 +22,14 @@
main() {
FutureOr<A> a = new A();
- a?.toString(); /// static type warning
- a ?.. toString(); /// static type warning
+ a?.toString();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?.' has type 'FutureOr<A>' which excludes null.
+ a ?.. toString();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?..' has type 'FutureOr<A>' which excludes null.
}
diff --git a/LanguageFeatures/nnbd/static_errors_A17_t03.dart b/LanguageFeatures/nnbd/static_errors_A17_t03.dart
index c12b72d..b928c14 100644
--- a/LanguageFeatures/nnbd/static_errors_A17_t03.dart
+++ b/LanguageFeatures/nnbd/static_errors_A17_t03.dart
@@ -11,17 +11,40 @@
/// getter on a receiver of static type Never via a null aware operator.
/// @author sgrekhov@unipro.ru
/// @issue 39866
-/// @static-warning
// Requirements=nnbd-strong
void test(var x) {
if (x is Never) {
- x?.toString(); /// static type warning
- x?.runtimeType; /// static type warning
- x?.s = 1; /// static type warning
- x?..toString(); /// static type warning
- x?..runtimeType; /// static type warning
- x?..s = 1; /// static type warning
+ x?.toString();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'Never' which excludes null.
+ x?.runtimeType;
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'Never' which excludes null.
+ x?.s = 1;
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'Never' which excludes null.
+ x?..toString();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'Never' which excludes null.
+ x?..runtimeType;
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'Never' which excludes null.
+ x?..s = 1;
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'Never' which excludes null.
}
}
diff --git a/LanguageFeatures/nnbd/static_errors_A30_t04.dart b/LanguageFeatures/nnbd/static_errors_A30_t04.dart
index 553c360..1b15055 100644
--- a/LanguageFeatures/nnbd/static_errors_A30_t04.dart
+++ b/LanguageFeatures/nnbd/static_errors_A30_t04.dart
@@ -20,7 +20,6 @@
/// does not handle all enum cases, either explicitly or via a default.
/// @author sgrekhov@unipro.ru
/// @issue 40395
-/// @static-warning
// Requirements=nnbd-strong
@@ -31,7 +30,9 @@
}
main() {
E e = E.three;
- switch (e) { /// static type warning
+ switch (e) {
+//^
+// [analyzer] STATIC_WARNING.MISSING_ENUM_CONSTANT_IN_SWITCH
case E.one:
true;
break;
diff --git a/LanguageFeatures/nnbd/static_errors_A30_t07.dart b/LanguageFeatures/nnbd/static_errors_A30_t07.dart
index f0ef46a..04d697c 100644
--- a/LanguageFeatures/nnbd/static_errors_A30_t07.dart
+++ b/LanguageFeatures/nnbd/static_errors_A30_t07.dart
@@ -20,7 +20,6 @@
/// and the switch does not handle all enum cases and null, either explicitly or
/// via a default.
/// @author sgrekhov@unipro.ru
-/// @static-warning
// Requirements=nnbd-strong
@@ -32,7 +31,9 @@
main() {
E? e = E.three;
- switch (e) { /// static type warning
+ switch (e) {
+//^
+// [analyzer] STATIC_WARNING.MISSING_ENUM_CONSTANT_IN_SWITCH
case E.one:
true;
break;
diff --git a/LanguageFeatures/nnbd/static_errors_A30_t08.dart b/LanguageFeatures/nnbd/static_errors_A30_t08.dart
index 2e113c4..a301567 100644
--- a/LanguageFeatures/nnbd/static_errors_A30_t08.dart
+++ b/LanguageFeatures/nnbd/static_errors_A30_t08.dart
@@ -20,7 +20,6 @@
/// and the switch does not handle all enum cases and null, either explicitly or
/// via a default.
/// @author sgrekhov@unipro.ru
-/// @static-warning
// Requirements=nnbd-strong
@@ -32,7 +31,9 @@
main() {
var e = E.three as E?;
- switch (e) { /// static type warning
+ switch (e) {
+//^
+// [analyzer] STATIC_WARNING.MISSING_ENUM_CONSTANT_IN_SWITCH
case E.one:
true;
break;
diff --git a/LanguageFeatures/nnbd/syntax_A06_t01.dart b/LanguageFeatures/nnbd/syntax_A06_t01.dart
index cf42da2..539c74c 100644
--- a/LanguageFeatures/nnbd/syntax_A06_t01.dart
+++ b/LanguageFeatures/nnbd/syntax_A06_t01.dart
@@ -9,7 +9,6 @@
/// @description Check that the grammar of selectors is extended to allow
/// null-aware subscripting using the syntax e1?[e2] which evaluates to null if
/// e1 evaluates to null and otherwise evaluates as e1[e2].
-/// @static-warning
/// @author sgrekhov@unipro.ru
/// @issue 39865
@@ -26,5 +25,9 @@
C? c = null;
Expect.isNull(c?[42]);
c = new C();
- Expect.equals(4, c?[2]); /// static type warning
+ Expect.equals(4, c?[2]);
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
}
diff --git a/LanguageFeatures/nnbd/type-aliases/static_errors_A17_t04.dart b/LanguageFeatures/nnbd/type-aliases/static_errors_A17_t04.dart
index 95292b9..91e43ba 100644
--- a/LanguageFeatures/nnbd/type-aliases/static_errors_A17_t04.dart
+++ b/LanguageFeatures/nnbd/type-aliases/static_errors_A17_t04.dart
@@ -12,7 +12,6 @@
/// type aliases
/// @author sgrekhov@unipro.ru
/// @issue 39866
-/// @static-warning
// SharedOptions=--enable-experiment=nonfunction-type-aliases
// Requirements=nnbd-strong
@@ -20,12 +19,36 @@
void test(var x) {
if (x is Neverland) {
- x?.toString(); /// static type warning
- x?.runtimeType; /// static type warning
- x?.s = 1; /// static type warning
- x?..toString(); /// static type warning
- x?..runtimeType; /// static type warning
- x?..s = 1; /// static type warning
+ x?.toString();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'Never' which excludes null.
+ x?.runtimeType;
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'Never' which excludes null.
+ x?.s = 1;
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'Never' which excludes null.
+ x?..toString();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'Never' which excludes null.
+ x?..runtimeType;
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'Never' which excludes null.
+ x?..s = 1;
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'Never' which excludes null.
}
}
diff --git a/LanguageFeatures/nnbd/weak/null_aware_operator_A13_t13.dart b/LanguageFeatures/nnbd/weak/null_aware_operator_A13_t13.dart
index 99852bd..524530e 100644
--- a/LanguageFeatures/nnbd/weak/null_aware_operator_A13_t13.dart
+++ b/LanguageFeatures/nnbd/weak/null_aware_operator_A13_t13.dart
@@ -12,7 +12,6 @@
/// @author sgrekhov@unipro.ru
/// @issue 40369
/// @issue 40557
-/// @static-warning
// Requirements=nnbd-weak
import "../../../Utils/expect.dart";
@@ -40,9 +39,17 @@
void testShort(C? x, int index, dynamic value) {
var actual = x?[index] ??= value;
+// ^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??=' has type 'int' which excludes null.
var n0 = x;
x?.init();
var expected = n0 == null ? null : n0[index] ??= value;
+// ^
+// [analyzer] STATIC_WARNING.DEAD_NULL_AWARE_EXPRESSION
+// ^
+// [cfe] Operand of null-aware operation '??=' has type 'int' which excludes null.
Expect.equals(expected, actual);
}
diff --git a/LanguageFeatures/nnbd/weak/null_aware_operator_A17_t01.dart b/LanguageFeatures/nnbd/weak/null_aware_operator_A17_t01.dart
index 6b115ba..938d4c6 100644
--- a/LanguageFeatures/nnbd/weak/null_aware_operator_A17_t01.dart
+++ b/LanguageFeatures/nnbd/weak/null_aware_operator_A17_t01.dart
@@ -11,7 +11,6 @@
/// as follows, where x and y are fresh object level variables.
/// fn[k : Exp -> Exp] : Exp =>
/// let x = EXP(e) in x == null ? null : let y = EXP(x.s) in k(x)
-/// @static-warning
/// @author sgrekhov@unipro.ru
/// @issue 39141
/// @issue 40959
@@ -36,17 +35,29 @@
main() {
C c1 = new C();
- var actual1 = c1 ?.. test1; /// static type warning
+ var actual1 = c1 ?.. test1;
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
var expected = c1;
Expect.equals(expected, actual1);
Expect.equals("test1 called 1 times, test2() called 0 times", c1.log);
- var actual2 = c1 ?.. test2(); /// static type warning
+ var actual2 = c1 ?.. test2();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
Expect.equals(expected, actual2);
Expect.equals("test1 called 1 times, test2() called 1 times", c1.log);
var actual3 = c1
- ?.. test1 /// static type warning
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
+ ?.. test1
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
.. test2();
Expect.equals(expected, actual3);
Expect.equals("test1 called 2 times, test2() called 2 times", c1.log);
@@ -65,17 +76,41 @@
c2 = new C();
var actual7 = c2 ?.. test1;
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
var expected2 = c2;
Expect.equals(expected2, actual7);
Expect.equals("test1 called 1 times, test2() called 0 times", c2?.log);
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
var actual8 = c2 ?.. test2();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
Expect.equals(expected2, actual8);
Expect.equals("test1 called 1 times, test2() called 1 times", c2?.log);
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
var actual9 = c2
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
?.. test1
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
.. test2();
Expect.equals(expected2, actual9);
Expect.equals("test1 called 2 times, test2() called 2 times", c2?.log);
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
}
diff --git a/LanguageFeatures/nnbd/weak/null_aware_operator_A17_t03.dart b/LanguageFeatures/nnbd/weak/null_aware_operator_A17_t03.dart
index 016b5a5..f965656 100644
--- a/LanguageFeatures/nnbd/weak/null_aware_operator_A17_t03.dart
+++ b/LanguageFeatures/nnbd/weak/null_aware_operator_A17_t03.dart
@@ -12,7 +12,6 @@
/// fn[k : Exp -> Exp] : Exp =>
/// let x = EXP(e) in x == null ? null : let y = EXP(x.s) in k(x)
/// Test legacy pre-NNBD types
-/// @static-warning
/// @author sgrekhov@unipro.ru
/// @issue 40959
@@ -23,17 +22,29 @@
main() {
A a1 = new A();
- var actual1 = a1 ?.. test(); /// static type warning
+ var actual1 = a1 ?.. test();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'A' which excludes null.
var expected = a1;
Expect.equals(expected, actual1);
Expect.equals("test() called 1 times, text2 called 0 times", a1.log);
- var actual2 = a1 ?.. text2; /// static type warning
+ var actual2 = a1 ?.. text2;
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'A' which excludes null.
Expect.equals(expected, actual2);
Expect.equals("test() called 1 times, text2 called 1 times", a1.log);
var actual3 = a1
- ?.. test() /// static type warning
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'A' which excludes null.
+ ?.. test()
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
.. text2;
Expect.equals(expected, actual3);
Expect.equals("test() called 2 times, text2 called 2 times", a1.log);
@@ -52,18 +63,42 @@
a2 = new A();
var actual7 = a2 ?.. test();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'A' which excludes null.
var expected2 = a2;
Expect.equals(expected2, actual7);
Expect.equals("test() called 1 times, text2 called 0 times", a2?.log);
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'A' which excludes null.
var actual8 = a2 ?.. text2;
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'A' which excludes null.
Expect.equals(expected2, actual8);
Expect.equals("test() called 1 times, text2 called 1 times", a2?.log);
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'A' which excludes null.
var actual9 = a2
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'A' which excludes null.
?.. test()
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
.. text2;
Expect.equals(expected2, actual9);
Expect.equals("test() called 2 times, text2 called 2 times", a2?.log);
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'A' which excludes null.
}
diff --git a/LanguageFeatures/nnbd/weak/null_aware_operator_A17_t06.dart b/LanguageFeatures/nnbd/weak/null_aware_operator_A17_t06.dart
index fb41f40..acb90fd 100644
--- a/LanguageFeatures/nnbd/weak/null_aware_operator_A17_t06.dart
+++ b/LanguageFeatures/nnbd/weak/null_aware_operator_A17_t06.dart
@@ -12,7 +12,6 @@
/// fn[k : Exp -> Exp] : Exp =>
/// let x = EXP(e) in x == null ? null : let y = EXP(x.s) in k(x)
/// Test cascade assignment
-/// @static-warning
/// @author sgrekhov@unipro.ru
/// @issue 39141
/// @issue 40959
@@ -30,17 +29,29 @@
main() {
C c1 = new C();
- var actual1 = c1 ?.. test1 = "Show must go on"; /// static type warning
+ var actual1 = c1 ?.. test1 = "Show must go on";
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
var expected = c1;
Expect.equals(expected, actual1);
Expect.equals("Show must go on", c1.test1);
- var actual2 = c1 ?.. test2 = "Lily was here"; /// static type warning
+ var actual2 = c1 ?.. test2 = "Lily was here";
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
Expect.equals(expected, actual2);
Expect.equals("Lily was here", c1._test2);
var actual3 = c1
- ?.. test1 = "Let it be" /// static type warning
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
+ ?.. test1 = "Let it be"
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
.. test2 = "Let it be";
Expect.equals(expected, actual3);
Expect.equals("Let it be", c1.test1);
@@ -60,18 +71,46 @@
c2 = new C();
var actual7 = c2 ?.. test1 = "Let it be";
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
var expected2 = c2;
Expect.equals(expected2, actual7);
Expect.equals("Let it be", c2?.test1);
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
var actual8 = c2 ?.. test2 = "Let it be";
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
Expect.equals(expected2, actual8);
Expect.equals("Let it be", c2?._test2);
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
var actual9 = c2
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
?.. test1 = "Show must go on"
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
.. test2 = "Show must go on";
Expect.equals(expected2, actual9);
Expect.equals("Show must go on", c2?.test1);
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
Expect.equals("Show must go on", c2?._test2);
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
}
diff --git a/LanguageFeatures/nnbd/weak/null_aware_operator_A17_t07.dart b/LanguageFeatures/nnbd/weak/null_aware_operator_A17_t07.dart
index 3c43f24..efb39d3 100644
--- a/LanguageFeatures/nnbd/weak/null_aware_operator_A17_t07.dart
+++ b/LanguageFeatures/nnbd/weak/null_aware_operator_A17_t07.dart
@@ -12,7 +12,6 @@
/// fn[k : Exp -> Exp] : Exp =>
/// let x = EXP(e) in x == null ? null : let y = EXP(x.s) in k(x)
/// Test e ?.. m().n()
-/// @static-warning
/// @author sgrekhov@unipro.ru
/// @issue 39141
/// @issue 40959
@@ -45,13 +44,21 @@
main() {
C c1 = new C();
- var actual1 = c1 ?.. m1().m(); /// static type warning
+ var actual1 = c1 ?.. m1().m();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
var expected = c1;
Expect.equals(expected, actual1);
Expect.equals(1, c1.m1().counter);
var actual3 = c1
- ?.. m1().m() /// static type warning
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
+ ?.. m1().m()
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
.. m2().m();
Expect.equals(expected, actual3);
Expect.equals(2, c1.m1().counter);
@@ -68,12 +75,24 @@
c2 = new C();
var actual7 = c2 ?.. m1().m();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
var expected2 = c2;
Expect.equals(expected2, actual7);
Expect.equals(1, c2?.m1().counter);
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
var actual9 = c2
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
?.. m1().m()
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
.. m2().m();
Expect.equals(expected2, actual9);
Expect.equals(2, c2.m1().counter);
diff --git a/LanguageFeatures/nnbd/weak/null_aware_operator_A17_t08.dart b/LanguageFeatures/nnbd/weak/null_aware_operator_A17_t08.dart
index 9ebc39f..4c32bcd 100644
--- a/LanguageFeatures/nnbd/weak/null_aware_operator_A17_t08.dart
+++ b/LanguageFeatures/nnbd/weak/null_aware_operator_A17_t08.dart
@@ -12,7 +12,6 @@
/// fn[k : Exp -> Exp] : Exp =>
/// let x = EXP(e) in x == null ? null : let y = EXP(x.s) in k(x)
/// Test e ?.. m()?.f()
-/// @static-warning
/// @author sgrekhov@unipro.ru
/// @issue 39141
/// @issue 40959
@@ -45,7 +44,11 @@
main() {
C c1 = new C();
- var actual1 = c1 ?.. m1()?.m(); /// static type warning
+ var actual1 = c1 ?.. m1()?.m();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
var expected = c1;
Expect.equals(expected, actual1);
var val1 = c1.m1();
@@ -54,7 +57,11 @@
}
var actual2 = c1
- ?.. m1()?.m() /// static type warning
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
+ ?.. m1()?.m()
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
.. m2()?.m();
Expect.equals(expected, actual2);
var val2 = c1.m1();
@@ -67,12 +74,20 @@
}
c1.a1 = null;
- var actual3 = c1 ?.. m1()?.m(); /// static type warning
+ var actual3 = c1 ?.. m1()?.m();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
Expect.equals(expected, actual3);
Expect.equals(5, c1.counter1);
var actual4 = c1
- ?.. m1()?.m() /// static type warning
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
+ ?.. m1()?.m()
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
.. m2()?.m();
Expect.equals(expected, actual4);
var val4 = c1.m2();
@@ -86,22 +101,38 @@
if (c2 != null) {
var actual6 = c2
- ?.. m1()?.m() /// static type warning
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
+ ?.. m1()?.m()
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
.. m2()?.m();
Expect.isNull(actual6);
}
c2 = new C();
- var actual7 = c2 ?.. m1()?.m(); /// static type warning
+ var actual7 = c2 ?.. m1()?.m();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
var expected2 = c2;
Expect.equals(expected2, actual7);
- var val5 = c2?.m1(); /// static type warning
+ var val5 = c2?.m1();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
if (val5 != null) {
Expect.equals(1, val5.counter);
}
var actual8 = c2
- ?.. m1()?.m() /// static type warning
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
+ ?.. m1()?.m()
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
.. m2()?.m();
Expect.equals(expected2, actual8);
var val6 = c2.m1();
@@ -114,12 +145,20 @@
}
c1.a1 = null;
- var actual9 = c1 ?.. m1()?.m(); /// static type warning
+ var actual9 = c1 ?.. m1()?.m();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
Expect.equals(expected, actual9);
Expect.equals(7, c1.counter1);
var actual10 = c1
- ?.. m1()?.m() /// static type warning
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'C' which excludes null.
+ ?.. m1()?.m()
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
.. m2()?.m();
Expect.equals(expected, actual10);
var val8 = c1.m2();
diff --git a/LanguageFeatures/nnbd/weak/null_check_operator_A01_t01.dart b/LanguageFeatures/nnbd/weak/null_check_operator_A01_t01.dart
index a668a77..9eab309 100644
--- a/LanguageFeatures/nnbd/weak/null_check_operator_A01_t01.dart
+++ b/LanguageFeatures/nnbd/weak/null_check_operator_A01_t01.dart
@@ -7,7 +7,6 @@
///
/// @description Check that an expression of the form e! evaluates e to a value
/// v, throws a runtime error if v is null. Test identifier
-/// @static-warning
/// @author sgrekhov@unipro.ru
/// @issue 39723
/// @issue 39724
@@ -31,8 +30,16 @@
Expect.throws(() {a!;});
Expect.throws(() {a!.foo();});
Expect.throws(() {a![42];});
- Expect.throws(() {a!?.foo();}); /// static type warning
- Expect.throws(() {a!?[42];}); /// static type warning
+ Expect.throws(() {a!?.foo();});
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'A' which excludes null.
+ Expect.throws(() {a!?[42];});
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'A' which excludes null.
Expect.throws(() {a!.s = "Lily was here";});
Expect.throws(() {a![0] = "Lily was here";});
A? a1 = new A();
diff --git a/LanguageFeatures/nnbd/weak/null_check_operator_A03_t02.dart b/LanguageFeatures/nnbd/weak/null_check_operator_A03_t02.dart
index 3ba3cac..8bc0eb3 100644
--- a/LanguageFeatures/nnbd/weak/null_check_operator_A03_t02.dart
+++ b/LanguageFeatures/nnbd/weak/null_check_operator_A03_t02.dart
@@ -8,7 +8,6 @@
/// @description Check that an expression of the form e! evaluates e to a value
/// v, throws no runtime error if v is not null. Test 'this!()' and 'this()!'
/// @author sgrekhov@unipro.ru
-/// @static-warning
/// @issue 39723
/// @issue 39598
@@ -19,8 +18,16 @@
extension on C {
test() {
- Expect.equals("Lily was here: 42", this!(42)); /// static type warning
- Expect.equals("Lily was here: 42", this(42)!); /// static type warning
+ Expect.equals("Lily was here: 42", this!(42));
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+// ^
+// [cfe] Operand of null-aware operation '!' has type 'C' which excludes null.
+ Expect.equals("Lily was here: 42", this(42)!);
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+// ^
+// [cfe] Operand of null-aware operation '!' has type 'String' which excludes null.
}
String call(int v) => "Lily was here: $v";
}
diff --git a/LanguageFeatures/nnbd/weak/null_check_operator_A03_t03.dart b/LanguageFeatures/nnbd/weak/null_check_operator_A03_t03.dart
index d3d806d..1c050a5 100644
--- a/LanguageFeatures/nnbd/weak/null_check_operator_A03_t03.dart
+++ b/LanguageFeatures/nnbd/weak/null_check_operator_A03_t03.dart
@@ -8,7 +8,6 @@
/// @description Check that an expression of the form e! evaluates e to a value
/// v, throws no runtime error if v is not null. Test 'this!()' and 'this()!'
/// @author sgrekhov@unipro.ru
-/// @static-warning
/// @issue 39723
/// @issue 39598
@@ -18,8 +17,16 @@
class C {
test() {
- Expect.equals("Lily was here: 42", this!(42)); /// static type warning
- Expect.equals("Lily was here: 42", this(42)!); /// static type warning
+ Expect.equals("Lily was here: 42", this!(42));
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+// ^
+// [cfe] Operand of null-aware operation '!' has type 'C' which excludes null.
+ Expect.equals("Lily was here: 42", this(42)!);
+// ^
+// [analyzer] STATIC_WARNING.UNNECESSARY_NON_NULL_ASSERTION
+// ^
+// [cfe] Operand of null-aware operation '!' has type 'String' which excludes null.
}
String call(int v) => "Lily was here: $v";
}
diff --git a/LanguageFeatures/nnbd/weak/static_errors_A14_t03.dart b/LanguageFeatures/nnbd/weak/static_errors_A14_t03.dart
index f2be564..0a79005 100644
--- a/LanguageFeatures/nnbd/weak/static_errors_A14_t03.dart
+++ b/LanguageFeatures/nnbd/weak/static_errors_A14_t03.dart
@@ -15,7 +15,6 @@
/// @issue 39598
/// Language @issue https://github.com/dart-lang/language/issues/711
/// @author sgrekhov@unipro.ru
-/// @static-warning
// Requirements=nnbd-weak
typedef void Foo();
@@ -24,12 +23,28 @@
main() {
Function f1 = foo;
- f1?.toString(); /// static type warning
- f1 ?.. toString(); /// static type warning
+ f1?.toString();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?.' has type 'Function' which excludes null.
+ f1 ?.. toString();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?..' has type 'Function' which excludes null.
Foo f2 = foo;
- f2?.toString(); /// static type warning
- f2 ?.. toString(); /// static type warning
+ f2?.toString();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?.' has type 'void Function()' which excludes null.
+ f2 ?.. toString();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?..' has type 'void Function()' which excludes null.
}
diff --git a/LanguageFeatures/nnbd/weak/static_errors_A14_t05.dart b/LanguageFeatures/nnbd/weak/static_errors_A14_t05.dart
index ce8a5df..af9068b 100644
--- a/LanguageFeatures/nnbd/weak/static_errors_A14_t05.dart
+++ b/LanguageFeatures/nnbd/weak/static_errors_A14_t05.dart
@@ -13,7 +13,6 @@
/// Test some type A
/// @issue 38715
/// @issue 39598
-/// @static-warning
/// @author sgrekhov@unipro.ru
// Requirements=nnbd-weak
@@ -24,7 +23,19 @@
main() {
A a = new A();
- a?.test(); /// static type warning
- a ?.. test(); /// static type warning
- a?[0]; /// static type warning
+ a?.test();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?.' has type 'A' which excludes null.
+ a ?.. test();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?..' has type 'A' which excludes null.
+ a?[0];
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?.' has type 'A' which excludes null.
}
diff --git a/LanguageFeatures/nnbd/weak/static_errors_A14_t07.dart b/LanguageFeatures/nnbd/weak/static_errors_A14_t07.dart
index d210a5e..4ba6d69 100644
--- a/LanguageFeatures/nnbd/weak/static_errors_A14_t07.dart
+++ b/LanguageFeatures/nnbd/weak/static_errors_A14_t07.dart
@@ -13,14 +13,25 @@
/// Test some type A*, where A is non-nullable
/// @issue 38715
/// @author sgrekhov@unipro.ru
-/// @static-warning
// Requirements=nnbd-weak
import "legacy_lib.dart";
main() {
A a = new A();
- a?.test(); /// static type warning
- a ?.. test(); /// static type warning
- a?[0]; /// static type warning
+ a?.test();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?.' has type 'A' which excludes null.
+ a ?.. test();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?..' has type 'A' which excludes null.
+ a?[0];
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?.' has type 'A' which excludes null.
}
diff --git a/LanguageFeatures/nnbd/weak/static_errors_A14_t08.dart b/LanguageFeatures/nnbd/weak/static_errors_A14_t08.dart
index 7206329..486207c 100644
--- a/LanguageFeatures/nnbd/weak/static_errors_A14_t08.dart
+++ b/LanguageFeatures/nnbd/weak/static_errors_A14_t08.dart
@@ -13,7 +13,6 @@
/// Test some type A*, where A is nullable
/// @issue 38715
/// @issue 39865
-/// @static-warning
/// @author sgrekhov@unipro.ru
// Requirements=nnbd-weak
@@ -26,7 +25,19 @@
a?[0];
a = new A();
- a?.test(); /// static type warning
- a ?.. test(); /// static type warning
- a?[0]; /// static type warning
+ a?.test();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?.' has type 'A' which excludes null.
+ a ?.. test();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?..' has type 'A' which excludes null.
+ a?[0];
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?.' has type 'A' which excludes null.
}
diff --git a/LanguageFeatures/nnbd/weak/static_errors_A14_t10.dart b/LanguageFeatures/nnbd/weak/static_errors_A14_t10.dart
index 5289c2c..7561380 100644
--- a/LanguageFeatures/nnbd/weak/static_errors_A14_t10.dart
+++ b/LanguageFeatures/nnbd/weak/static_errors_A14_t10.dart
@@ -13,7 +13,6 @@
/// Test FutureOr<A*>, where A is non-nullable
/// @issue 38715
/// @author sgrekhov@unipro.ru
-/// @static-warning
// Requirements=nnbd-weak
import "legacy_lib.dart";
@@ -21,6 +20,14 @@
main() {
FutureOr<A> a = new A();
- a?.toString(); /// static type warning
- a ?.. toString(); /// static type warning
+ a?.toString();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?.' has type 'FutureOr<A>' which excludes null.
+ a ?.. toString();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?..' has type 'FutureOr<A>' which excludes null.
}
diff --git a/LanguageFeatures/nnbd/weak/static_errors_A14_t13.dart b/LanguageFeatures/nnbd/weak/static_errors_A14_t13.dart
index 9accc17..b389283 100644
--- a/LanguageFeatures/nnbd/weak/static_errors_A14_t13.dart
+++ b/LanguageFeatures/nnbd/weak/static_errors_A14_t13.dart
@@ -13,7 +13,6 @@
/// Test FutureOr<A> for some A
/// @issue 38715
/// @author sgrekhov@unipro.ru
-/// @static-warning
// Requirements=nnbd-weak
import "dart:async";
@@ -23,6 +22,14 @@
main() {
FutureOr<A> a = new A();
- a?.toString(); /// static type warning
- a ?.. toString(); /// static type warning
+ a?.toString();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?.' has type 'FutureOr<A>' which excludes null.
+ a ?.. toString();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+//^
+// [cfe] Operand of null-aware operation '?..' has type 'FutureOr<A>' which excludes null.
}
diff --git a/LanguageFeatures/nnbd/weak/static_errors_A17_t03.dart b/LanguageFeatures/nnbd/weak/static_errors_A17_t03.dart
index 5b03d65..c5d0614 100644
--- a/LanguageFeatures/nnbd/weak/static_errors_A17_t03.dart
+++ b/LanguageFeatures/nnbd/weak/static_errors_A17_t03.dart
@@ -11,17 +11,40 @@
/// getter on a receiver of static type Never via a null aware operator.
/// @author sgrekhov@unipro.ru
/// @issue 39866
-/// @static-warning
// Requirements=nnbd-weak
void test(var x) {
if (x is Never) {
- x?.toString(); /// static type warning
- x?.runtimeType; /// static type warning
- x?.s = 1; /// static type warning
- x?..toString(); /// static type warning
- x?..runtimeType; /// static type warning
- x?..s = 1; /// static type warning
+ x?.toString();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'Never' which excludes null.
+ x?.runtimeType;
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'Never' which excludes null.
+ x?.s = 1;
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'Never' which excludes null.
+ x?..toString();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'Never' which excludes null.
+ x?..runtimeType;
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'Never' which excludes null.
+ x?..s = 1;
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'Never' which excludes null.
}
}
diff --git a/LanguageFeatures/nnbd/weak/static_errors_A30_t04.dart b/LanguageFeatures/nnbd/weak/static_errors_A30_t04.dart
index 0da1d15..37b63da 100644
--- a/LanguageFeatures/nnbd/weak/static_errors_A30_t04.dart
+++ b/LanguageFeatures/nnbd/weak/static_errors_A30_t04.dart
@@ -20,7 +20,6 @@
/// does not handle all enum cases, either explicitly or via a default.
/// @author sgrekhov@unipro.ru
/// @issue 40395
-/// @static-warning
// Requirements=nnbd-weak
@@ -31,7 +30,9 @@
}
main() {
E e = E.three;
- switch (e) { /// static type warning
+ switch (e) {
+//^
+// [analyzer] STATIC_WARNING.MISSING_ENUM_CONSTANT_IN_SWITCH
case E.one:
true;
break;
diff --git a/LanguageFeatures/nnbd/weak/static_errors_A30_t07.dart b/LanguageFeatures/nnbd/weak/static_errors_A30_t07.dart
index eec05f0..06f1b1b 100644
--- a/LanguageFeatures/nnbd/weak/static_errors_A30_t07.dart
+++ b/LanguageFeatures/nnbd/weak/static_errors_A30_t07.dart
@@ -20,7 +20,6 @@
/// and the switch does not handle all enum cases and null, either explicitly or
/// via a default.
/// @author sgrekhov@unipro.ru
-/// @static-warning
// Requirements=nnbd-weak
@@ -32,7 +31,9 @@
main() {
E? e = E.three;
- switch (e) { /// static type warning
+ switch (e) {
+//^
+// [analyzer] STATIC_WARNING.MISSING_ENUM_CONSTANT_IN_SWITCH
case E.one:
true;
break;
diff --git a/LanguageFeatures/nnbd/weak/static_errors_A30_t08.dart b/LanguageFeatures/nnbd/weak/static_errors_A30_t08.dart
index 3922ba6..761c906 100644
--- a/LanguageFeatures/nnbd/weak/static_errors_A30_t08.dart
+++ b/LanguageFeatures/nnbd/weak/static_errors_A30_t08.dart
@@ -20,7 +20,6 @@
/// and the switch does not handle all enum cases and null, either explicitly or
/// via a default.
/// @author sgrekhov@unipro.ru
-/// @static-warning
// Requirements=nnbd-weak
@@ -32,7 +31,9 @@
main() {
var e = E.three as E?;
- switch (e) { /// static type warning
+ switch (e) {
+//^
+// [analyzer] STATIC_WARNING.MISSING_ENUM_CONSTANT_IN_SWITCH
case E.one:
true;
break;
diff --git a/LanguageFeatures/nnbd/weak/syntax_A06_t01.dart b/LanguageFeatures/nnbd/weak/syntax_A06_t01.dart
index cc11596..e5ee3e7 100644
--- a/LanguageFeatures/nnbd/weak/syntax_A06_t01.dart
+++ b/LanguageFeatures/nnbd/weak/syntax_A06_t01.dart
@@ -9,7 +9,6 @@
/// @description Check that the grammar of selectors is extended to allow
/// null-aware subscripting using the syntax e1?[e2] which evaluates to null if
/// e1 evaluates to null and otherwise evaluates as e1[e2].
-/// @static-warning
/// @author sgrekhov@unipro.ru
/// @issue 39865
@@ -25,5 +24,9 @@
C? c = null;
Expect.isNull(c?[42]);
c = new C();
- Expect.equals(4, c?[2]); /// static type warning
+ Expect.equals(4, c?[2]);
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'C' which excludes null.
}
diff --git a/LanguageFeatures/nnbd/weak/syntax_A06_t03.dart b/LanguageFeatures/nnbd/weak/syntax_A06_t03.dart
index 1a21325..39d2b45 100644
--- a/LanguageFeatures/nnbd/weak/syntax_A06_t03.dart
+++ b/LanguageFeatures/nnbd/weak/syntax_A06_t03.dart
@@ -10,7 +10,6 @@
/// null-aware subscripting using the syntax e1?[e2] which evaluates to null if
/// e1 evaluates to null and otherwise evaluates as e1[e2]. Test legacy pre-NNBD
/// types
-/// @static-warning
/// @author sgrekhov@unipro.ru
/// @issue 39865
@@ -22,5 +21,9 @@
A? a = null;
Expect.isNull(a?[42]);
a = new A();
- Expect.equals(42, a?[42]); /// static type warning
+ Expect.equals(42, a?[42]);
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'A' which excludes null.
}
diff --git a/LanguageFeatures/nnbd/weak/type-aliases/static_errors_A17_t04.dart b/LanguageFeatures/nnbd/weak/type-aliases/static_errors_A17_t04.dart
index f636a3a..01ca95f 100644
--- a/LanguageFeatures/nnbd/weak/type-aliases/static_errors_A17_t04.dart
+++ b/LanguageFeatures/nnbd/weak/type-aliases/static_errors_A17_t04.dart
@@ -12,7 +12,6 @@
/// type aliases
/// @author sgrekhov@unipro.ru
/// @issue 39866
-/// @static-warning
// SharedOptions=--enable-experiment=nonfunction-type-aliases
// Requirements=nnbd-weak
@@ -20,12 +19,36 @@
void test(var x) {
if (x is Neverland) {
- x?.toString(); /// static type warning
- x?.runtimeType; /// static type warning
- x?.s = 1; /// static type warning
- x?..toString(); /// static type warning
- x?..runtimeType; /// static type warning
- x?..s = 1; /// static type warning
+ x?.toString();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'Never' which excludes null.
+ x?.runtimeType;
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'Never' which excludes null.
+ x?.s = 1;
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?.' has type 'Never' which excludes null.
+ x?..toString();
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'Never' which excludes null.
+ x?..runtimeType;
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'Never' which excludes null.
+ x?..s = 1;
+// ^
+// [analyzer] STATIC_WARNING.INVALID_NULL_AWARE_OPERATOR
+// ^
+// [cfe] Operand of null-aware operation '?..' has type 'Never' which excludes null.
}
}
diff --git a/LanguageFeatures/regression/33184.dart b/LanguageFeatures/regression/33184.dart
index 3286697..890bedb 100644
--- a/LanguageFeatures/regression/33184.dart
+++ b/LanguageFeatures/regression/33184.dart
@@ -4,10 +4,12 @@
/// @description Regression test for the issue 33184 (No error when run dart
/// class with incorrect instantiation to bound)
-/// @compile-error
/// @Issue 33184
/// @author iarkh@unipro.ru
class D<T extends Comparable<T>> {}
class E<T extends D> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/LanguageFeatures/regression/33421_t01.dart b/LanguageFeatures/regression/33421_t01.dart
index 06eef93..8f7fdd2 100644
--- a/LanguageFeatures/regression/33421_t01.dart
+++ b/LanguageFeatures/regression/33421_t01.dart
@@ -5,10 +5,12 @@
/// @description Regression test for issue 33421 (Dart does not throw error when
/// type parameter is a supertype of its upper bound): checks that type parameter
/// cannot extend itself
-/// @compile-error
/// @Issue 33421
/// @author iarkh@unipro.ru
class A<X extends X> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/LanguageFeatures/regression/33421_t02.dart b/LanguageFeatures/regression/33421_t02.dart
index 8d7d151..59b409e 100644
--- a/LanguageFeatures/regression/33421_t02.dart
+++ b/LanguageFeatures/regression/33421_t02.dart
@@ -5,10 +5,12 @@
/// @description Regression test for issue 33421 (Dart does not throw error when
/// type parameter is a supertype of its upper bound): checks that two class type
/// parameters cannot extend each other.
-/// @compile-error
/// @Issue 33421
/// @author iarkh@unipro.ru
class A<X extends X1, X1 extends X> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/LanguageFeatures/regression/33421_t03.dart b/LanguageFeatures/regression/33421_t03.dart
index bb17702..848c725 100644
--- a/LanguageFeatures/regression/33421_t03.dart
+++ b/LanguageFeatures/regression/33421_t03.dart
@@ -9,10 +9,14 @@
/// class B<X extends A> {}
/// @Issue 33421
/// @author iarkh@unipro.ru
-/// @compile-error
class A<X extends B> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class B<X extends A> {}
+// ^
+// [analyzer] unspecified
main() {}
diff --git a/LanguageFeatures/regression/33421_t04.dart b/LanguageFeatures/regression/33421_t04.dart
index b0351ee..0c4c3a9 100644
--- a/LanguageFeatures/regression/33421_t04.dart
+++ b/LanguageFeatures/regression/33421_t04.dart
@@ -6,8 +6,10 @@
/// type parameter is a supertype of its upper bound): Checks that class cannot
/// extend itself.
/// @Issue 33421
-/// @compile-error
/// @author iarkh@unipro.ru
class C extends C {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/LanguageFeatures/regression/33585_t01.dart b/LanguageFeatures/regression/33585_t01.dart
index 3361ffe..79b7133 100644
--- a/LanguageFeatures/regression/33585_t01.dart
+++ b/LanguageFeatures/regression/33585_t01.dart
@@ -4,12 +4,14 @@
/// @description Regression test for the issue 33585, 33308 (CFE doesn't check
/// type arguments against the bounds of the corresponding type variables)
-/// @compile-error
/// @Issue 33585
/// @author iarkh@unipro.ru
abstract class B<X extends int> extends Object{}
class A implements B<List>{}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/LanguageFeatures/regression/33585_t02.dart b/LanguageFeatures/regression/33585_t02.dart
index bcf6e3f..2728ce9 100644
--- a/LanguageFeatures/regression/33585_t02.dart
+++ b/LanguageFeatures/regression/33585_t02.dart
@@ -4,7 +4,6 @@
/// @description Regression test for the issue 33585, 33308 (CFE doesn't check
/// type arguments against the bounds of the corresponding type variables)
-/// @compile-error
/// @Issue 33585
/// @author iarkh@unipro.ru
@@ -14,5 +13,8 @@
class M<X extends A> {}
class O extends Object with M<B> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/LanguageFeatures/regression/33596.dart b/LanguageFeatures/regression/33596.dart
index 5156c61..61b346b 100644
--- a/LanguageFeatures/regression/33596.dart
+++ b/LanguageFeatures/regression/33596.dart
@@ -5,11 +5,12 @@
/// @description Regression test for the issue 33596 (Dart VM does not allow a
/// mixin of a class with itself). Checks that class cannot extends some class
/// and be a mixin with this.
-/// @compile-error
/// @Issue 33596
/// @author iarkh@unipro.ru
class M {}
class O extends M with M {}
+// ^
+// [analyzer] unspecified
main() {}
diff --git a/LanguageFeatures/regression/33597.dart b/LanguageFeatures/regression/33597.dart
index a337b55..dd651e9 100644
--- a/LanguageFeatures/regression/33597.dart
+++ b/LanguageFeatures/regression/33597.dart
@@ -5,10 +5,12 @@
/// @description Regression test for the Issue 33597 (Dartanalyzer does not throw
/// compiler error when function variable with incorrect return type parameter is
/// declared): Checks that parameter type is checked correctly for functions.
-/// @compile-error
/// @Issue 33597
/// @author iarkh@unipro.ru
typedef F<X extends int> = X Function();
F<List>? myvariable;
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/LanguageFeatures/regression/33624_t01.dart b/LanguageFeatures/regression/33624_t01.dart
index ffe4c2e..b6018ad 100644
--- a/LanguageFeatures/regression/33624_t01.dart
+++ b/LanguageFeatures/regression/33624_t01.dart
@@ -6,7 +6,6 @@
/// when analyzer fails with "type_argument_not_matching_bounds" error for
/// mixins).
/// @Issue 33624
-/// @compile-error
/// @author iarkh@unipro.ru
class A {}
@@ -14,5 +13,8 @@
class M<X extends A> {}
class O extends Object with M<B> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/LanguageFeatures/regression/33624_t02.dart b/LanguageFeatures/regression/33624_t02.dart
index f8479ad..596dc4f 100644
--- a/LanguageFeatures/regression/33624_t02.dart
+++ b/LanguageFeatures/regression/33624_t02.dart
@@ -5,7 +5,6 @@
/// @description Regression test for the issue 33624 (Dart does not throw error
/// when analyzer fails with "type_argument_not_matching_bounds" error for
/// mixins).
-/// @compile-error
/// @Issue 33624
/// @author iarkh@unipro.ru
@@ -14,6 +13,9 @@
class M<X extends A> {}
class O<X> extends Object with M<X> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
O o = new O<B>();
diff --git a/LanguageFeatures/regression/33626.dart b/LanguageFeatures/regression/33626.dart
index aa3790b..2720c4a 100644
--- a/LanguageFeatures/regression/33626.dart
+++ b/LanguageFeatures/regression/33626.dart
@@ -6,7 +6,6 @@
/// when analyzer fails with "type_argument_not_matching_bounds" error for
/// functions)
/// @Issue 33626
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -18,4 +17,7 @@
main() {
F<B?>? f = tryme;
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/regression/33699_t01.dart b/LanguageFeatures/regression/33699_t01.dart
index af5ea8a..2b49665 100644
--- a/LanguageFeatures/regression/33699_t01.dart
+++ b/LanguageFeatures/regression/33699_t01.dart
@@ -5,10 +5,12 @@
/// @description Regression test for the issue 33699 (Dart does not throw error
/// if function argument parameter extends void) Checks that function cannot have
/// parameter which extends [void].
-/// @compile-error
/// @Issue 33699
/// @author iarkh@unipro.ru
testme<X extends void>() {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/LanguageFeatures/regression/33699_t02.dart b/LanguageFeatures/regression/33699_t02.dart
index f4814fb..429cd6e 100644
--- a/LanguageFeatures/regression/33699_t02.dart
+++ b/LanguageFeatures/regression/33699_t02.dart
@@ -5,10 +5,12 @@
/// @description Regression test for the issue 33699 (Dart does not throw error
/// if function argument parameter extends void) Checks that function cannot have
/// parameter which extends [void].
-/// @compile-error
/// @Issue 33699
/// @author iarkh@unipro.ru
typedef F<X extends void> = void Function();
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/LanguageFeatures/regression/33704.dart b/LanguageFeatures/regression/33704.dart
index a4e96aa..b259437 100644
--- a/LanguageFeatures/regression/33704.dart
+++ b/LanguageFeatures/regression/33704.dart
@@ -5,9 +5,11 @@
/// @description Regression test for the issue 33704 (Dart does not throw error
/// if class argument parameter extends void)
/// @Issue 33704
-/// @compile-error
/// @author iarkh@unipro.ru
class A<X1 extends void> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/LanguageFeatures/regression/33805_t03.dart b/LanguageFeatures/regression/33805_t03.dart
index 2f937a0..23b7a29 100644
--- a/LanguageFeatures/regression/33805_t03.dart
+++ b/LanguageFeatures/regression/33805_t03.dart
@@ -5,7 +5,6 @@
/// @description Regression test for the issue 33805 (Analyzer throws error when
/// try to assign a function result to row variable). Checks that error appears
/// if row variable is passed to the function parameter
-/// @compile-error
/// @Issue 33805
/// @author iarkh@unipro.ru
@@ -17,4 +16,7 @@
main() {
testme(a);
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/regression/33863.dart b/LanguageFeatures/regression/33863.dart
index 48e3a85..43d6fe6 100644
--- a/LanguageFeatures/regression/33863.dart
+++ b/LanguageFeatures/regression/33863.dart
@@ -6,7 +6,6 @@
/// if parameter of incorrect type is passed to the function): Checks that
/// parameter type is checked correctly for functions.
/// @Issue 33863
-/// @compile-error
/// @author iarkh@unipro.ru
@@ -14,4 +13,7 @@
main() {
testme("incorrect param");
+//^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LanguageFeatures/regression/34628.dart b/LanguageFeatures/regression/34628.dart
index 33005c5..f788153 100644
--- a/LanguageFeatures/regression/34628.dart
+++ b/LanguageFeatures/regression/34628.dart
@@ -7,10 +7,15 @@
/// [A<X extends B<X>>]) are declared). Checks that it's impossible to declare
/// two classes [B<X extends A<X>>] and [A<X extends B<X>>].
/// @Issue 34628
-/// @compile-error
/// @author iarkh@unipro.ru
class B<X extends A<X>> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class A<X extends B<X>> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {}
diff --git a/LanguageFeatures/regression/34635_t01.dart b/LanguageFeatures/regression/34635_t01.dart
index e75be77..e89cbac 100644
--- a/LanguageFeatures/regression/34635_t01.dart
+++ b/LanguageFeatures/regression/34635_t01.dart
@@ -9,10 +9,12 @@
/// Check test case from the bug description, i.e. that declaring [class A<X
/// extends A> {}] causes compile error.
/// @Issue 33152, 34635
-/// @compile-error
/// @author iarkh@unipro.ru
class A<X extends A> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/LanguageFeatures/regression/34635_t02.dart b/LanguageFeatures/regression/34635_t02.dart
index e49abb0..997a837 100644
--- a/LanguageFeatures/regression/34635_t02.dart
+++ b/LanguageFeatures/regression/34635_t02.dart
@@ -7,10 +7,14 @@
/// declaring [class A<X extends A> {}] after [class A<X extends C>] causes
/// compile error.
/// @Issue 34635
-/// @compile-error
/// @author iarkh@unipro.ru
class A<X extends C> {}
+// ^
+// [analyzer] unspecified
class C<X extends C> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/LanguageFeatures/regression/34635_t03.dart b/LanguageFeatures/regression/34635_t03.dart
index e90e81b..b18fd46 100644
--- a/LanguageFeatures/regression/34635_t03.dart
+++ b/LanguageFeatures/regression/34635_t03.dart
@@ -7,11 +7,17 @@
/// declaring [class A<X extends A> {}] after [class A<X extends C>] causes
/// compile error.
/// @Issue 34635
-/// @compile-error
/// @author iarkh@unipro.ru
class A<X extends B> {}
+// ^
+// [analyzer] unspecified
class B<X extends C> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class C<X extends A<B>> {}
+// ^
+// [analyzer] unspecified
main() {}
diff --git a/LanguageFeatures/regression/34636.dart b/LanguageFeatures/regression/34636.dart
index 117e420..543e2cd 100644
--- a/LanguageFeatures/regression/34636.dart
+++ b/LanguageFeatures/regression/34636.dart
@@ -7,12 +7,18 @@
/// compile error appears when compile the following classes: [A<X extends B>],
/// [B<X extends C>], [C<X extends A<B>>].
/// @Issue 34636
-/// @compile-error
/// @author iarkh@unipro.ru
class A<X extends B> {}
+// ^
+// [analyzer] unspecified
class B<X extends C> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
class C<X extends A<B>> {}
+// ^
+// [analyzer] unspecified
main() {}
diff --git a/LanguageFeatures/regression/34803_t01.dart b/LanguageFeatures/regression/34803_t01.dart
index 6566387..6ba852b 100644
--- a/LanguageFeatures/regression/34803_t01.dart
+++ b/LanguageFeatures/regression/34803_t01.dart
@@ -5,13 +5,15 @@
/// @description Regression test for the issue 34803 (Dart crashes when tries to
/// compile a class with generic function parameter) - checks dart versions with
/// generic-metadata feature turned on.
-/// @compile-error
/// @Issue 34803
/// @author iarkh@unipro.ru
// @dart=2.12
class A<X extends G> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
typedef G<X> = void Function<Y extends X>();
main() {}
diff --git a/LanguageFeatures/regression/34803_t02.dart b/LanguageFeatures/regression/34803_t02.dart
index d95e794..6099c1c 100644
--- a/LanguageFeatures/regression/34803_t02.dart
+++ b/LanguageFeatures/regression/34803_t02.dart
@@ -5,13 +5,15 @@
/// @description Regression test for the issue 34803 (Dart crashes when tries to
/// compile a class with generic function parameter) - checks dart versions with
/// generic-metadata feature turned on.
-/// @compile-error
/// @Issue 34803
/// @author iarkh@unipro.ru
// @dart=2.12
class A<X extends G<num>> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
typedef G<X> = void Function<Y extends X>();
main() {}
diff --git a/LanguageFeatures/regression/34833.dart b/LanguageFeatures/regression/34833.dart
index d7f0c41..81eda40 100644
--- a/LanguageFeatures/regression/34833.dart
+++ b/LanguageFeatures/regression/34833.dart
@@ -8,13 +8,15 @@
/// Function()] attempt to declare [class B<X extends A<G<X>>>] causes compile
/// error
/// @Issue 34833
-/// @compile-error
/// @author iarkh@unipro.ru
class A<X> {}
typedef G<X extends A<X>> = X Function();
class B<X extends A<G<X>>> {}
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
main() {
}
diff --git a/LanguageFeatures/regression/35148_35149.dart b/LanguageFeatures/regression/35148_35149.dart
index 10411c2..8cef707 100644
--- a/LanguageFeatures/regression/35148_35149.dart
+++ b/LanguageFeatures/regression/35148_35149.dart
@@ -6,7 +6,6 @@
/// compiler error when function variable with incorrect return type parameter is
/// declared): Checks that parameter type is checked correctly for functions.
/// @Issue 35148, 35149
-/// @compile-error
/// @author iarkh@unipro.ru
dynamic getint() => 1;
@@ -14,5 +13,8 @@
main() {
testme<int>("");
+// ^
+// [analyzer] unspecified
+// [cfe] unspecified
}
diff --git a/LibTest/ffi/Array/Array.multi_A01_t02.dart b/LibTest/ffi/Array/Array.multi_A01_t02.dart
index a930c57..365e444 100644
--- a/LibTest/ffi/Array/Array.multi_A01_t02.dart
+++ b/LibTest/ffi/Array/Array.multi_A01_t02.dart
@@ -18,6 +18,7 @@
/// @description Checks multidimentional array created by Array.multi(). Check
/// wrong array size
/// @author sgrekhov@unipro.ru
+/// @issue 46085
import "dart:ffi";
@@ -25,13 +26,13 @@
@Array.multi([])
//^^^^^^^^^^^^^^^^
// [analyzer] unspecified
-// [cfe]
+// [cfe] unspecified
external Array<Int16> a0;
@Array.multi([1])
//^^^^^^^^^^^^^^^^
// [analyzer] unspecified
-// [cfe]
+// [cfe] unspecified
external Array<Array<Int16>> a1;
}