Matthias-Thul

Results 2 issues of Matthias-Thul

Consider the following example ```python from typing import TypeVar, Callable T = TypeVar('T') U = TypeVar('U') def decorator(victim: Callable[..., U]) -> Callable[..., U]: return victim def decorator_2(victim: Callable[..., T]) ->...

bug
cat: generics

Hi, consider the following class: ```python @dataclass class X: a: int b: int ``` My aim is to have `b` injected and have a single instance of `X` for each...