diff options
author | Dale Wijnand <dale.wijnand@gmail.com> | 2016-05-24 14:09:48 +0100 |
---|---|---|
committer | Dale Wijnand <dale.wijnand@gmail.com> | 2016-05-26 16:01:57 +0100 |
commit | 3873fcfcbcc6c7f0c1660c18e45b265170580546 (patch) | |
tree | 59952086ce1560c73654a610645e78c6baf2f595 /test/files/run/t7747-repl.scala | |
parent | 65642d9f5ca6abc4836811fd0db0fc7d7b4dcb1c (diff) | |
download | scala-3873fcfcbcc6c7f0c1660c18e45b265170580546.tar.gz scala-3873fcfcbcc6c7f0c1660c18e45b265170580546.tar.bz2 scala-3873fcfcbcc6c7f0c1660c18e45b265170580546.zip |
Fully qualify types in REPL generated code
Diffstat (limited to 'test/files/run/t7747-repl.scala')
-rw-r--r-- | test/files/run/t7747-repl.scala | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/files/run/t7747-repl.scala b/test/files/run/t7747-repl.scala index 9b2d1c40be..c6a7e419aa 100644 --- a/test/files/run/t7747-repl.scala +++ b/test/files/run/t7747-repl.scala @@ -9,11 +9,7 @@ object Test extends ReplTest { } // replace indylambda function names by <function0> - override def eval() = { - val lines = super.eval - val r = """\$Lambda.*""".r - lines.map(l => r.replaceAllIn(l, "<function0>")) - } + override def normalize(s: String) = """\$Lambda.*""".r.replaceAllIn(s, "<function0>") def code = """ |var x = 10 |