Skip to content

Conversation

@manodasanW
Copy link
Member

Previous fixes to IID optimizer discovered issues where some of the generated class had incorrect IL. This was particularly in cases where the generic was known but is a custom type mapping like Nullable. This handles them by detecting if it is a generic or not before figuring out how to do a field access of the iidData field.

The generic instantiation classes for delegates were assuming they were IInspectable based when it isn't. This addresses that by fixing the vtable index.

Copy link
Member

@Sergio0694 Sergio0694 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good find! :shipit:

@manodasanW
Copy link
Member Author

CI already passed: 2.0.5-prerelease.240110.22

@manodasanW manodasanW merged commit 7269faf into staging/AOT Jan 11, 2024
@manodasanW manodasanW deleted the manodasanw/fix_delegate_generic_instantiation2 branch January 11, 2024 01:25
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.

3 participants