Files
sdk/tests/lib/js
Srujan Gaddam 3e7e66767c [pkg:_js_interop_checks] Handle unnamed members in JSExport error handling
Fixes https://github.com/dart-lang/sdk/issues/61085

If a member that is not exportable is marked for export, we
mark it as an error using the member's name. In the case of
unnamed members, however, we don't have a name, and therefore
the template throws an error as it doesn't have a valid arg.

Instead, use "<unnamed>" in the absence of a name.

Change-Id: Ie0776c95f775eb3f09f582d0386a2097beedc7fe
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/439641
Reviewed-by: Nicholas Shahan <nshahan@google.com>
Commit-Queue: Srujan Gaddam <srujzs@google.com>
Auto-Submit: Srujan Gaddam <srujzs@google.com>
2025-07-09 15:40:42 -07:00
..