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

Unified Diff: sdk/lib/collection/splay_tree.dart

Issue 12390010: Make sure field initializers have access to the type variables. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/ssa/builder.dart ('k') | tests/language/language_dart2js.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/collection/splay_tree.dart
===================================================================
--- sdk/lib/collection/splay_tree.dart (revision 19209)
+++ sdk/lib/collection/splay_tree.dart (working copy)
@@ -227,7 +227,7 @@
* method.
*/
class SplayTreeMap<K, V> extends _SplayTree<K> implements Map<K, V> {
- Comparator<K> _comparator;
+ Function /* TODO(dart2js-team): re-enable Comparator<K> */_comparator;
Lasse Reichstein Nielsen 2013/02/28 12:34:19 Is this the same problem as http://dartbug.com/773
ngeoffray 2013/02/28 12:37:09 Yes, same bug. Done.
SplayTreeMap([int compare(K key1, K key2)])
: _comparator = (compare == null) ? Comparable.compare : compare;
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/ssa/builder.dart ('k') | tests/language/language_dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698