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

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

Issue 1177563003: Generate metadata (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 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 | « no previous file | lib/runtime/dart/_native_typed_data.js » ('j') | lib/src/codegen/js_codegen.dart » ('J')
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 b17828a4f7edb0c70e9de9f0c185ff2a6a4db387..658cf79719234fb07ee08b22f9c95967e1f58cd0 100644
--- a/lib/runtime/dart/_interceptors.js
+++ b/lib/runtime/dart/_interceptors.js
@@ -448,6 +448,7 @@ dart.library('dart/_interceptors', null, /* Imports */[
statics: () => ({markFixedList: [core.List, [core.List]]}),
names: ['markFixedList']
});
+ JSArray[dart.metadata] = () => [dart.const(new _js_helper.JsPeerInterface({name: 'Array'}))];
Jennifer Messerly 2015/06/09 23:29:53 teach compiler we can skip our own private dart:_
vsm 2015/06/10 13:28:27 I'll file an issue for this.
return JSArray;
});
let JSArray = JSArray$();
@@ -925,6 +926,7 @@ dart.library('dart/_interceptors', null, /* Imports */[
}),
names: ['_bitCount', '_shru', '_shrs', '_ors', '_spread']
});
+ JSInt[dart.metadata] = () => [dart.const(new _js_helper.JsPeerInterface({name: 'Number'}))];
dart.registerExtension(dart.global.Number, JSInt);
class JSDouble extends JSNumber {
JSDouble() {
@@ -1436,6 +1438,7 @@ dart.library('dart/_interceptors', null, /* Imports */[
}),
names: ['_isWhitespace', '_skipLeadingWhitespace', '_skipTrailingWhitespace']
});
+ JSString[dart.metadata] = () => [dart.const(new _js_helper.JsPeerInterface({name: 'String'}))];
dart.registerExtension(dart.global.String, JSString);
let _string = Symbol('_string');
class _CodeUnits extends _internal.UnmodifiableListBase$(core.int) {
@@ -1481,6 +1484,7 @@ dart.library('dart/_interceptors', null, /* Imports */[
dart.setSignature(JSBool, {
constructors: () => ({JSBool: [JSBool, []]})
});
+ JSBool[dart.metadata] = () => [dart.const(new _js_helper.JsPeerInterface({name: 'Boolean'}))];
dart.registerExtension(dart.global.Boolean, JSBool);
class JSIndexable extends core.Object {}
class JSMutableIndexable extends JSIndexable {}
« no previous file with comments | « no previous file | lib/runtime/dart/_native_typed_data.js » ('j') | lib/src/codegen/js_codegen.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698