diff options
author | Paul Phillips <paulp@improving.org> | 2011-03-28 07:34:04 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-03-28 07:34:04 +0000 |
commit | 1b4fc3f26ea5efbf4784e1eb6d1de38ab1d8b013 (patch) | |
tree | 86f385fa9babfce3528a580306b079032af6edee /test/files/run | |
parent | 54f560fe37e9b95517822cec0a78e96cdb256abc (diff) | |
download | scala-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')
-rw-r--r-- | test/files/run/treePrint.scala | 2 |
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 } |