Index: tests/language_strong/malbounded_type_cast_test.dart |
diff --git a/tests/language_strong/malbounded_type_cast_test.dart b/tests/language_strong/malbounded_type_cast_test.dart |
index 4bdcb665058702a6fe701673f83bc2cc49d05265..b3d55214f109084d4b46b6071e3770924b6ba3ed 100644 |
--- a/tests/language_strong/malbounded_type_cast_test.dart |
+++ b/tests/language_strong/malbounded_type_cast_test.dart |
@@ -5,13 +5,13 @@ |
import 'package:expect/expect.dart'; |
class Super<T extends num> {} |
-class Malbounded1 implements Super<String> {} // /// static type warning |
-class Malbounded2 extends Super<String> {} // /// static type warning |
+class Malbounded1 implements Super<String> {} // //# static type warning |
+class Malbounded2 extends Super<String> {} // //# static type warning |
main() { |
bool inCheckedMode = false; |
try { |
- String a = 42; /// static type warning |
+ String a = 42; //# static type warning |
} catch (e) { |
inCheckedMode = true; |
} |
@@ -28,5 +28,5 @@ main() { |
var s = new Super<int>(); |
Expect.throws(() => s as Malbounded1, (e) => e is CastError); |
Expect.throws(() => s as Malbounded2, expectedError); |
- Expect.throws(() => s as Super<String>, expectedError); /// static type warning |
+ Expect.throws(() => s as Super<String>, expectedError); //# static type warning |
} |