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

Unified Diff: pkg/compiler/lib/src/util/setlet.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/util/maplet.dart ('k') | pkg/compiler/testing_strong.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/util/setlet.dart
diff --git a/pkg/compiler/lib/src/util/setlet.dart b/pkg/compiler/lib/src/util/setlet.dart
index c9d3fe53987a625c34e23caa0e4c77fca472e2f4..408e46d4c9aa5a3b2d07f7418bf12a8b7090c01f 100644
--- a/pkg/compiler/lib/src/util/setlet.dart
+++ b/pkg/compiler/lib/src/util/setlet.dart
@@ -7,8 +7,8 @@ library dart2js.util.setlet;
import 'dart:collection' show IterableBase;
class Setlet<E> extends IterableBase<E> implements Set<E> {
- static const _MARKER = const _SetletMarker();
- static const CAPACITY = 8;
+ static const _SetletMarker _MARKER = const _SetletMarker();
+ static const int CAPACITY = 8;
// The setlet can be in one of four states:
//
@@ -19,7 +19,7 @@ class Setlet<E> extends IterableBase<E> implements Set<E> {
//
// When the setlet is list-backed, the list in the contents field
// may have empty slots filled with the marker value.
- var _contents = _MARKER;
+ dynamic _contents = _MARKER;
var _extra;
Setlet();
« no previous file with comments | « pkg/compiler/lib/src/util/maplet.dart ('k') | pkg/compiler/testing_strong.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698