Skip to content

Conversation

addaleax
Copy link
Collaborator

@addaleax addaleax commented May 4, 2021

Since the bug has more implications than making our tests flaky, start
working around it instead of skipping tests.

In particular, this fixes the linked ticket, because the REPL
implementation calling repl.displayPrompt() twice after an error
would also call lineByLineInput.nextLine() twice in our code,
which would start two async evaluations happening at the same time,
which breaks the async REPL wrapper’s API contract.

addaleax added 3 commits May 5, 2021 17:59
Since the bug has more implications than making our tests flaky, start
working around it instead of skipping tests.

In particular, this fixes the linked ticket, because the REPL
implementation calling `repl.displayPrompt()` twice after an error
would also call `lineByLineInput.nextLine()` twice in our code,
which would start two async evaluations happening at the same time,
which breaks the async REPL wrapper’s API contract.
@addaleax addaleax merged commit f1d40bb into main May 6, 2021
@addaleax addaleax deleted the 727-dev branch May 6, 2021 14:23
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