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

Fix compiled binding indexer always forcing integer boxing #16109

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

maxkatz6
Copy link
Member

What does the pull request do?

Working on #16108 I noticed invalid IL warnings produced by AOT compiler.
Apparently, our indexer setter were always invalid, at least with compiled bindings.
Didn't find any opened issues, but repro is pretty simple - any twoway binding to the indexer property.

Checklist

@maxkatz6 maxkatz6 added bug area-xaml backport-candidate-11.0.x Consider this PR for backporting to 11.0 branch backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch area-bindings labels Jun 24, 2024
@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.2.999-cibuild0049233-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@grokys grokys added this pull request to the merge queue Jun 25, 2024
@maxkatz6 maxkatz6 removed this pull request from the merge queue due to a manual request Jun 25, 2024
@maxkatz6 maxkatz6 merged commit 6660d75 into master Jun 25, 2024
12 checks passed
@maxkatz6 maxkatz6 deleted the fix-compiled-binding-indexer branch June 25, 2024 19:35
@maxkatz6 maxkatz6 added backported-11.1.x and removed backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch labels Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants