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

Bug: tasty-discover generates .hs imports from .hs.orig files #45

Open
ulidtko opened this issue May 3, 2024 · 0 comments
Open

Bug: tasty-discover generates .hs imports from .hs.orig files #45

ulidtko opened this issue May 3, 2024 · 0 comments

Comments

@ulidtko
Copy link

ulidtko commented May 3, 2024

Reproducing requires several files, so I've minimized into this gist.

git clone https://gist.github.com/ulidtko/3ae90ea5d97d03906cd0a9022148dc49 bug-repro && cd bug-repro

cat README.md

TL;DR: in certain conditions, tasty-discover generates import qualified Foo.hs:

image

The conditions are: a test module has a copy in .orig file (like when happens during git conflicts resolution). See repro gist.

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

1 participant