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

haskell-process-load-complete: handle ghc 9.10 message #1850

Merged
merged 2 commits into from
Sep 11, 2024

Conversation

rntz
Copy link
Contributor

@rntz rntz commented Sep 11, 2024

ghc 9.10 and later can respond to :load with "Failed, unloaded all modules." Unfortunately haskell-process-load-complete does not recognize this response. This PR fixes this. To simplify and future-proof the code I've adjusted haskell-process-load-complete to look for the regexes Ok, .*$ or Failed, .*$. Alternatively, if you'd prefer to narrowly add the "Failed, unloaded all modules." message, you could cherry-pick this commit.

This may possibly fix #1642.

@purcell
Copy link
Member

purcell commented Sep 11, 2024

Looks good, thanks — merged!

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