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

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

Issue 1131143002: Angular workarounds (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rebase on latest Created 5 years, 7 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
Index: lib/runtime/dart/collection.js
diff --git a/lib/runtime/dart/collection.js b/lib/runtime/dart/collection.js
index 1c1617152da655c33d38f948be764144ab057058..028e8e31bcf5a8027555d9eea9d80cb40e2fe566 100644
--- a/lib/runtime/dart/collection.js
+++ b/lib/runtime/dart/collection.js
@@ -1026,14 +1026,14 @@ var math = dart.lazyImport(math);
return IterableBase;
});
let IterableBase = IterableBase$();
- let _iterator = Symbol('_iterator');
let _state = Symbol('_state');
+ let _iterator = Symbol('_iterator');
let _move = Symbol('_move');
let HasNextIterator$ = dart.generic(function(E) {
class HasNextIterator extends core.Object {
HasNextIterator(iterator) {
- this[_iterator] = iterator;
this[_state] = HasNextIterator._NOT_MOVED_YET;
+ this[_iterator] = iterator;
}
get hasNext() {
if (this[_state] == HasNextIterator._NOT_MOVED_YET)

Powered by Google App Engine
This is Rietveld 408576698