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

Unified Diff: tests/language/naming_test.dart

Issue 11231069: Remove reference to ObjectNotClosureException in dart2js. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
« tests/co19/co19-dart2js.status ('K') | « tests/language/local_function_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/naming_test.dart
diff --git a/tests/language/naming_test.dart b/tests/language/naming_test.dart
index 053389927355f821f5cd01937348eb82d237290c..6198f1d6b078e46289f967dfcc5f893a90aaf931 100644
--- a/tests/language/naming_test.dart
+++ b/tests/language/naming_test.dart
@@ -501,9 +501,7 @@ class Naming2Test {
() => a.foo(2),
// We check for both exceptions because the exact exception to
// throw is hard to compute on some browsers.
- // Also, ObjectNotClosureException should probably implement
- // NoSuchMethodError.
- (e) => e is ObjectNotClosureException || e is NoSuchMethodError);
+ (e) => e is NoSuchMethodError);
}
}
« tests/co19/co19-dart2js.status ('K') | « tests/language/local_function_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698