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

Unified Diff: compiler/javatests/com/google/dart/compiler/parser/TryCatch.dart

Issue 10872048: Convert getter and catch syntax in tests; fix resulting bugs (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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: compiler/javatests/com/google/dart/compiler/parser/TryCatch.dart
===================================================================
--- compiler/javatests/com/google/dart/compiler/parser/TryCatch.dart (revision 11229)
+++ compiler/javatests/com/google/dart/compiler/parser/TryCatch.dart (working copy)
@@ -12,14 +12,14 @@
a() {
try {
- } catch (var e) {
+ } catch (e) {
} finally {
}
}
b() {
try {
- } catch (var e) {
+ } catch (e) {
}
}
@@ -31,15 +31,15 @@
d() {
try {
- } catch (TestException1 e) {
- } catch (TestException2 e) {
+ } on TestException1 catch (e) {
+ } on TestException2 catch (e) {
}
}
e() {
try {
- } catch (TestException1 e) {
- } catch (TestException2 e) {
+ } on TestException1 catch (e) {
+ } on TestException2 catch (e) {
} finally {
}
}

Powered by Google App Engine
This is Rietveld 408576698