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

Unified Diff: lib/runtime/dart/collection.js

Issue 1636233002: fixes #427, static fields emitted outside the scope of their class (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: merged2 Created 4 years, 11 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 | « lib/runtime/dart/async.js ('k') | lib/runtime/dart/convert.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/collection.js
diff --git a/lib/runtime/dart/collection.js b/lib/runtime/dart/collection.js
index 8937827d516b7b9a2801f4a17325d41b999457d3..6f31f0b17cff132fd040166e8fce97511e404b27 100644
--- a/lib/runtime/dart/collection.js
+++ b/lib/runtime/dart/collection.js
@@ -1162,14 +1162,14 @@ dart_library.library('dart/collection', null, /* Imports */[
'last',
'single'
]);
+ dart.defineLazyProperties(IterableBase, {
+ get _toStringVisiting() {
+ return [];
+ }
+ });
return IterableBase;
});
let IterableBase = IterableBase$();
- dart.defineLazyProperties(IterableBase, {
- get _toStringVisiting() {
- return [];
- }
- });
const _iterator = Symbol('_iterator');
const _state = Symbol('_state');
const _move = Symbol('_move');
@@ -1205,12 +1205,12 @@ dart_library.library('dart/collection', null, /* Imports */[
[_move]: [dart.void, []]
})
});
+ HasNextIterator._HAS_NEXT_AND_NEXT_IN_CURRENT = 0;
+ HasNextIterator._NO_NEXT = 1;
+ HasNextIterator._NOT_MOVED_YET = 2;
return HasNextIterator;
});
let HasNextIterator = HasNextIterator$();
- HasNextIterator._HAS_NEXT_AND_NEXT_IN_CURRENT = 0;
- HasNextIterator._NO_NEXT = 1;
- HasNextIterator._NOT_MOVED_YET = 2;
const LinkedHashMap$ = dart.generic(function(K, V) {
class LinkedHashMap extends core.Object {
static new(opts) {
@@ -3154,10 +3154,10 @@ dart_library.library('dart/collection', null, /* Imports */[
'last',
'single'
]);
+ ListQueue._INITIAL_CAPACITY = 8;
return ListQueue;
});
let ListQueue = ListQueue$();
- ListQueue._INITIAL_CAPACITY = 8;
const _queue = Symbol('_queue');
const _end = Symbol('_end');
const _position = Symbol('_position');
« no previous file with comments | « lib/runtime/dart/async.js ('k') | lib/runtime/dart/convert.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698