Fixes #508. Relative import in multitests fixed
diff --git a/LanguageFeatures/nnbd/null_check_operator_A03_t02.dart b/LanguageFeatures/nnbd/null_check_operator_A03_t02.dart
index 90327ed..a8844c0 100644
--- a/LanguageFeatures/nnbd/null_check_operator_A03_t02.dart
+++ b/LanguageFeatures/nnbd/null_check_operator_A03_t02.dart
@@ -10,6 +10,7 @@
* @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 +20,8 @@
extension on C {
test() {
- Expect.equals("Lily was here: 42", this!(42)); //# 01: static type warning
- Expect.equals("Lily was here: 42", this(42)!); //# 02: static type warning
+ Expect.equals("Lily was here: 42", this!(42)); /// static type warning
+ Expect.equals("Lily was here: 42", this(42)!); /// static type warning
}
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 aa327b8..b977877 100644
--- a/LanguageFeatures/nnbd/null_check_operator_A03_t03.dart
+++ b/LanguageFeatures/nnbd/null_check_operator_A03_t03.dart
@@ -10,6 +10,7 @@
* @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 +19,8 @@
class C {
test() {
- Expect.equals("Lily was here: 42", this!(42)); //# 01: static type warning
- Expect.equals("Lily was here: 42", this(42)!); //# 02: static type warning
+ Expect.equals("Lily was here: 42", this!(42)); /// static type warning
+ Expect.equals("Lily was here: 42", this(42)!); /// static type warning
}
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 9d6d2fc..82aded4 100644
--- a/LanguageFeatures/nnbd/null_check_operator_A05_t02.dart
+++ b/LanguageFeatures/nnbd/null_check_operator_A05_t02.dart
@@ -10,6 +10,7 @@
* @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
*/
// SharedOptions=--enable-experiment=non-nullable,extension-methods
@@ -23,8 +24,8 @@
}
main() {
- Expect.equals("Lily was here 2 times", 42!(2)); //# 01: static type warning
- Expect.equals(24, 42![24]); //# 02: static type warning
- 42![24] = 24; //# 03: static type warning
- 42!.s = 24; //# 04: static type warning
+ 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
}
diff --git a/LanguageFeatures/nnbd/null_check_operator_A07_t02.dart b/LanguageFeatures/nnbd/null_check_operator_A07_t02.dart
index 91ab937..49570c6 100644
--- a/LanguageFeatures/nnbd/null_check_operator_A07_t02.dart
+++ b/LanguageFeatures/nnbd/null_check_operator_A07_t02.dart
@@ -10,6 +10,7 @@
* @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
*/
// SharedOptions=--enable-experiment=non-nullable,extension-methods
@@ -23,8 +24,8 @@
}
main() {
- Expect.equals("Lily was here 2 times", true!(2)); //# 01: static type warning
- Expect.equals(24, true![24]); //# 02: static type warning
- true![24] = 24; //# 03: static type warning
- true!.s = 24; //# 04: static type warning
+ 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
}