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
Closed

Repl dot-select ignore leading ws #9749

scabug opened this issue Apr 12, 2016 · 2 comments
Assignees
Milestone

Comments

@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
Copy link
Author

scabug commented Apr 12, 2016

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

@scabug
Copy link
Author

scabug commented Apr 12, 2016

@som-snytt said:
scala/scala#5097

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants