KEMBAR78
Fix crash with type alias inside __init__ in incremental mode by JukkaL · Pull Request #10432 · python/mypy · GitHub
Skip to content

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented May 6, 2021

Don't create TypeAliasType for aliases defined within functions,
since the target can't be looked up using the full name, as we drop
function symbol tables after we've finished processing them.

Fixes #7281.

Don't create `TypeAliasType` for aliases defined within functions,
since the target can't be looked up using the full name, as we drop
function symbol tables after we've finished processing them.

Fixes #7281.
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.

"AssertionError: Cannot find component" for local NamedTuple

2 participants