Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1058)

Unified Diff: tests/lib/mirrors/inference_and_no_such_method_test.dart

Issue 49083004: Re-triage mirror test failures on the analyzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698