Index: tests/lib/mirrors/inference_and_no_such_method_test.dart |
diff --git a/tests/lib/mirrors/inference_and_no_such_method_test.dart b/tests/lib/mirrors/inference_and_no_such_method_test.dart |
index 4f57eedf219c0c4f7603074c1d37afa9b4c30b59..10afcdb9ca517c9bfbc5217b9d8adfc97616355f 100644 |
--- a/tests/lib/mirrors/inference_and_no_such_method_test.dart |
+++ b/tests/lib/mirrors/inference_and_no_such_method_test.dart |
@@ -21,6 +21,6 @@ class B { |
main() { |
Expect.equals(42, new B().foo(0)); |
- Expect.throws(() => new A().foo('foo'), |
+ Expect.throws(() => new A().foo('foo'), /// static type warning |
(e) => e is ArgumentError || e is TypeError); |
} |