summaryrefslogtreecommitdiff
path: root/test/files/run/t6507.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-6507 do not call .toString on REPL results when :silent is on.Antoine Gourlay2013-08-161-0/+14
Member handlers used to always call .toString on REPL results, even when :silent was on, which could force evaluation or cause unwanted side effects. This forwards the current value of `printResults` to the member handlers (through Request) for them to decide what to do when the results must not be printed. 2 handlers now do not return any extraction code when silent: - ValHandler, so that it doesn't call toString on the val - Assign, so that it doesn't call toString on the right-hand side of the assignement.