16 Aug
2021
16 Aug
'21
5:04 a.m.
Sorry, just to be a bit clearer, I am asking about being able to do: ```py class LinkedList(Generic[T]): value: T next: Self | None = None class OrdinalLinkedList(LinkedList[int]): @property def ordinal_value(self) -> int: ... reveal_type(OrdinalLinkedList(value=1, next=OrdinalLinkedList(value=2)).next) # revealed type is OrdinalLinkedList ```