Here's something that came up in python/typeshed#1549 (comment).
fromtypingimportAny, Type, TypeVarT=TypeVar('T')
classC(Any):
defbar(self: T) ->Type[T]: ...
deffoo(self) ->None:
reveal_type(self.bar()) # Type[C], as expectedreveal_type(self.bar().__name__) # Any, but expected str@ilevkivskyi I think you muttered something about analyze_member_access for TypeType still being broken but I'm not sure I understand.
Here's something that came up in python/typeshed#1549 (comment).
@ilevkivskyi I think you muttered something about
analyze_member_accessforTypeTypestill being broken but I'm not sure I understand.