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 can infer -raw paste mode #9104

Closed scabug closed 8 years ago

scabug commented 9 years ago

Only people who spend all day in REPL sessions remember options like -raw for pasting. Are there any such people?

Maybe REPL could please just infer -raw mode when it needs to.

This suggestion brought to you by Poker Face a/k/a extempore.

Maybe infer paste mode if I enter class Foo and then object Foo, which is an important use case, to glue companions together.

scabug commented 9 years ago

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

scabug commented 8 years ago

@som-snytt said: https://github.com/scala/scala/pull/5197