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

Unified Diff: client/html/src/EventTargetWrappingImplementation.dart

Issue 8855001: buildfix: not use type annotation in map literals within htmllib (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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 | « client/html/release/htmlimpl.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/src/EventTargetWrappingImplementation.dart
diff --git a/client/html/src/EventTargetWrappingImplementation.dart b/client/html/src/EventTargetWrappingImplementation.dart
index fcc9708f651e5f0d61842787cb8232b631ff55a8..d85eaed0064fc097af9ad9bc6168f94377e26402 100644
--- a/client/html/src/EventTargetWrappingImplementation.dart
+++ b/client/html/src/EventTargetWrappingImplementation.dart
@@ -9,7 +9,9 @@ class EventsImplementation implements Events {
Map<String, EventListenerList> _listenerMap;
EventsImplementation._wrap(this._ptr) {
- _listenerMap = <EventListenerList>{};
+ // TODO(sigmund): uncomment type annotation (bug 221), currently dartc and
+ // frog interpret it differently.
+ _listenerMap = /*<EventListenerList>*/{};
}
EventListenerList operator [](String type) {
« no previous file with comments | « client/html/release/htmlimpl.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698