basedmypy icon indicating copy to clipboard operation
basedmypy copied to clipboard

"The type "type[type]" is not generic and not indexable" error when using `type[...]` syntax with `Intersection`

Open DetachHead opened this issue 1 year ago • 0 comments

Describe the problem, ie expected/actual result (if it's not blatantly obvious)

No response

Gist to reproduce

foo = Intersection[int, type[int]]

Basedmypy version

No response

Command-line flags

No response

Configuration options from pyproject.toml (and other config files)

No response

Python version used

No response

Operating system and version

No response

DetachHead avatar Mar 05 '24 07:03 DetachHead