Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport "Fix failing bounds check on default getter" to LTS #20597

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

WojciechMazur
Copy link
Contributor

Backports #18419 to the LTS branch.

PR submitted by the release tooling.
[skip ci]

The type arguments on the default argument had the wrong span, which
means that they were getting bounds checked.  This is in contrast the
other other type arguments (the ones on check itself), which aren't
bounds checked  - by not passing the isZeroExtent guard in
checkInferredWellFormed.

[Cherry-picked e8c8038]
@WojciechMazur
Copy link
Contributor Author

No regressions detected in the community build up to lts-18731.

Reference

@WojciechMazur WojciechMazur merged commit 8012eac into lts-18428 Jun 20, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants