diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-05-13 12:08:27 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-05-13 12:08:27 +0200 |
commit | 73a93505c432b410ae39fb3c4d6168b2e49832ce (patch) | |
tree | 53d45141a7b93682bea6430b0fb6ab28c3c3fad3 /tests/pending/run/t3895b.scala | |
parent | 89bacb9c25a58454ff1878e67f7ea07ffc8c269f (diff) | |
download | dotty-73a93505c432b410ae39fb3c4d6168b2e49832ce.tar.gz dotty-73a93505c432b410ae39fb3c4d6168b2e49832ce.tar.bz2 dotty-73a93505c432b410ae39fb3c4d6168b2e49832ce.zip |
Running rewrite tool on run tests.
Diffstat (limited to 'tests/pending/run/t3895b.scala')
-rw-r--r-- | tests/pending/run/t3895b.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pending/run/t3895b.scala b/tests/pending/run/t3895b.scala index a74f7b2ea..1ef35521f 100644 --- a/tests/pending/run/t3895b.scala +++ b/tests/pending/run/t3895b.scala @@ -11,7 +11,7 @@ class DryRun { lazy val test2 = 1 object test3 } - def test { + def test: Unit = { compiler.test1 compiler.test2 compiler.test3 @@ -21,7 +21,7 @@ class DryRun { } object Test { - def main(args: Array[String]) { + def main(args: Array[String]): Unit = { new DryRun().test } } |