Index: test/codegen_expected/language/function_subtype3_test.js |
diff --git a/test/codegen_expected/language/function_subtype3_test.js b/test/codegen_expected/language/function_subtype3_test.js |
index d966dfb82b5d5edcf5d7a186112e0bd0ab4ca26a..8a2683f51f6eed91864eeb03c4f2adec1adc2af4 100644 |
--- a/test/codegen_expected/language/function_subtype3_test.js |
+++ b/test/codegen_expected/language/function_subtype3_test.js |
@@ -17,9 +17,8 @@ dart_library.library('language/function_subtype3_test', null, /* Imports */[ |
let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))(); |
function_subtype3_test.FunctionLike$ = dart.generic(T => { |
const FunctionLike = dart.callableClass(function FunctionLike(...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); |