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

Unified Diff: utils/tests/template/real_app.dart

Issue 10887023: Use new try-catch syntax in runtime/, tools/, and utils/. (Closed) Base URL: https://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
« no previous file with comments | « utils/tests/string_encoding/dunit.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/template/real_app.dart
diff --git a/utils/tests/template/real_app.dart b/utils/tests/template/real_app.dart
index a94fc49bc909a36b1c9c99b3897d6072e7c262ff..307746250dd3141a0dd45b6d06bf2ae5e8f4db4e 100644
--- a/utils/tests/template/real_app.dart
+++ b/utils/tests/template/real_app.dart
@@ -29,12 +29,12 @@ class YTD_Sales {
void debug() {
try {
throw "DEBUG";
- } catch (var e) {
+ } catch (e) {
print("DEBUGBREAK");
- }
+ }
}
-void main() {
+void main() {
List<Division> divisions = [];
List<Product> products;
List<YTD_Sales> sales;
« no previous file with comments | « utils/tests/string_encoding/dunit.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698