diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-04-09 16:58:43 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-04-09 16:58:43 +0200 |
commit | 4d1c9e2212d8d462ad8664904491c378766a65fa (patch) | |
tree | f43b9c51d669a92be7cab4e5d70b10b3c90b7085 /tests/pos/Labels.scala | |
parent | afa630a78b4f2cd9bd799b5a0199b99548f18aaa (diff) | |
download | dotty-4d1c9e2212d8d462ad8664904491c378766a65fa.tar.gz dotty-4d1c9e2212d8d462ad8664904491c378766a65fa.tar.bz2 dotty-4d1c9e2212d8d462ad8664904491c378766a65fa.zip |
Remove trailing spaces in Dotty tests.
Diffstat (limited to 'tests/pos/Labels.scala')
-rw-r--r-- | tests/pos/Labels.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/pos/Labels.scala b/tests/pos/Labels.scala index d82287313..a2271461d 100644 --- a/tests/pos/Labels.scala +++ b/tests/pos/Labels.scala @@ -5,18 +5,18 @@ import dotty.tools.dotc.ast.tpd._ object Labels { def main(args: Array[String]): Unit = { var i = 10 - while(i>0) { + while(i>0) { var j = 0 while(j<i) { println(j+" " + i) j = j +1 - } + } i = i - 1} pattern(1) pattern(2) - pattern(3) + pattern(3) } - + def pattern(a: Int) = a match { case 1 if (a>0) => println("one") case t@2 => println("two" + t) |