diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-04-09 16:13:04 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-04-09 16:13:04 +0200 |
commit | 6a5a6cca84221b90b14dbac8730cafef7f60e410 (patch) | |
tree | 26ed77e2406a698ad86e2a381589d1d7daebb5a3 /tests/untried/pos/t3578.scala | |
parent | 9602523e0b6b89b73f77ac45f9a5b58060fcd6cf (diff) | |
download | dotty-6a5a6cca84221b90b14dbac8730cafef7f60e410.tar.gz dotty-6a5a6cca84221b90b14dbac8730cafef7f60e410.tar.bz2 dotty-6a5a6cca84221b90b14dbac8730cafef7f60e410.zip |
Replace tabs with 4 spaces in Dotty tests.
Diffstat (limited to 'tests/untried/pos/t3578.scala')
-rw-r--r-- | tests/untried/pos/t3578.scala | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/untried/pos/t3578.scala b/tests/untried/pos/t3578.scala index d98411820..2ce92a776 100644 --- a/tests/untried/pos/t3578.scala +++ b/tests/untried/pos/t3578.scala @@ -2,16 +2,16 @@ object Test { sealed abstract class JValue { def ++(other: JValue) = { def append(value1: JValue, value2: JValue): JValue = (value1, value2) match { - case (JNothing, x) => x - case (x, JNothing) => x - case (JObject(xs), x: JField) => JObject(xs ::: List(x)) - case (x: JField, JObject(xs)) => JObject(x :: xs) - case (JArray(xs), JArray(ys)) => JArray(xs ::: ys) - case (JArray(xs), v: JValue) => JArray(xs ::: List(v)) - case (v: JValue, JArray(xs)) => JArray(v :: xs) - case (f1: JField, f2: JField) => JObject(f1 :: f2 :: Nil) - case (JField(n, v1), v2: JValue) => JField(n, append(v1, v2)) - case (x, y) => JArray(x :: y :: Nil) + case (JNothing, x) => x + case (x, JNothing) => x + case (JObject(xs), x: JField) => JObject(xs ::: List(x)) + case (x: JField, JObject(xs)) => JObject(x :: xs) + case (JArray(xs), JArray(ys)) => JArray(xs ::: ys) + case (JArray(xs), v: JValue) => JArray(xs ::: List(v)) + case (v: JValue, JArray(xs)) => JArray(v :: xs) + case (f1: JField, f2: JField) => JObject(f1 :: f2 :: Nil) + case (JField(n, v1), v2: JValue) => JField(n, append(v1, v2)) + case (x, y) => JArray(x :: y :: Nil) } append(this, other) } |