You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Take CWD into account in preprocessor hs-boot hack
This commit fixes an oversight in runPreProcessorWithHsBootHack, which
did not correctly take into account the working directory. This could
lead to situations in which we failed to apply the hack.
Recall that this hack is for situations when one has both an hs-boot
file and a file in need of preprocessing, such as:
Foo.y
Foo.hs-boot
or
Bar.hsc
Bar.hs-boot
Failing to apply the hack essentially meant that GHC would not be able
to see the hs-boot file, which caused build failures.
0 commit comments