summaryrefslogtreecommitdiff
path: root/test/files/run/treePrint.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-03-28 07:34:04 +0000
committerPaul Phillips <paulp@improving.org>2011-03-28 07:34:04 +0000
commit1b4fc3f26ea5efbf4784e1eb6d1de38ab1d8b013 (patch)
tree86f385fa9babfce3528a580306b079032af6edee /test/files/run/treePrint.scala
parent54f560fe37e9b95517822cec0a78e96cdb256abc (diff)
downloadscala-1b4fc3f26ea5efbf4784e1eb6d1de38ab1d8b013.tar.gz
scala-1b4fc3f26ea5efbf4784e1eb6d1de38ab1d8b013.tar.bz2
scala-1b4fc3f26ea5efbf4784e1eb6d1de38ab1d8b013.zip
Learned an interesting lesson about having an i...
Learned an interesting lesson about having an implicit object with a "def apply(x: Any): List[String]" method imported into power mode. Let's just say this is not advised. This and other rough edges eliminated from power mode, no review.
Diffstat (limited to 'test/files/run/treePrint.scala')
-rw-r--r--test/files/run/treePrint.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/treePrint.scala b/test/files/run/treePrint.scala
index ce7dd04499..452aaf390d 100644
--- a/test/files/run/treePrint.scala
+++ b/test/files/run/treePrint.scala
@@ -35,7 +35,7 @@ object Test {
settings.Ycompacttrees.value = true
val intp = new IMain(settings, new PrintWriter(new NullOutputStream))
- val power = new Power(intp)
+ val power = Power(intp)
intp.interpret("""def initialize = "Have to interpret something or we get errors." """)
power trees code foreach println
}