Changing hs-boot doesn't trigger a consistency check
Ticket extracted from #24776 (closed).
- Create
A.hs-boot
module A where
A.hs
module A where
- Compile
ghc A. It succeeds. - Add
data TtoA.hs-bootonly. - Compile
ghc A. This unexpectedly succeeds: it recompilesA.hs-boot, but does not check thatA.hsis consistent with the boot file. - If you remove
A.hior use-fforce-recomp, thenghc Afails, as expected.