Skip to content

Handle generic params of manually projected types#120

Merged
dunhor merged 2 commits intomainfrom
dunhor/genericfix
Oct 12, 2021
Merged

Handle generic params of manually projected types#120
dunhor merged 2 commits intomainfrom
dunhor/genericfix

Conversation

@dunhor
Copy link
Copy Markdown
Member

@dunhor dunhor commented Oct 11, 2021

For types like IVectorView<T> we enumerate all function arguments/return types to build the set of generic types that we project. However, there are some generic types that are handled specially and are not projected 1:1, so they miss this step. Adding in code to manually enumerate the generic params of these types.

Fixes #119

@dunhor dunhor merged commit fcf37c3 into main Oct 12, 2021
@dunhor dunhor deleted the dunhor/genericfix branch October 12, 2021 19:14
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.

The templated param to IAsyncOperation<T> is not projected if T is IVectorView<U> and only referenced by IAsyncOperation<T>

2 participants