KEMBAR78
Fix crash on recursive alias with an optional type by ilevkivskyi · Pull Request #17350 · python/mypy · GitHub
Skip to content

Conversation

ilevkivskyi
Copy link
Member

Fixes #17132

Fix is trivial, we don't need that extra get_proper_type().

@github-actions
Copy link
Contributor

github-actions bot commented Jun 9, 2024

Diff from mypy_primer, showing the effect of this PR on open source code:

ibis (https://github.com/ibis-project/ibis)
- ibis/common/graph.py:464: error: Argument "filter" to "map" of "Node" has incompatible type "Callable[[Node], bool] | Pattern | _ClassInfo | None"; expected "Callable[[Node], bool] | None"  [arg-type]
+ ibis/common/graph.py:464: error: Argument "filter" to "map" of "Node" has incompatible type "FinderLike | None"; expected "Callable[[Node], bool] | None"  [arg-type]

@ilevkivskyi ilevkivskyi merged commit 428a035 into python:master Jun 9, 2024
@ilevkivskyi ilevkivskyi deleted the fix-rec-opt branch June 9, 2024 19:50
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.

INTERNAL ERROR: maximum semantic analysis iteration count reached on self-referential union

1 participant