scala / bug

Scala 2 bug reports only. Please, no questions — proper bug reports only.
https://scala-lang.org
232 stars 21 forks source link

REPL shows implicits #9826

Open scabug opened 8 years ago

scabug commented 8 years ago

A REPL needs a better story for implicit application than -Xprint:typer.

There's coloring and underlining.

Another idea is an explanatory comment on the input line:

scala> q + 1         // scala.this.Predef.any2stringadd[scala.collection.immutable.Queue[Int]]($line11.$read.q).+(1)

Shorter type names would help that solution.

Inspired by a representative question

scabug commented 8 years ago

Imported From: https://issues.scala-lang.org/browse/SI-9826?orig=1 Reporter: @som-snytt Affected Versions: 2.12.0-M4