query: How can supertype be contained in subtype without throwing any compile-time error?
positive_passages.docid: 41444
positive_passages.text: What are the reasons why Map.get(Object key) is not (fully) generic
negative_passages.docid: 118110
negative_passages.text: Forward declaration of nested types/classes in C++
negative_passages.docid: 26731
negative_passages.text: Where does the 'override' qualifier go with trailing return types?
negative_passages.docid: 79947
negative_passages.text: polymorphic struct declaration
negative_passages.docid: 36443
negative_passages.text: Specifying the return type of an abstract method from a Base Class according to a Sub Class
negative_passages.docid: 66399
negative_passages.text: Java Generics -- Assigning a list of subclass to a list of superclass
negative_passages.docid: 76613
negative_passages.text: No enclosing instance of type ... is accessible
negative_passages.docid: 89502
negative_passages.text: Bounding generics with 'super' keyword
negative_passages.docid: 123433
negative_passages.text: Why aren't my include guards preventing recursive inclusion and multiple symbol definitions?
negative_passages.docid: 115130
negative_passages.text: How to call the overridden method of a superclass?
negative_passages.docid: 39245
negative_passages.text: Why are polymorphic values not inferred in Haskell?
negative_passages.docid: 175
negative_passages.text: Where and why do I have to put the "template" and "typename" keywords?
negative_passages.docid: 40369
negative_passages.text: Can I Limit the depth of a Generic Stack?
negative_passages.docid: 82156
negative_passages.text: Supertype/Subtype deciding between category: complete disjoint or incomplete overlapping
negative_passages.docid: 107515
negative_passages.text: Why don't structs support inheritance?
negative_passages.docid: 66717
negative_passages.text: Why can't C# member names be the same as the enclosing type name?
negative_passages.docid: 120039
negative_passages.text: Type erasure, overriding and generics