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

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

Issue 1133593004: fixes #131, use before define from variables to classes (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: fix static fields Created 5 years, 7 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: lib/runtime/dart/_js_helper.js
diff --git a/lib/runtime/dart/_js_helper.js b/lib/runtime/dart/_js_helper.js
index d1b98c1ceacf3b19260b01336c41490486f113fa..e6897955b289a78ae4bca5e91e663931ae306d25 100644
--- a/lib/runtime/dart/_js_helper.js
+++ b/lib/runtime/dart/_js_helper.js
@@ -2743,7 +2743,7 @@ var _isolate_helper = dart.lazyImport(_isolate_helper);
{
return function(f, s) {
return function() {
- return f.apply(s(this), arguments$);
+ return f.apply(s(this), arguments$0);
};
}(func, getSelf);
}
@@ -2840,7 +2840,7 @@ var _isolate_helper = dart.lazyImport(_isolate_helper);
return function(f, s, r, a) {
return function() {
a = [r(this)];
- Array.prototype.push.apply(a, arguments$);
+ Array.prototype.push.apply(a, arguments$1);
return f.apply(s(this), a);
};
}(func, getSelf, getReceiver);
@@ -3723,7 +3723,7 @@ var _isolate_helper = dart.lazyImport(_isolate_helper);
let isolateTagGetter = _foreign_helper.JS_EMBEDDED_GLOBAL('', _js_embedded_names.GET_ISOLATE_TAG);
return isolateTagGetter(name);
}
- let LoadLibraryFunctionType = dart.typedef('LoadLibraryFunctionType', () => dart.functionType(async.Future$(core.Null), []));
+ let LoadLibraryFunctionType = dart.typedef('LoadLibraryFunctionType', dart.functionType(async.Future$(core.Null), []));
// Function _loadLibraryWrapper: (String) → () → Future<Null>
function _loadLibraryWrapper(loadId) {
return () => loadDeferredLibrary(loadId);
@@ -3736,7 +3736,7 @@ var _isolate_helper = dart.lazyImport(_isolate_helper);
return new (core.Set$(core.String))();
}
});
- let DeferredLoadCallback = dart.typedef('DeferredLoadCallback', () => dart.functionType(dart.void, []));
+ let DeferredLoadCallback = dart.typedef('DeferredLoadCallback', dart.functionType(dart.void, []));
exports.deferredLoadHook = null;
// Function loadDeferredLibrary: (String) → Future<Null>
function loadDeferredLibrary(loadId) {
@@ -3855,8 +3855,8 @@ var _isolate_helper = dart.lazyImport(_isolate_helper);
function mainHasTooManyParameters() {
throw new MainError("'main' expects too many parameters.");
}
- let __CastType0 = dart.typedef('__CastType0', () => dart.functionType(core.int, [core.String]));
- let __CastType2 = dart.typedef('__CastType2', () => dart.functionType(core.double, [core.String]));
+ let __CastType0 = dart.typedef('__CastType0', dart.functionType(core.int, [core.String]));
+ let __CastType2 = dart.typedef('__CastType2', dart.functionType(core.double, [core.String]));
// Exports:
exports.NoSideEffects = NoSideEffects;
exports.NoThrows = NoThrows;

Powered by Google App Engine
This is Rietveld 408576698