0bd6887ed2
Changes the logic that reports the following errors to use `withArguments` rather than `withArgumentsOld`: - `ffiNativeUnexpectedNumberOfParametersWithReceiver` - `ffiNativeUnexpectedNumberOfParameters` Change-Id: I6a6a6964dd30dbad9f4453181472629b09b13487 Tested: standard trybots Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/477160 Commit-Queue: Paul Berry <paulberry@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Ben Konyi <bkonyi@google.com>