Index: pkg/compiler/lib/src/util/maplet.dart |
diff --git a/pkg/compiler/lib/src/util/maplet.dart b/pkg/compiler/lib/src/util/maplet.dart |
index 086273c45e03383553cfdc65a0601b4ac6e712d2..ad1fdca37b3b47af2d06e0674770081ce142b47d 100644 |
--- a/pkg/compiler/lib/src/util/maplet.dart |
+++ b/pkg/compiler/lib/src/util/maplet.dart |
@@ -7,8 +7,8 @@ library dart2js.util.maplet; |
import 'dart:collection' show MapBase, IterableBase; |
class Maplet<K, V> extends MapBase<K, V> { |
- static const _MARKER = const _MapletMarker(); |
- static const CAPACITY = 8; |
+ static const _MapletMarker _MARKER = const _MapletMarker(); |
+ static const int CAPACITY = 8; |
// The maplet can be in one of four states: |
// |
@@ -22,7 +22,7 @@ class Maplet<K, V> extends MapBase<K, V> { |
// the keys and they may contain markers for deleted elements. After |
// the keys there are [CAPACITY] entries for the values. |
- var _key = _MARKER; |
+ dynamic _key = _MARKER; |
var _value; |
var _extra; |