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 ValueTask bugs #338

Merged
merged 3 commits into from
Jul 24, 2024
Merged

Fix ValueTask bugs #338

merged 3 commits into from
Jul 24, 2024

Conversation

jasongin
Copy link
Member

@jasongin jasongin commented Jul 24, 2024

Fixes: #337

The generic type parameters were not getting propagated in one place, which caused a bug when reflecting on certain methods in a nested type, such as ConfiguredValueTaskAwaitable<TResult>.ConfiguredValueTaskAwaiter referenced by ValueTask.

Additionally the JS marshaller was missing some support for ValueTask.

@jasongin jasongin changed the title Fix source generator generic method params bug Fix ValueTask bugs Jul 24, 2024
@jasongin jasongin merged commit 3c36102 into main Jul 24, 2024
24 checks passed
@jasongin jasongin deleted the dev/jasongin/generic-method-param branch July 24, 2024 21:33
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.

ValueTask return Type leads to error
2 participants