summaryrefslogtreecommitdiff
path: root/test/files/run/patmat-exprs.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/patmat-exprs.scala')
-rw-r--r--test/files/run/patmat-exprs.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/patmat-exprs.scala b/test/files/run/patmat-exprs.scala
index f502a14832..dfc78e2ca5 100644
--- a/test/files/run/patmat-exprs.scala
+++ b/test/files/run/patmat-exprs.scala
@@ -37,7 +37,7 @@ trait Pattern {
//
// type Numeric[T]
// import java.io.Serializable
- //
+ //
// implicit def compat27a[T](x: Iterable[T]) = new {
// def iterator: Iterator[T] = x.elements
// def sum: Int = 5
@@ -278,8 +278,8 @@ trait Pattern {
case Mul(Mul(y, Const(z)), Const(x)) => Mul(const(num.mul(x, z)), y)
case Const(x) if x == num.one => One[T]
- case Const(x) if x == num.zero => Zero[T]
-
+ case Const(x) if x == num.zero => Zero[T]
+
case Sub(x, Neg(y)) => Add(List(x, y))
case Sub(Neg(x), y) => Neg(Add(List(x, y)))
case Neg(Neg(x)) => x