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

Unified Diff: tests/language/local_function_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
Index: tests/language/local_function_test.dart
diff --git a/tests/language/local_function_test.dart b/tests/language/local_function_test.dart
index c694e2ca62771fd8d853e5287b0bf6159fdd9403..c9888a0ffcd787c0b98b10c9d58af479b8330355 100644
--- a/tests/language/local_function_test.dart
+++ b/tests/language/local_function_test.dart
@@ -166,7 +166,7 @@ class LocalFunctionTest {
exception_caught = false;
try {
f(1);
- } on ObjectNotClosureException catch (e) {
+ } on NoSuchMethodError catch (e) {
exception_caught = true;
}
Expect.equals(true, exception_caught);

Powered by Google App Engine
This is Rietveld 408576698