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

Unified Diff: tools/dom/templates/html/impl/impl_DOMException.darttemplate

Issue 895813002: Tweak toString() for better type inference (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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: tools/dom/templates/html/impl/impl_DOMException.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_DOMException.darttemplate b/tools/dom/templates/html/impl/impl_DOMException.darttemplate
index db97f86a08129e9ef7284789aad399b603b8e26a..be8c36c2b11232a2ceb3f80b5b724d81aa9eddf6 100644
--- a/tools/dom/templates/html/impl/impl_DOMException.darttemplate
+++ b/tools/dom/templates/html/impl/impl_DOMException.darttemplate
@@ -41,4 +41,9 @@ $if DART2JS
}
$endif
$!MEMBERS
+$if DART2JS
+ @DomName('DOMException.toString')
+ @DocsEditable()
+ String toString() => JS('String', 'String(#)', this);
+$endif
}
« no previous file with comments | « tools/dom/templates/html/dart2js/impl_URL.darttemplate ('k') | tools/dom/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698