Index: test/codegen_expected/language/call_argument_inference_test.js |
diff --git a/test/codegen_expected/language/call_argument_inference_test.js b/test/codegen_expected/language/call_argument_inference_test.js |
index 0c51d7d584949b50f74ebd9417e4a236bcb55aa7..8fb0fb46c5dec2bc8855c3e4548c526f3db7bc47 100644 |
--- a/test/codegen_expected/language/call_argument_inference_test.js |
+++ b/test/codegen_expected/language/call_argument_inference_test.js |
@@ -10,9 +10,8 @@ dart_library.library('language/call_argument_inference_test', null, /* Imports * |
const call_argument_inference_test = Object.create(null); |
let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))(); |
call_argument_inference_test.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); |