Index: test/codegen_expected/language/function_subtype_call1_test.js |
diff --git a/test/codegen_expected/language/function_subtype_call1_test.js b/test/codegen_expected/language/function_subtype_call1_test.js |
index d73e52c4d4d1e411efd23065c517edfd4df8fe65..7176e0f2d984788b0e8b7bb5c9f3585a635283a7 100644 |
--- a/test/codegen_expected/language/function_subtype_call1_test.js |
+++ b/test/codegen_expected/language/function_subtype_call1_test.js |
@@ -21,9 +21,8 @@ dart_library.library('language/function_subtype_call1_test', null, /* Imports */ |
function_subtype_call1_test.Boz = dart.typedef('Boz', () => dart.functionType(dart.void, [core.bool])); |
function_subtype_call1_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); |
@@ -43,9 +42,8 @@ dart_library.library('language/function_subtype_call1_test', null, /* Imports */ |
function_subtype_call1_test.C1 = C1(); |
function_subtype_call1_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); |