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

Unified Diff: test/codegen/expect/dart/_js_helper.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
« no previous file with comments | « test/codegen/expect/dart/_interceptors.js ('k') | test/codegen/expect/dart/async.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/dart/_js_helper.js
diff --git a/test/codegen/expect/dart/_js_helper.js b/test/codegen/expect/dart/_js_helper.js
index 15b03ab6e193470a8cd816165fde74b9993e3b80..219abab017885d0946eb8efd20830dd7bb9e422b 100644
--- a/test/codegen/expect/dart/_js_helper.js
+++ b/test/codegen/expect/dart/_js_helper.js
@@ -1343,7 +1343,7 @@ var _js_helper;
if (result !== null)
return dart.as(result, core.bool);
}
- return dart.is(object, JavaScriptIndexingBehavior);
+ return dart.is(object, exports.JavaScriptIndexingBehavior);
}
// Function S: (dynamic) → String
function S(value) {
@@ -3133,8 +3133,13 @@ var _js_helper;
throw new DeferredNotLoadedError(uri);
}
}
- class JavaScriptIndexingBehavior extends _interceptors.JSMutableIndexable {
- }
+ dart.defineLazyClass(exports, {
+ get JavaScriptIndexingBehavior() {
+ class JavaScriptIndexingBehavior extends _interceptors.JSMutableIndexable {
+ }
+ return JavaScriptIndexingBehavior;
+ }
+ });
class TypeErrorImplementation extends core.Error {
TypeErrorImplementation(value, type) {
this.message = `type '${Primitives.objectTypeName(value)}' is not a subtype ` + `of type '${type}'`;
« no previous file with comments | « test/codegen/expect/dart/_interceptors.js ('k') | test/codegen/expect/dart/async.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698