Skip to content

Conversation

@BobTheBuidler
Copy link
Contributor

@BobTheBuidler BobTheBuidler commented Sep 10, 2025

This PR lets mypyc properly use the return types from generator functions and async def functions

Open questions:

  1. Can I apply this same logic to @Property (and other getters that return a known type)?

(Explain how this PR changes mypy.)

@BobTheBuidler BobTheBuidler changed the title [mypyc] feat: improve typing for decorated genfuncs [wip] [mypyc] feat: improve typing for decorated genfuncs Sep 26, 2025
@BobTheBuidler BobTheBuidler deleted the genfunc-typing branch October 15, 2025 23:45
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.

1 participant