Files
sdk/tests
Martin Kustermann f4b4e5e297 [dart2wasm] Fix incorrect setup of checked entrypoints
A method may be overriden multiple times, the overriden methods may add
optional parameters. Dart2wasm generates a signature for such selectors
that includes all optional parameters from all overriden methods.

That means
* callers may pass more arguments than the signature of the target
  => it passes dummy values
* implementations get more parameters passed than their Dart function
  => it ignores them

The checked/unchecked entry functions need to also support this
mechanism.

Issue https://github.com/dart-lang/sdk/issues/60148

Change-Id: Ifb60c44d3c5e5b6e374a15731723e16d22bfc094
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/414720
Reviewed-by: Ömer Ağacan <omersa@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2025-03-11 03:57:09 -07:00
..

This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/tree/main/docs/Testing.md.