Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SI-7591 Minor cleanups | Simon Ochsenreither | 2013-07-01 | 1 | -8/+1 |
| | |||||
* | Remove dependency on combinators from CommandLinerParser. | Adriaan Moors | 2013-06-25 | 1 | -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 Zaugg | 2012-09-08 | 1 | -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 |