dart-sdk/pkg/_js_interop_checks
Johnni Winther 3082602bf7 [cfe] Handle member access on extension type receivers
This updates the handling of member access on extension type receivers
to use the added `nonTypeVariableBound` and the `hasNonObjectMemberAccess`
properties.

The `nonTypeVariableBound` replaces the `resolveTypeParameterType`,
updated to taking the nullablity into account when going through
type variable bounds.

Change-Id: Ia2eb115c208350cdf011948177b15ebbc984fcac
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/333540
Reviewed-by: Srujan Gaddam <srujzs@google.com>
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2023-11-06 13:51:05 +00:00
..
lib [cfe] Handle member access on extension type receivers 2023-11-06 13:51:05 +00:00
analysis_options.yaml [pkg/_js_interop_checks] use package:lints/recommended.yaml 2023-02-14 19:17:26 +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 [pkg:js] Add type/conformance checking for createStaticInteropMock 2022-09-16 20:13:30 +00:00
README.md

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