summaryrefslogtreecommitdiff
path: root/test/files/run/t7185.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t7185.check')
-rw-r--r--test/files/run/t7185.check8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/files/run/t7185.check b/test/files/run/t7185.check
index 455c1aa3b7..38449b3497 100644
--- a/test/files/run/t7185.check
+++ b/test/files/run/t7185.check
@@ -1,8 +1,6 @@
Type in expressions to have them evaluated.
Type :help for more information.
-scala>
-
scala> import scala.tools.reflect.ToolBox
import scala.tools.reflect.ToolBox
@@ -10,13 +8,13 @@ scala> import scala.reflect.runtime.universe._
import scala.reflect.runtime.universe._
scala> object O { def apply() = 0 }
-defined module O
+defined object O
scala> val ORef = reify { O }.tree
ORef: reflect.runtime.universe.Tree = $read.O
scala> val tree = Apply(Block(Nil, Block(Nil, ORef)), Nil)
-tree: reflect.runtime.universe.Apply =
+tree: reflect.runtime.universe.Apply =
{
{
$read.O
@@ -24,7 +22,7 @@ tree: reflect.runtime.universe.Apply =
}()
scala> {val tb = reflect.runtime.currentMirror.mkToolBox(); tb.typeCheck(tree): Any}
-res0: Any =
+res0: Any =
{
{
$read.O.apply()