Index: tests/language/first_class_types_literals_test.dart |
diff --git a/tests/language/first_class_types_literals_test.dart b/tests/language/first_class_types_literals_test.dart |
index 9a03628eb58ff54869cf32087f18c6ed88725ef1..0375245f82d4e1fc9e73f8800fb920507a1bac95 100644 |
--- a/tests/language/first_class_types_literals_test.dart |
+++ b/tests/language/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'); |
} |