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

Unified Diff: test/codegen_expected/language/regress_11010_test.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_11010_test.js
diff --git a/test/codegen_expected/language/regress_11010_test.js b/test/codegen_expected/language/regress_11010_test.js
index 0f3c59d3620ccc3ca076dbbd44e2a1a8395bad5b..19014d2ecb5133ac2a86c483c2f131a6007c1b8b 100644
--- a/test/codegen_expected/language/regress_11010_test.js
+++ b/test/codegen_expected/language/regress_11010_test.js
@@ -14,9 +14,8 @@ dart_library.library('language/regress_11010_test', null, /* Imports */[
set caller(_) {}
});
regress_11010_test.Caller = dart.callableClass(function Caller(...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);

Powered by Google App Engine
This is Rietveld 408576698