We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It looks like we definitely do need to handle non-TypeList synthetic types in merge.
These two tests fail now but passed before #4652:
[case testReprocessEllipses1] import a [file a.py] from typing import Tuple def foo(x: Tuple[int, ...]) -> None: pass [file a.py.2] from typing import Tuple def foo(x: Tuple[int, ...]) -> None: pass [builtins fixtures/tuple.pyi] [out] == [case testReprocessEllipses2] import a [file a.py] from typing import Callable def foo(x: Callable[..., int]) -> None: pass [file a.py.2] from typing import Callable def foo(x: Callable[..., int]) -> None: pass [out] ==
This one now fails with a synthetic type visitor error (and fails with assert symbol.kind != UNBOUND_IMPORTED before #4652):
assert symbol.kind != UNBOUND_IMPORTED
[case testReprocessCallableArg] import a [file a.py] from typing import Callable from mypy_extensions import Arg def a(f: Callable[[Arg(int, 'x')], int]) -> None: pass [file a.py.2] from typing import Callable from mypy_extensions import Arg def a(f: Callable[[Arg(int, 'x')], int]) -> None: pass [out] ==
The text was updated successfully, but these errors were encountered:
Fine-grained: Fix crashes when refreshing synthetic types
ce99ef4
Previously we only handled one kind of synthetic type, and others would cause a crash. Fixes #4665.
Fine-grained: Fix crashes when refreshing synthetic types (#4667)
27afa60
Fine-grained: Fix crashes when refreshing synthetic types (python#4667)
5efdfa9
Previously we only handled one kind of synthetic type, and others would cause a crash. Fixes python#4665.
JukkaL
No branches or pull requests
It looks like we definitely do need to handle non-TypeList synthetic types in merge.
These two tests fail now but passed before #4652:
This one now fails with a synthetic type visitor error (and fails with
assert symbol.kind != UNBOUND_IMPORTED
before #4652):The text was updated successfully, but these errors were encountered: