Fix up expr001.hs and move it into should_compile
SRC_HC_OPTS += -noC -dcore-lint
SRC_HC_OPTS += -noC -dcore-lint
-read004_HC_OPTS = -fno-implicit-prelude
read012_HC_OPTS += -O -funfold-casms-in-hi-file -fglasgow-exts -ohi T1.hi
read013_HC_OPTS += -O -funfold-casms-in-hi-file -fglasgow-exts
read014_HC_OPTS += -Wall
read012_HC_OPTS += -O -funfold-casms-in-hi-file -fglasgow-exts -ohi T1.hi
read013_HC_OPTS += -O -funfold-casms-in-hi-file -fglasgow-exts
read014_HC_OPTS += -Wall
OK, I've fixed that little problem by disallowing,
-}
OK, I've fixed that little problem by disallowing,
-}
f x = x + if True then 1 else 2
f x = x + if True then 1 else 2
-- (the conditional/sig need to be parenthesised). If this is
-- problematic, let me know!
-- (the conditional/sig need to be parenthesised). If this is
-- problematic, let me know!
+++ /dev/null
-
-==================== Reader ====================
-module Test where
-{- rec -}
-f x = x zp (if c then 1 else 2)
-f x = x zp 1 :: Int
-
-
-
-expr001.hs:11: Variable not in scope: `c'
-
-Compilation had errors
-