summaryrefslogtreecommitdiff
path: root/test/files/run/inline-ex-handlers.check
Commit message (Collapse)AuthorAgeFilesLines
* fix for SI-5672Miguel Garcia2012-05-211-57/+52
|
* Checkfile update.Paul Phillips2012-05-101-44/+44
| | | | Wonder if we should have a special area for high-turnover checkfiles.
* Custom hashCode methods for case classes.Paul Phillips2012-05-091-44/+44
| | | | No boxing, no MODULE$ indirection.
* don't emit tiny switches: optimizer chokes on themAdriaan Moors2012-04-141-52/+57
| | | | | | | | | | | | | | | | | | workaround for inliner bug in run/t3835 see SI-5672 for the optimizer bug tiny switches (2 cases or less) don't make sense anyway, so this is not a big deal the annotDepMethType.flags contained -Xexperimental, which causes Any* to be considered as a valid return type, before we weren't exposed to this, because the product methods used (tiny) switches; with this change, they went back to pattern matches in any case, the -Xexperimental was intended to turn on dependent method types, not Any* as valid type (I can only assume), and they are now on by default the other tests were affected by our refusal to emit tiny switches
* virtpatmat on by default; chicken out: -XoldpatmatAdriaan Moors2012-04-141-127/+134
| | | | | | | some tests (unreachability, exhaustivity, @switch annotation checking) are still run under -Xoldpatmat, but that will change before we go into RC mode (then the test/ partest of this commit will be reverted) removed irrelevant dependency on patmat
* Reverted ProductN parent for case classes.Paul Phillips2011-11-161-65/+76
| | | | | Looks like we will need blood, toil, tears, and sweat. No review.
* ProductN, and method synthesis toolbox.Paul Phillips2011-09-261-76/+65
| | | | | | | | | | | | | | | | | | | | | | - Finished giving case classes a ProductN parent, and flipped it on. The "finish" part involved not breaking existing code where case classes manually extend the appropriate ProductN. (Like, Tuple 1-22.) - Generalized most of SyntheticMethods to ease method creation and class manipulation in general. - Fixed bugs related to the above, like the fact that this used to be a compile error: scala> case class Foo() extends Serializable <console>:28: error: trait Serializable is inherited twice case class Foo() extends Serializable ^ It feels like there's a better way to eliminate the duplicate parents, but after spending a lot of time chasing my tail in that peril-fraught zone between namer and typer, I don't see an easy path to improve on it. Closes SI-1799. For that modification to Typers, review by odersky.
* Created infrastructure for testing icode + sett...Paul Phillips2011-08-221-0/+314
Created infrastructure for testing icode + settings/partest yak shaving. See enclosed test files/run/inline-ex-handlers.scala. To compare optimized and unoptimized icode after a given phase, all you need in a partest source file is this: import scala.tools.partest.IcodeTest object Test extends IcodeTest { override def printIcodeAfterPhase = "inlineExceptionHandlers" } Other things can be done, see IcodeTest.scala. Review by ureche.