Index: tests/language_strong/first_class_types_literals_test.dart |
diff --git a/tests/language_strong/first_class_types_literals_test.dart b/tests/language_strong/first_class_types_literals_test.dart |
index c0a0e0f43ca110ea1860fde08d22242bdfc7c9d9..b346aa7da529e16560b65a7e4966d607d3c90bae 100644 |
--- a/tests/language_strong/first_class_types_literals_test.dart |
+++ b/tests/language_strong/first_class_types_literals_test.dart |
@@ -41,23 +41,23 @@ main() { |
Expect.equals(String, 'hest'.runtimeType); |
Expect.equals(double, (0.5).runtimeType); |
Expect.equals(bool, true.runtimeType); |
- Expect.equals(C, new C().runtimeType); /// 01: ok |
- Expect.equals(D, new D().runtimeType); /// 02: ok |
+ Expect.equals(C, new C().runtimeType); //# 01: ok |
+ Expect.equals(D, new D().runtimeType); //# 02: ok |
// runtimeType on type is idempotent. |
Expect.equals((D).runtimeType, (D).runtimeType.runtimeType); |
// Test that operator calls on class literals go to Type. |
- Expect.throws(() => C = 1, (e) => e is NoSuchMethodError); /// 03: static type warning |
- Expect.throws(() => C++, (e) => e is NoSuchMethodError); /// 04: static type warning |
- Expect.throws(() => C + 1, (e) => e is NoSuchMethodError); /// 05: static type warning |
- Expect.throws(() => C[2], (e) => e is NoSuchMethodError); /// 06: static type warning |
- Expect.throws(() => C[2] = 'hest', (e) => e is NoSuchMethodError); /// 07: static type warning |
- Expect.throws(() => dynamic = 1, (e) => e is NoSuchMethodError); /// 08: static type warning |
- Expect.throws(() => dynamic++, (e) => e is NoSuchMethodError); /// 09: static type warning |
- Expect.throws(() => dynamic + 1, (e) => e is NoSuchMethodError); /// 10: static type warning |
- Expect.throws(() => dynamic[2], (e) => e is NoSuchMethodError); /// 11: static type warning |
- Expect.throws(() => dynamic[2] = 'hest', (e) => e is NoSuchMethodError); /// 12: static type warning |
+ Expect.throws(() => C = 1, (e) => e is NoSuchMethodError); //# 03: static type warning |
+ Expect.throws(() => C++, (e) => e is NoSuchMethodError); //# 04: static type warning |
+ Expect.throws(() => C + 1, (e) => e is NoSuchMethodError); //# 05: static type warning |
+ Expect.throws(() => C[2], (e) => e is NoSuchMethodError); //# 06: static type warning |
+ Expect.throws(() => C[2] = 'hest', (e) => e is NoSuchMethodError); //# 07: static type warning |
+ Expect.throws(() => dynamic = 1, (e) => e is NoSuchMethodError); //# 08: static type warning |
+ Expect.throws(() => dynamic++, (e) => e is NoSuchMethodError); //# 09: static type warning |
+ Expect.throws(() => dynamic + 1, (e) => e is NoSuchMethodError); //# 10: static type warning |
+ Expect.throws(() => dynamic[2], (e) => e is NoSuchMethodError); //# 11: static type warning |
+ Expect.throws(() => dynamic[2] = 'hest', (e) => e is NoSuchMethodError); //# 12: static type warning |
Expect.equals((dynamic).toString(), 'dynamic'); |
} |