9

Has anyone seen this problem? Start the scala REPL and

scala> :paste
// Entering paste mode (ctrl-D to finish)

val x = 5

ctrl-D does not cause REPL to finish paste mode.

4

1 回答 1

6

只需在粘贴后插入一个新行(ENTER),然后按 CTRL-D。花了半个小时才弄明白

于 2017-08-29T15:02:39.417 回答