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

Unified Diff: pkg/compiler/lib/src/util/maplet.dart

Issue 2938823002: Starting making dart2js strong mode clean. (Closed)
Patch Set: Address some comments. Created 3 years, 6 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 | « pkg/compiler/lib/src/native/behavior.dart ('k') | pkg/compiler/lib/src/util/setlet.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « pkg/compiler/lib/src/native/behavior.dart ('k') | pkg/compiler/lib/src/util/setlet.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698