summaryrefslogtreecommitdiff
path: root/test/files/run/t6331b.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-7591 Minor cleanupsSimon Ochsenreither2013-07-011-8/+1
|
* Remove dependency on combinators from CommandLinerParser.Adriaan Moors2013-06-251-1/+1
| | | | | | | tools.cmd.CommandLineParser uses a small hand-rolled parser TODO: replace partest's usage of scala.tools.nsc.util.CommandLine by scala.tools.cmd.CommandLine
* SI-6331 Avoid typing an If tree with a constant type.Jason Zaugg2012-09-081-0/+20
The fast path in typedIf added in 8552740b avoided lubbing the if/else branch types if they are identical, but this fails to deconst the type. This could lead to the entire if expression being replaced by a constant. Also introduces a new tool in partest for nicer checkfiles. // in Test.scala trace(if (t) -0d else 0d) // in Test.check trace> if (Test.this.t) -0.0 else 0.0 res: Double = -0.0