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

Unified Diff: lib/html/src/native_DOMImplementation.dart

Issue 11235060: Get rid of Dynamic. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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: lib/html/src/native_DOMImplementation.dart
diff --git a/lib/html/src/native_DOMImplementation.dart b/lib/html/src/native_DOMImplementation.dart
index aab4e4405a1dce570d199f1674437988bd1cbc64..a968c4187db902e6d3fe0d15e6f3b823251319a1 100644
--- a/lib/html/src/native_DOMImplementation.dart
+++ b/lib/html/src/native_DOMImplementation.dart
@@ -109,7 +109,7 @@ class _DOMStringMapImpl extends NativeFieldWrapperClass1 implements Map<String,
get _printClosure => (s) {
try {
window.console.log(s);
- } on Dynamic catch(_) {
+ } catch (_) {
_Utils.print(s);
}
};
« no previous file with comments | « lib/html/src/dart2js_DOMImplementation.dart ('k') | lib/html/templates/html/impl/impl_EventTarget.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698