Haskell module imports itself

Viewed 392

I have src/Main.hs define the Main module and tests/Tests.hs import the Main module. Why does cabal build tell me module 'Main' (tests/Tests.hs) imports itself?

2 Answers
Related