Reputation: 2387
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.
Upvotes: 10
Views: 2644
Reputation: 316
Just insert a new line (ENTER) after u paste then hit CTRL-D. Spent a half an hour to figure this out
Upvotes: 9