Index: test/codegen_expected/language/function_subtype_call2_test.js |
diff --git a/test/codegen_expected/language/function_subtype_call2_test.js b/test/codegen_expected/language/function_subtype_call2_test.js |
index 300eca3176bbd0a94a6c69a5591454981af692b4..2ffb22a55b703b1725ca1ab13bc33fe48be5f925 100644 |
--- a/test/codegen_expected/language/function_subtype_call2_test.js |
+++ b/test/codegen_expected/language/function_subtype_call2_test.js |
@@ -23,9 +23,8 @@ dart_library.library('language/function_subtype_call2_test', null, /* Imports */ |
function_subtype_call2_test.Boz = dart.typedef('Boz', () => dart.functionType(dart.void, [core.bool])); |
function_subtype_call2_test.C1$ = dart.generic(T => { |
const C1 = dart.callableClass(function C1(...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); |
@@ -50,9 +49,8 @@ dart_library.library('language/function_subtype_call2_test', null, /* Imports */ |
function_subtype_call2_test.D1 = D1(); |
function_subtype_call2_test.C2$ = dart.generic(T => { |
const C2 = dart.callableClass(function C2(...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); |