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

AOT generator ignores generic classes inheriting from generic types #1724

Closed
FrayxRulez opened this issue Aug 26, 2024 · 0 comments · Fixed by #1732
Closed

AOT generator ignores generic classes inheriting from generic types #1724

FrayxRulez opened this issue Aug 26, 2024 · 0 comments · Fixed by #1732
Labels
bug Something isn't working
Milestone

Comments

@FrayxRulez
Copy link

Describe the bug
AOT generator does not generate glue code for generic classes inheriting from generic types, causing the process to crash when trying to use these classes.

To Reproduce

// notice that there's no suggestion to add "partial" if it's missing
public partial class TestCollection<T> : ObservableCollection<T>
{
}
...
myListView.ItemsSource = new TestCollection<string>();

Expected behavior
COM glue is properly generated and process won't crash

Version Info

2.1.1

@FrayxRulez FrayxRulez added the bug Something isn't working label Aug 26, 2024
@manodasanW manodasanW added this to the Release 2.1.2 milestone Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants