29c8c6bbf3
Apply a workaround for dropping the receiver. This makes the behavior consistent with the VM. Closes: https://github.com/dart-lang/native/issues/2926 We should find a better solution for extension methods that also records the name of the extension and the type its on and the original method name. This will be addressed later. Bug: https://github.com/dart-lang/native/issues/2948 Change-Id: Iaa1f6afb82e4a70ed7af8e8ae4bbf92c4776637e Cq-Include-Trybots: luci.dart.try:pkg-linux-debug-try,pkg-linux-release-arm64-try,pkg-linux-release-try,pkg-mac-release-arm64-try,pkg-mac-release-try,pkg-win-release-arm64-try,pkg-win-release-try,dart2js-linux-chrome-try,dart2js-unit-linux-x64-release-try,dart2wasm-linux-jscm-chrome-try,dart2wasm-linux-optimized-jsc-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/472540 Reviewed-by: Nate Biggs <natebiggs@google.com>