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

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

Issue 1047203002: compute interfaces lazily (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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/_interceptors.js ('k') | lib/runtime/dart/_isolate_helper.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_internal.js
diff --git a/lib/runtime/dart/_internal.js b/lib/runtime/dart/_internal.js
index 1ad36b0d8bb0adce9b42233b90ebe3f48870c017..51e79c62fc9660154d27ba2579c30ab10ce8da0d 100644
--- a/lib/runtime/dart/_internal.js
+++ b/lib/runtime/dart/_internal.js
@@ -221,7 +221,7 @@ var _internal;
return result;
}
}
- ListIterable[dart.implements] = [EfficientLength];
+ ListIterable[dart.implements] = () => [EfficientLength];
return ListIterable;
});
let ListIterable = ListIterable$(dart.dynamic);
@@ -344,7 +344,7 @@ var _internal;
return true;
}
}
- ListIterator[dart.implements] = [core.Iterator$(E)];
+ ListIterator[dart.implements] = () => [core.Iterator$(E)];
return ListIterator;
});
let ListIterator = ListIterator$(dart.dynamic);
@@ -395,7 +395,7 @@ var _internal;
super[_](dart.as(iterable, core.Iterable$(S)), func);
}
}
- EfficientLengthMappedIterable[dart.implements] = [EfficientLength];
+ EfficientLengthMappedIterable[dart.implements] = () => [EfficientLength];
return EfficientLengthMappedIterable;
});
let EfficientLengthMappedIterable = EfficientLengthMappedIterable$(dart.dynamic, dart.dynamic);
@@ -438,7 +438,7 @@ var _internal;
return this[_f](this[_source].elementAt(index));
}
}
- MappedListIterable[dart.implements] = [EfficientLength];
+ MappedListIterable[dart.implements] = () => [EfficientLength];
return MappedListIterable;
});
let MappedListIterable = MappedListIterable$(dart.dynamic, dart.dynamic);
@@ -522,7 +522,7 @@ var _internal;
return true;
}
}
- ExpandIterator[dart.implements] = [core.Iterator$(T)];
+ ExpandIterator[dart.implements] = () => [core.Iterator$(T)];
return ExpandIterator;
});
let ExpandIterator = ExpandIterator$(dart.dynamic, dart.dynamic);
@@ -563,7 +563,7 @@ var _internal;
return iterableLength;
}
}
- EfficientLengthTakeIterable[dart.implements] = [EfficientLength];
+ EfficientLengthTakeIterable[dart.implements] = () => [EfficientLength];
return EfficientLengthTakeIterable;
});
let EfficientLengthTakeIterable = EfficientLengthTakeIterable$(dart.dynamic);
@@ -679,7 +679,7 @@ var _internal;
return 0;
}
}
- EfficientLengthSkipIterable[dart.implements] = [EfficientLength];
+ EfficientLengthSkipIterable[dart.implements] = () => [EfficientLength];
return EfficientLengthSkipIterable;
});
let EfficientLengthSkipIterable = EfficientLengthSkipIterable$(dart.dynamic);
@@ -837,7 +837,7 @@ var _internal;
return new core.Set();
}
}
- EmptyIterable[dart.implements] = [EfficientLength];
+ EmptyIterable[dart.implements] = () => [EfficientLength];
return EmptyIterable;
});
let EmptyIterable = EmptyIterable$(dart.dynamic);
@@ -852,14 +852,14 @@ var _internal;
return null;
}
}
- EmptyIterator[dart.implements] = [core.Iterator$(E)];
+ EmptyIterator[dart.implements] = () => [core.Iterator$(E)];
return EmptyIterator;
});
let EmptyIterator = EmptyIterator$(dart.dynamic);
let BidirectionalIterator$ = dart.generic(function(T) {
class BidirectionalIterator extends core.Object {
}
- BidirectionalIterator[dart.implements] = [core.Iterator$(T)];
+ BidirectionalIterator[dart.implements] = () => [core.Iterator$(T)];
return BidirectionalIterator;
});
let BidirectionalIterator = BidirectionalIterator$(dart.dynamic);
@@ -1344,7 +1344,7 @@ var _internal;
throw new core.UnsupportedError("Cannot modify an unmodifiable list");
}
}
- UnmodifiableListMixin[dart.implements] = [core.List$(E)];
+ UnmodifiableListMixin[dart.implements] = () => [core.List$(E)];
return UnmodifiableListMixin;
});
let UnmodifiableListMixin = UnmodifiableListMixin$(dart.dynamic);
@@ -1432,7 +1432,7 @@ var _internal;
return collection.Maps.mapToString(this);
}
}
- ListMapView[dart.implements] = [core.Map$(core.int, E)];
+ ListMapView[dart.implements] = () => [core.Map$(core.int, E)];
return ListMapView;
});
let ListMapView = ListMapView$(dart.dynamic);
@@ -1816,7 +1816,7 @@ var _internal;
return dart.notNull(name.isEmpty) || dart.notNull(Symbol.symbolPattern.hasMatch(name));
}
}
- Symbol[dart.implements] = [core.Symbol];
+ Symbol[dart.implements] = () => [core.Symbol];
dart.defineNamedConstructor(Symbol, 'unvalidated');
dart.defineNamedConstructor(Symbol, 'validated');
Symbol.reservedWordRE = '(?:assert|break|c(?:a(?:se|tch)|lass|on(?:st|tinue))|d(?:efault|o)|' + 'e(?:lse|num|xtends)|f(?:alse|inal(?:ly)?|or)|i[fns]|n(?:ew|ull)|' + 'ret(?:hrow|urn)|s(?:uper|witch)|t(?:h(?:is|row)|r(?:ue|y))|' + 'v(?:ar|oid)|w(?:hile|ith))';
« no previous file with comments | « lib/runtime/dart/_interceptors.js ('k') | lib/runtime/dart/_isolate_helper.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698