aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/repl/CompilingInterpreter.scala
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-11-30 15:17:14 +0100
committerFelix Mulder <felix.mulder@gmail.com>2016-11-30 16:55:59 +0100
commita190cfe4f0ece8221d8d7e4b27e4bf73ca665a56 (patch)
tree8caff7661ea7055db1359463e11d9704366a905e /compiler/src/dotty/tools/dotc/repl/CompilingInterpreter.scala
parent8b7a7ea0cf25b55ea842fe1f299e1576b8bc3e5a (diff)
downloaddotty-a190cfe4f0ece8221d8d7e4b27e4bf73ca665a56.tar.gz
dotty-a190cfe4f0ece8221d8d7e4b27e4bf73ca665a56.tar.bz2
dotty-a190cfe4f0ece8221d8d7e4b27e4bf73ca665a56.zip
Get rid of nesting implicits
Diffstat (limited to 'compiler/src/dotty/tools/dotc/repl/CompilingInterpreter.scala')
-rw-r--r--compiler/src/dotty/tools/dotc/repl/CompilingInterpreter.scala13
1 files changed, 1 insertions, 12 deletions
diff --git a/compiler/src/dotty/tools/dotc/repl/CompilingInterpreter.scala b/compiler/src/dotty/tools/dotc/repl/CompilingInterpreter.scala
index d193148ef..e0fda8258 100644
--- a/compiler/src/dotty/tools/dotc/repl/CompilingInterpreter.scala
+++ b/compiler/src/dotty/tools/dotc/repl/CompilingInterpreter.scala
@@ -704,18 +704,7 @@ class CompilingInterpreter(
| if ($fullPath.asInstanceOf[AnyRef] != null) {
| (if ($fullPath.toString().contains('\\n')) "\\n" else "") + {
| import dotty.Show._
- | if ("$varType".matches(".*Map\\\\[.*,.*\\\\]")) {
- | import dotty.Show.Map._
- | $fullPath.show /*toString()*/ + "\\n"
- | } else if ("$varType".matches(".*List\\\\[.*\\\\]")) {
- | import dotty.Show.List._
- | $fullPath.show /*toString()*/ + "\\n"
- | } else if ("$varType".matches(".*Option\\\\[.*\\\\]")) {
- | import dotty.Show.Option._
- | $fullPath.show /*toString()*/ + "\\n"
- | } else {
- | $fullPath.show /*toString()*/ + "\\n"
- | }
+ | $fullPath.show /*toString()*/ + "\\n"
| }
| } else {
| "null\\n"