summaryrefslogtreecommitdiff
path: root/test/files/run/patmat_unapp_abstype.scala
Commit message (Collapse)AuthorAgeFilesLines
* smarter bridges to unappliesAdriaan Moors2011-11-081-0/+39
wraps the call to a bridged synthetic unapply(Seq) in a defensive if-test: if (x.isInstanceOf[expectedType]) real.unapply(x.asInstanceOf[expectedType]) else None NOTE: the test is WRONG, but it has to be due to #1697/#2337 -- once those are fixed, this one should generate the expected output