Closed msridhar closed 5 months ago
Attention: Patch coverage is 95.45455%
with 3 lines
in your changes are missing coverage. Please review.
Project coverage is 86.12%. Comparing base (
f4c4734
) to head (075fa41
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Add checks for proper array subtyping (including nullability of array contents) at pseudo-assignments and for method overriding. We do not yet handle multi-dimensional arrays. Note that JSpecify allows for covariant array subtyping with respect to nullability (see https://github.com/jspecify/jspecify/issues/65) which complicates the implementation a bit. Also some hacks are required since javac does not propagate the array contents nullability annotation into the types of the relevant trees in all cases.