Skip to content

Fix Tab completion on Array causes ammonite to exit (#252)#258

Merged
lihaoyi merged 1 commit intocom-lihaoyi:masterfrom
ssanj:master
Nov 15, 2015
Merged

Fix Tab completion on Array causes ammonite to exit (#252)#258
lihaoyi merged 1 commit intocom-lihaoyi:masterfrom
ssanj:master

Conversation

@ssanj
Copy link
Copy Markdown
Contributor

@ssanj ssanj commented Nov 12, 2015

Added a Try around the awaitResponse method to prevent an Exception
killing the Ammonite Repl. The awaitResponse method throws an Exception
if a match can't be found for a completion.

The Failure case simply returns an empty List[pressy.Member]. This seems
like the simplest and least invasive fix for issue #252, although it may
not be ideal.

Added a Try around the awaitResponse method to prevent an Exception
killing the Ammonite Repl. The awaitResponse method throws an Exception
if a match can't be found for a completion.

The Failure case simply returns an empty List[pressy.Member]. This seems
like the simplest and least invasive fix for issue #252, although it may
not be ideal.
lihaoyi added a commit that referenced this pull request Nov 15, 2015
Fix Tab completion on Array causes ammonite to exit (#252)
@lihaoyi lihaoyi merged commit 36c2449 into com-lihaoyi:master Nov 15, 2015
@lihaoyi
Copy link
Copy Markdown
Member

lihaoyi commented Nov 15, 2015

Thanks!

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.

2 participants