summaryrefslogtreecommitdiff
path: root/test/files/pos/t6022.flags
Commit message (Collapse)AuthorAgeFilesLines
* SI-6022 model type-test-implication betterAdriaan Moors2012-07-111-0/+1
we use subtyping as a model for implication between instanceof tests i.e., when S <:< T we assume x.isInstanceOf[S] implies x.isInstanceOf[T] unfortunately this is not true in general. SI-6022 expects instanceOfTpImplies(ProductClass.tpe, AnyRefClass.tpe), but ProductClass.tpe <:< AnyRefClass.tpe does not hold because Product extends Any however, if x.isInstanceOf[Product] holds, so does x.isInstanceOf[AnyRef], and that's all we care about when modeling type tests