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 -i Option Hangs Startup #5443

Closed
scabug opened this issue Feb 8, 2012 · 2 comments
Closed

REPL -i Option Hangs Startup #5443

scabug opened this issue Feb 8, 2012 · 2 comments
Assignees

Comments

@scabug
Copy link

scabug commented Feb 8, 2012

Using the -i option to preload a file in the REPL appears to hang its startup. The following terminal session says it all:

daniel@edi ~ λ cat > /tmp/test.scala
println("hello!")
val test = 42

daniel@edi ~ λ scala -i /tmp/test.scala
Loading /tmp/test.scala...


daniel@edi ~ λ

It doesn't seem to matter what the contents of the file happen to be. Even an empty file is sufficient to reproduce this behavior. This happens for me both with 2.9.1.final, and a (slightly outdated) build of 2.10 from master. Exact environment details given in the ticket attributes.

@scabug
Copy link
Author

scabug commented Feb 8, 2012

Imported From: https://issues.scala-lang.org/browse/SI-5443?orig=1
Reporter: @djspiewak
Affected Versions: 2.9.1, 2.10.0
Duplicates #4945

@scabug
Copy link
Author

scabug commented Feb 8, 2012

@djspiewak said:
Duplicate of #4945. Wasn't able to find the issue via Google, but Kenji Yoshida found it for me on Twitter.

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