summaryrefslogtreecommitdiff
path: root/test/files/run/patmat_unapp_abstype.scala
Commit message (Collapse)AuthorAgeFilesLines
* migrates stdlib and compiler to tagsEugene Burmako2012-04-231-83/+0
| | | | | * all usages of ClassManifest and Manifest are replaced with tags * all manifest tests are replaced with tag tests
* wip: put skeleton for typetag-based typetests in placeAdriaan Moors2012-04-141-0/+5
|
* more prudent bridging to unapply[Seq]Adriaan Moors2012-04-141-5/+44
| | | | | | | | | since we can't statically know whether the unapply we'll be bridging to is synthetic, drop this condition, and do pessimistic bridging for all unapply[Seq] (i.e., if we can't statically guarantee the type that would be assumed to be safe to cast to by a synthetic extractor, do the type test and return None if it fails)
* 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