juhp/test-ghc-make · 文件
文件最后提交记录最后更新时间
README.md
test-ghc-make
A toy project to test the compilation behavior with recent ghc:
-
It seems until ghc 9.2, builds would stop in the first module (source file) to error.
-
With ghc-9.4 and later, building seems to continue until it can proceed no longer (ie until some module requires a module that failed to compile).
How to test
Run eg:
$ make GHC=ghc-9.4.8
and see how the behavior changes with the version: eg 9.0.2/9.2.8 vs 9.4.8/9.6.6/9.8.2
(ghc --make etc probably also works: the makefile just removes any build artifacts first)