Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | smarter bridges to unapplies | Adriaan Moors | 2011-11-08 | 1 | -0/+2 |
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 |