Do you mean copying stuff from the REPL to something else?
Because this works:
scala> scala> def foo(x: Int) = { // Detected repl transcript paste: ctrl-D to finish. | x > 1 | } foo: (x: Int)Boolean // Replaying 1 commands from transcript. scala> def foo(x: Int) = { x > 1 } foo: (x: Int)Boolean
Do you mean copying stuff from the REPL to something else?
Because this works: