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

Unified Diff: test/codegen/expect/dart/_interceptors.js

Issue 1016003003: sort classes in dependency order, or load lazily if needed, fixes #78 (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
Index: test/codegen/expect/dart/_interceptors.js
diff --git a/test/codegen/expect/dart/_interceptors.js b/test/codegen/expect/dart/_interceptors.js
index e05d94a5eaba7a09639784b66d44423358ec3549..58eadb8898d45533862f4e199ac4bdd80ea8e9d3 100644
--- a/test/codegen/expect/dart/_interceptors.js
+++ b/test/codegen/expect/dart/_interceptors.js
@@ -1,6 +1,25 @@
var _interceptors;
(function(exports) {
'use strict';
+ class Interceptor extends core.Object {
+ Interceptor() {
+ }
+ ['=='](other) {
+ return core.identical(this, other);
+ }
+ get hashCode() {
+ return _js_helper.Primitives.objectHashCode(this);
+ }
+ toString() {
+ return _js_helper.Primitives.objectToString(this);
+ }
+ noSuchMethod(invocation) {
+ throw new core.NoSuchMethodError(this, invocation.memberName, invocation.positionalArguments, invocation.namedArguments);
+ }
+ get runtimeType() {
+ return _js_helper.getRuntimeType(this);
+ }
+ }
let JSArray$ = dart.generic(function(E) {
class JSArray extends Interceptor {
JSArray() {
@@ -1294,25 +1313,6 @@ var _interceptors;
return null;
return constructor.prototype;
}
- class Interceptor extends core.Object {
- Interceptor() {
- }
- ['=='](other) {
- return core.identical(this, other);
- }
- get hashCode() {
- return _js_helper.Primitives.objectHashCode(this);
- }
- toString() {
- return _js_helper.Primitives.objectToString(this);
- }
- noSuchMethod(invocation) {
- throw new core.NoSuchMethodError(this, invocation.memberName, invocation.positionalArguments, invocation.namedArguments);
- }
- get runtimeType() {
- return _js_helper.getRuntimeType(this);
- }
- }
class JSBool extends Interceptor {
JSBool() {
super.Interceptor();
@@ -1380,6 +1380,7 @@ var _interceptors;
// Exports:
exports.JSArray = JSArray;
exports.JSArray$ = JSArray$;
+ exports.Interceptor = Interceptor;
exports.JSMutableArray = JSMutableArray;
exports.JSMutableArray$ = JSMutableArray$;
exports.JSFixedArray = JSFixedArray;
@@ -1407,7 +1408,6 @@ var _interceptors;
exports.findInterceptorConstructorForType = findInterceptorConstructorForType;
exports.findConstructorForNativeSubclassType = findConstructorForNativeSubclassType;
exports.findInterceptorForType = findInterceptorForType;
- exports.Interceptor = Interceptor;
exports.JSBool = JSBool;
exports.JSNull = JSNull;
exports.JSIndexable = JSIndexable;

Powered by Google App Engine
This is Rietveld 408576698