TemplateHaskell module always recompiled with `-fno-code -fwrite-interface`
This problem does not occur on 9.0.1, but occurs on HEAD (87d93745).
Every time I run ghc -fno-code -fwrite-interface A.hs
, where A.hs
is any Haskell module with {-# LANGUAGE TemplateHaskell #-}
turned on, it always prints
[1 of 1] Compiling A ( A.hs, A.o, A.dyn_o )
indicating A
is being recompiled every time. This seems like a bug.