mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 10:49:00 +00:00
534e85866d
Fixes a missing case where DDC allows unwrapped functions to flow to JavaScript through constructor calls or anonymous object instantiation. - Pass the `Member` through to `_emitArgumentList` in the case of constructor calls and object literals so that `isJsInterop` can be determined. - Pass an optional `isJsArgument` member through for emitting named expressions. Previously I thought that no named arguments would be used for javascript calls, but they are used to create object literals for anonymous JS types. - Add both anonymous and non-anonymous constructor invocation examples to the JS interop test. Change-Id: I004642f3b2caccc0d8c26786f2bdcb081d135898 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/131462 Reviewed-by: Nicholas Shahan <nshahan@google.com> Reviewed-by: Vijay Menon <vsm@google.com> Commit-Queue: Nate Bosch <nbosch@google.com> |
||
---|---|---|
.. | ||
angular | ||
co19 | ||
co19_2 | ||
compiler | ||
corelib | ||
corelib_2 | ||
dart | ||
ffi | ||
kernel | ||
language | ||
language_2 | ||
lib | ||
lib_2 | ||
modular | ||
search | ||
standalone | ||
standalone_2 | ||
legacy_status_dart2js.csv | ||
light_unittest.dart | ||
README.md |
This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.