summaryrefslogtreecommitdiff
path: root/test/files/run/reify_this.scala
diff options
context:
space:
mode:
authorSom Snytt <som.snytt@gmail.com>2013-03-22 14:39:19 -0700
committerAdriaan Moors <adriaan.moors@typesafe.com>2013-04-04 10:57:42 -0700
commitc6ce61796f66770ca1b4d63fc0a569f064436433 (patch)
treeaa263d2764bcf47f024374d6538d94cc952199eb /test/files/run/reify_this.scala
parent7bb981a9ebb8700c81eca7062537b02bff9b0035 (diff)
downloadscala-c6ce61796f66770ca1b4d63fc0a569f064436433.tar.gz
scala-c6ce61796f66770ca1b4d63fc0a569f064436433.tar.bz2
scala-c6ce61796f66770ca1b4d63fc0a569f064436433.zip
SI-6289 Partest in technicolor and showing javac errors
Paulptest includes color and simplified test scarfing. Scalap tests are moved to the conventional name and location. Testicolor missed out on Josh Suereth's tweak to sort the files in a compilation round. Restore sortiness to test sources. Testicolor is due to one of Paul's branches on a timeline that apparently did not include the destruction of planet Earth and its colonies by the Xindi. Thanks also to Szabolcs Berecz for his merge effort. Merging is thankless work, but not as thankless as merging in a timeline that actually does terminate in the destruction of your home world and Enterprise. Archer had a supremely difficult choice: rescue humanity or live out his retirement with T'Pol waiting on him hand and foot? I'm sure I don't know how I'd choose.
Diffstat (limited to 'test/files/run/reify_this.scala')
-rw-r--r--test/files/run/reify_this.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/reify_this.scala b/test/files/run/reify_this.scala
index ecbf394bba..c385da6360 100644
--- a/test/files/run/reify_this.scala
+++ b/test/files/run/reify_this.scala
@@ -1,11 +1,11 @@
import scala.reflect.runtime.universe._
import scala.tools.reflect.Eval
-trait Eval {
+trait Transvaal {
def eval(tree: Expr[_]) = tree.eval
}
-object Test extends App with Eval {
+object Test extends App with Transvaal {
// select a value from package
eval(reify{println("foo")})
eval(reify{println((new Object).toString == (new Object).toString)})
@@ -17,4 +17,4 @@ object Test extends App with Eval {
// select a value from module
val x = 2
eval(reify{println(x)})
-} \ No newline at end of file
+}