Index: test/codegen_expected/corelib/apply_test.js |
diff --git a/test/codegen_expected/corelib/apply_test.js b/test/codegen_expected/corelib/apply_test.js |
index 9ba6a80dfe5143f6bb7d0282bcadaba0fab67467..2f3d40169bbab80bcb0c65cafa8a8071ab3620a7 100644 |
--- a/test/codegen_expected/corelib/apply_test.js |
+++ b/test/codegen_expected/corelib/apply_test.js |
@@ -65,9 +65,8 @@ dart_library.library('corelib/apply_test', null, /* Imports */[ |
methods: () => ({foo: dart.definiteFunctionType(core.int, [dart.dynamic])}) |
}); |
apply_test.Callable = dart.callableClass(function Callable(...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); |