Skip to content

Commit ee3e3f7

Browse files
committed
Hide all packages by default, auto-enable fay-base
This avoids conflicting with packages that haven't been specified on the command-line with --package, e.g. the text package when you import Data.Text.
1 parent 29b3de7 commit ee3e3f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Fay/Compiler/Typecheck.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ typecheck cfg fp = do
3131
return [flag ++ '=' : pk]
3232
let flags =
3333
[ "-fno-code"
34-
, "-hide-package base"
34+
, "-hide-all-packages"
3535
, "-cpp", "-pgmPcpphs", "-optP--cpp"
3636
, "-optP-C" -- Don't let hse-cpp remove //-style comments.
3737
, "-DFAY=1"

0 commit comments

Comments
 (0)