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

Unified Diff: tests/language/try_catch_syntax_test.dart

Issue 19097003: Support new malformed types semantics. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix unittests. Created 7 years, 5 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
« no previous file with comments | « tests/language/try_catch_on_syntax_test.dart ('k') | tests/language/type_parameter_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/try_catch_syntax_test.dart
diff --git a/tests/language/try_catch_syntax_test.dart b/tests/language/try_catch_syntax_test.dart
index 1e712c23400a1226ed3196f30269123df6764320..68b8aec0d3c1d78d56d9a42c9198dc37a843e935 100644
--- a/tests/language/try_catch_syntax_test.dart
+++ b/tests/language/try_catch_syntax_test.dart
@@ -31,7 +31,7 @@ testIllegalFinally() {
testIllegalCatch() {
try { } catch () { } /// 07: compile-time error
- try { } on MammaMia catch (e) { } /// 08: compile-time error
+ try { } on MammaMia catch (e) { } /// 08: static type warning
try { } catch (var e) { } /// 09: compile-time error
try { } catch (final e) { } /// 10: compile-time error
try { } catch (int e) { } /// 11: compile-time error
« no previous file with comments | « tests/language/try_catch_on_syntax_test.dart ('k') | tests/language/type_parameter_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698