Index: tests/language/try_catch_on_syntax_test.dart |
diff --git a/tests/language/try_catch_on_syntax_test.dart b/tests/language/try_catch_on_syntax_test.dart |
index cf79fdd7224c14976072eb84b0122421cfd5e89e..1b5e4a56e1f40791f68f6c6121175788c984f264 100644 |
--- a/tests/language/try_catch_on_syntax_test.dart |
+++ b/tests/language/try_catch_on_syntax_test.dart |
@@ -16,7 +16,6 @@ class TryCatchTest { |
try { |
throw new MyException1(); |
} |
- on MyException3 catch (e) { } /// 01: compile-time error |
on on MyException2 catch (e) { } /// 02: compile-time error |
catch MyException2 catch (e) { } /// 03: compile-time error |
catch catch catch (e) { } /// 04: compile-time error |
@@ -29,7 +28,7 @@ class TryCatchTest { |
} on MyException catch (e) { |
foo = 3; |
} |
- on UndefinedClass /// 07: compile-time error |
+ on UndefinedClass /// 07: static type warning |
catch(e) { foo = 4; } |
Expect.equals(2, foo); |
} |