dart-sdk/pkg/_js_interop_checks
Srujan Gaddam 06ec78851b [dart:js_interop] Add static error for converted functions that contain named params
Like type parameters, these parameters can't be passed from JS and
such functions already do not work as intended as there is no way
to pass named args to a JS function. These named parameters were
being silently ignored in dart2wasm when creating the function
trampoline.

Change-Id: Iebb890de05f8b242e0542c1ec8f2c0582c5232df
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/368062
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Nicholas Shahan <nshahan@google.com>
2024-06-14 19:42:10 +00:00
..
lib [dart:js_interop] Add static error for converted functions that contain named params 2024-06-14 19:42:10 +00:00
analysis_options.yaml [pkg] remove duplicate config from the analysis options files 2023-11-14 00:37:53 +00:00
LICENSE Update LICENSE 2021-04-07 10:28:38 +00:00
OWNERS Add OWNERS_WEB as owners of _js_interop_checks 2022-04-05 10:41:23 +00:00
pubspec.yaml [js_interop_checks] Update SDK constraint to support Dart 3 2024-01-31 01:54:18 +00:00
README.md

Shared kernel visitors checking for incorrect usage of @JS() style interop.