Fixes #391. Old multitest syntax replaced by new one
diff --git a/Language/Expressions/Constants/exception_t02.dart b/Language/Expressions/Constants/exception_t02.dart
index c4a4f0b..db0d34c 100644
--- a/Language/Expressions/Constants/exception_t02.dart
+++ b/Language/Expressions/Constants/exception_t02.dart
@@ -6,14 +6,15 @@
/**
* @assertion It is a compile-time error if an expression is required to be a
* constant expression but its evaluation would raise an exception.
- * @description Checks that an OutOfMemoryException raised during evaluation of
- * a compile-time constant it causes a runtime-time error.
+ * @description Checks that an Exception raised during evaluation of
+ * a compile-time constant causes a compile-time error.
* @author iefremov
- * @reviewer rodionov
+ * @compile-error
*/
// SharedOptions=--enable-experiment=constant-update-2018
-const m = 1 << 999999999999999999; /// 01: runtime error
+
+const m = 1 ~/ 0;
main() {
- print(m); /// 01: continued
+ print(m);
}
diff --git a/Language/Types/Static_Types/malformed_type_t01.dart b/Language/Types/Static_Types/malformed_type_t01.dart
index 07c5e22..94ac191 100644
--- a/Language/Types/Static_Types/malformed_type_t01.dart
+++ b/Language/Types/Static_Types/malformed_type_t01.dart
@@ -24,22 +24,17 @@
class BoundedInt<T extends int> {}
main() {
- null is UnknownType; /// 01: compile-time error
+ null is UnknownType; //# 01: compile-time error
// C<int, double, UnknownType> is not malformed, see
// (Types/Parameterized Types)
// UnknownType is treated as dynamic and parameterized type is
// C<int,double,dynamic>
- C<int, double, UnknownType> x = new C(); /// 02: compile-time error
- null is C<int, double, UnknownType>; /// 03: compile-time error
-
- Bounded<String> x2 = new Bounded(); /// 04: compile-time error
-
-
- BoundedInt<num> x3 = new BoundedInt(); /// 05: compile-time error
-
- C<Bounded<String>, C, C> x4 = new C(); /// 06: compile-time error
-
- C<C<UnknownType, int, int>, C, C> x5 = new C(); /// 07: compile-time error
+ C<int, double, UnknownType> x = new C(); //# 02: compile-time error
+ null is C<int, double, UnknownType>; //# 03: compile-time error
+ Bounded<String> x2 = new Bounded(); //# 04: compile-time error
+ BoundedInt<num> x3 = new BoundedInt(); //# 05: compile-time error
+ C<Bounded<String>, C, C> x4 = new C(); //# 06: compile-time error
+ C<C<UnknownType, int, int>, C, C> x5 = new C(); //# 07: compile-time error
}