Closed
Description
Ref #927 (comment)
Inference works on the parent class but not the child in the following example:
class BaseMeta(type):
@property
def __members__(cls):
return ['a', 'property']
class Parent(metaclass=BaseMeta):
pass
class Derived(Parent):
pass
Parent.__members__ # [<Set.set l.10 at 0x...>]
Derived.__members__ # [<Property.__members__ l.8 at 0x...>]
Metadata
Metadata
Assignees
Labels
No labels