aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/reify-each-node-type.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-05-13 12:08:27 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-05-13 12:08:27 +0200
commit73a93505c432b410ae39fb3c4d6168b2e49832ce (patch)
tree53d45141a7b93682bea6430b0fb6ab28c3c3fad3 /tests/pending/run/reify-each-node-type.scala
parent89bacb9c25a58454ff1878e67f7ea07ffc8c269f (diff)
downloaddotty-73a93505c432b410ae39fb3c4d6168b2e49832ce.tar.gz
dotty-73a93505c432b410ae39fb3c4d6168b2e49832ce.tar.bz2
dotty-73a93505c432b410ae39fb3c4d6168b2e49832ce.zip
Running rewrite tool on run tests.
Diffstat (limited to 'tests/pending/run/reify-each-node-type.scala')
-rw-r--r--tests/pending/run/reify-each-node-type.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pending/run/reify-each-node-type.scala b/tests/pending/run/reify-each-node-type.scala
index 425061f95..43d32e59d 100644
--- a/tests/pending/run/reify-each-node-type.scala
+++ b/tests/pending/run/reify-each-node-type.scala
@@ -45,10 +45,10 @@ object s {
act(reify { val x: Int = 0 /* ValDef */ })
act(reify { val x = 0 /* TypeTree */ })
act(reify { if (true) () /* If */ })
- act(reify { def f { } /* DefDef */ })
+ act(reify { def f: Unit = { } /* DefDef */ })
act(reify { def m = super.q /* Super */ })
act(reify { trait A /* ClassDef Template */ })
- act(reify { def f(x: Any) { } /* EmptyTree */ })
+ act(reify { def f(x: Any): Unit = { } /* EmptyTree */ })
act(reify { null: D with E /* CompoundTypeTree */ })
act(reify { type T = Int /* TypeDef */ })
act(reify { type CC[T <: D] = C[T] /* TypeBoundsTree */ })