ghc-mod "expand" to expand TH.
This commit is contained in:
4
Check.hs
4
Check.hs
@@ -25,4 +25,6 @@ check opt fileName = withGHC $ checkIt `gcatch` handleErrMsg
|
||||
setTargetFile file
|
||||
load LoadAllTargets
|
||||
liftIO readLog
|
||||
options = ["-Wall","-fno-warn-unused-do-bind"] ++ ghcOpts opt
|
||||
options
|
||||
| expandSplice opt = ghcOpts opt
|
||||
| otherwise = ["-Wall","-fno-warn-unused-do-bind"] ++ ghcOpts opt
|
||||
|
||||
Reference in New Issue
Block a user