Skip to content

Fixes #1316: Remove JLine #1349

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

Merged
merged 1 commit into from
Jul 27, 2016
Merged

Fixes #1316: Remove JLine #1349

merged 1 commit into from
Jul 27, 2016

Conversation

kzys
Copy link
Contributor

@kzys kzys commented Jul 1, 2016

Dotty uses ammonite.terminal since April (53bd25f) which replaces JLine.
There is no reason to keep it anymore.

@@ -13,14 +13,13 @@ trait InteractiveReader {
/** The current Scala REPL know how to do this flexibly.
*/
object InteractiveReader {
/** Create an interactive reader. Uses JLine if the
/** Create an interactive reader. Uses Ammonite if the
* library is available, but otherwise uses a
* SimpleReader. */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we even need the SimpleReader anymore since the AmmoniteReader is always present in the dotty sources anyway?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that this try-catch can be removed.

Or, are you suggesting that removing SimpleReader entirely from Dotty?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what I'm asking, I don't know :)

@kzys
Copy link
Contributor Author

kzys commented Jul 14, 2016

I've just rebased the branch against master to make my commit fast-forwardable.

@smarter SimpleReader is still kept, but InteractiveReader doesn't call that based on the fact Ammonite is always there.

@DarkDimius
Copy link
Contributor

/rebuild

@odersky
Copy link
Contributor

odersky commented Jul 27, 2016

Can you rebase this to master, please? We'll merge it afterwards.

Dotty uses ammonite.terminal since April (53bd25f) which replaces JLine.
There is no reason to keep it anymore.
@smarter
Copy link
Member

smarter commented Jul 27, 2016

Merged, thank you and sorry for the delays!

@smarter smarter merged commit e0d34de into scala:master Jul 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants