Index: runtime/tests/vm/dart/isolate_mirror_local_test.dart |
diff --git a/runtime/tests/vm/dart/isolate_mirror_local_test.dart b/runtime/tests/vm/dart/isolate_mirror_local_test.dart |
index d56bcd18486fc014d1a45483bcc36e71ea5a2ac9..0caade08501290107c239c11aa65b7df69242536 100644 |
--- a/runtime/tests/vm/dart/isolate_mirror_local_test.dart |
+++ b/runtime/tests/vm/dart/isolate_mirror_local_test.dart |
@@ -368,7 +368,7 @@ void testCustomInstanceMirror(InstanceMirror mirror) { |
bool saw_exception = false; |
try { |
mirror.reflectee; |
- } catch (MirrorException me) { |
+ } on MirrorException catch (me) { |
saw_exception = true; |
} |
Expect.isFalse(saw_exception); |