No error from --make -o out when no main
If you run ghc --make [some .hs files] -o [output] and there is no Main.main, ghc doesn't complain, and silently doesn't produce an executable.
Trac metadata
Trac field | Value |
---|---|
Version | None |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | ResolvedFixed |
Component | None |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |