Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repl dot-select ignore leading ws #9749

Closed
scabug opened this Issue Apr 12, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@scabug
Copy link

scabug commented Apr 12, 2016

It would be nice if this worked:

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

"3"
  .toInt

// Exiting paste mode, now interpreting.

res0: Int = 3

scala> "3"
res1: String = 3

scala>   .toInt
<console>:1: error: illegal start of definition
  .toInt
  ^

As asked on SO

@scabug

This comment has been minimized.

Copy link
Author

scabug commented Apr 12, 2016

@scabug

This comment has been minimized.

Copy link
Author

scabug commented Apr 12, 2016

@scabug scabug closed this Apr 15, 2016

@scabug scabug added this to the 2.12.0-M5 milestone Apr 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.