Bob Gregory
Results
33
comments of
Bob Gregory
I think the problem is that a Protocol class isn't assignable to Type. ``` class Parent(Protocol): def do_something(self) -> None: pass class Child: def do_something(self) -> None: print("Child doing something")...
``` reveal_type(Parser) # type[Parser] p: type[Parser] = Parser # unassignable. lol. ```
Looks conceptually related to #178