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

--allow-eval: ghcid doesn't start up when project has compile error #338

Open
mklinik opened this issue Feb 25, 2021 · 1 comment
Open

Comments

@mklinik
Copy link

mklinik commented Feb 25, 2021

If you have a compile error in your project, ghcid usually just starts up and shows you the error. But with --allow-eval enabled, it terminates with the following error message:

ghcid: /home/mkl/sandbox/haskell-misc/hello-world/<unknown>: openFile: does not exist (No such file or directory)

If you start ghcid with --allow-eval in an error-free project and then add a compile error, ghcid works as expected.

How to reproduce:

  • add --allow-eval to .ghcid
  • have a project with compile error
  • start ghcid
@ndmitchell
Copy link
Owner

Thanks for the bug report. I don't actually use --allow-eval ever, so I'm unlikely to ever investigate in any depth. You're welcome to take a look, and I'd certainly accept a patch. Alternatively, maybe @akrmn or @isovector are interested in taking a look (as previous contributors of --allow-eval stuff)

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

No branches or pull requests

2 participants