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 regression in IBindableIterator #1690

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

manodasanW
Copy link
Member

WinUI happens to treat IBindableIterator (IEnumerable) and IIterator<object> (IEnumerable<object>) as the same and we maintain that for compat reasons. But CsWinRT itself doesn't assume that and does do a QI for IIterator<object> as needed which means we need to make sure that interface is also on the vtable when IBindableIterator is used. This was the case with JIT as both interfaces were implemented, but the WinRT exposed attribute we put didn't and this regressed.

Fixes microsoft/microsoft-ui-xaml#9855

@manodasanW manodasanW merged commit 4d0c9c1 into staging/AOT Aug 1, 2024
10 checks passed
@manodasanW manodasanW deleted the manodasanw/ibindableiterable branch August 1, 2024 21:24
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.

1 participant