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

Clean up specialTypes #491

Merged
merged 2 commits into from Jun 8, 2022
Merged

Clean up specialTypes #491

merged 2 commits into from Jun 8, 2022

Conversation

halildurmus
Copy link
Member

I've added these before with #405 and #406. It was necessary at the time because the isInterface property was returning false for these generic interfaces which were preventing the projection of these types: https://github.com/timsneath/win32/blob/05df9384ad9c4c51a59d3f3d4701ac38494a9494/tool/generator/lib/src/projection/type.dart#L275-L285

I don't know when this was fixed but it seems to be working properly now. Therefore, we can remove them from the specialTypes map.

@halildurmus halildurmus added winrt generator Issue with package:generator labels Jun 7, 2022
Copy link
Contributor

@timsneath timsneath left a comment

Choose a reason for hiding this comment

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

LGTM!

@timsneath timsneath merged commit ca80006 into dart-windows:main Jun 8, 2022
@halildurmus halildurmus deleted the type-cleanup branch June 8, 2022 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
generator Issue with package:generator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants