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

Unified Diff: test/codegen_expected/language/regress_21793_test_none_multi.js

Issue 2200913002: fixes #616, statics on callable functions (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 5 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_expected/language/regress_21793_test_none_multi.js
diff --git a/test/codegen_expected/language/regress_21793_test_none_multi.js b/test/codegen_expected/language/regress_21793_test_none_multi.js
index a98f2e0e3d11376bbe605658c7973b26716ca87b..adc2a2b7f1c7090a1e30633cc9bc66e976e5f9a2 100644
--- a/test/codegen_expected/language/regress_21793_test_none_multi.js
+++ b/test/codegen_expected/language/regress_21793_test_none_multi.js
@@ -8,9 +8,8 @@ dart_library.library('language/regress_21793_test_none_multi', null, /* Imports
const regress_21793_test_none_multi = Object.create(null);
let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))();
regress_21793_test_none_multi.A = dart.callableClass(function A(...args) {
- const self = this;
function call(...args) {
- return self.call.apply(self, args);
+ return call.call.apply(call, args);
}
call.__proto__ = this.__proto__;
call.new.apply(call, args);
« no previous file with comments | « test/codegen_expected/language/regress_11010_test.js ('k') | tool/input_sdk/private/ddc_runtime/classes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698