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

Unified Diff: lib/runtime/dart/_interceptors.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 | « no previous file | lib/runtime/dart/_internal.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_interceptors.js
diff --git a/lib/runtime/dart/_interceptors.js b/lib/runtime/dart/_interceptors.js
index c410d949489914b237f3eb5d1f95ee31cca958fd..b46d840015c6337f5497a7c0692959bd388c2232 100644
--- a/lib/runtime/dart/_interceptors.js
+++ b/lib/runtime/dart/_interceptors.js
@@ -345,7 +345,7 @@ var _interceptors;
return new _internal.IterableMixinWorkaround().asMapList(this);
}
}
- JSArray[dart.implements] = [core.List$(E), JSIndexable];
+ JSArray[dart.implements] = () => [core.List$(E), JSIndexable];
dart.defineNamedConstructor(JSArray, 'fixed');
dart.defineNamedConstructor(JSArray, 'emptyGrowable');
dart.defineNamedConstructor(JSArray, 'growable');
@@ -358,7 +358,7 @@ var _interceptors;
let JSMutableArray$ = dart.generic(function(E) {
class JSMutableArray extends JSArray$(E) {
}
- JSMutableArray[dart.implements] = [JSMutableIndexable];
+ JSMutableArray[dart.implements] = () => [JSMutableIndexable];
return JSMutableArray;
});
let JSMutableArray = JSMutableArray$(dart.dynamic);
@@ -689,7 +689,7 @@ var _interceptors;
return core.num;
}
}
- JSNumber[dart.implements] = [core.num];
+ JSNumber[dart.implements] = () => [core.num];
JSNumber._MIN_INT32 = -2147483648;
JSNumber._MAX_INT32 = 2147483647;
let _bitCount = Symbol('_bitCount');
@@ -754,7 +754,7 @@ var _interceptors;
return dart.as(~this >>> 0, core.int);
}
}
- JSInt[dart.implements] = [core.int, core.double];
+ JSInt[dart.implements] = () => [core.int, core.double];
class JSDouble extends JSNumber {
JSDouble() {
super.JSNumber();
@@ -763,7 +763,7 @@ var _interceptors;
return core.double;
}
}
- JSDouble[dart.implements] = [core.double];
+ JSDouble[dart.implements] = () => [core.double];
class JSPositiveInt extends JSInt {
}
class JSUInt32 extends JSPositiveInt {
@@ -1191,7 +1191,7 @@ var _interceptors;
return this[index];
}
}
- JSString[dart.implements] = [core.String, JSIndexable];
+ JSString[dart.implements] = () => [core.String, JSIndexable];
let _string = Symbol('_string');
class _CodeUnits extends _internal.UnmodifiableListBase$(core.int) {
_CodeUnits(string$) {
@@ -1343,7 +1343,7 @@ var _interceptors;
return core.bool;
}
}
- JSBool[dart.implements] = [core.bool];
+ JSBool[dart.implements] = () => [core.bool];
class JSNull extends Interceptor {
JSNull() {
super.Interceptor();
@@ -1364,7 +1364,7 @@ var _interceptors;
return super.noSuchMethod(invocation);
}
}
- JSNull[dart.implements] = [core.Null];
+ JSNull[dart.implements] = () => [core.Null];
class JSIndexable extends core.Object {
}
class JSMutableIndexable extends JSIndexable {
@@ -1382,7 +1382,7 @@ var _interceptors;
return JSObject;
}
}
- JavaScriptObject[dart.implements] = [JSObject];
+ JavaScriptObject[dart.implements] = () => [JSObject];
class PlainJavaScriptObject extends JavaScriptObject {
PlainJavaScriptObject() {
super.JavaScriptObject();
« no previous file with comments | « no previous file | lib/runtime/dart/_internal.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698