src/Tools/Code/code_haskell.ML
changeset 44852 8ac91e7b6024
parent 44793 fddb09e6f84d
child 44926 de3ed037c9a5
--- a/src/Tools/Code/code_haskell.ML	Fri Sep 09 06:47:14 2011 +0200
+++ b/src/Tools/Code/code_haskell.ML	Thu Sep 08 12:23:11 2011 +0200
@@ -446,7 +446,7 @@
     (target, { serializer = serializer, literals = literals,
       check = { env_var = "ISABELLE_GHC", make_destination = I,
         make_command = fn module_name =>
-          "\"$ISABELLE_GHC\" -XRankNTypes -XScopedTypeVariables -odir build -hidir build -stubdir build -e \"\" " ^
+          "\"$ISABELLE_GHC\" -XRankNTypes -XScopedTypeVariables -XEmptyDataDecls -odir build -hidir build -stubdir build -e \"\" " ^
             module_name ^ ".hs" } })
   #> Code_Target.add_tyco_syntax target "fun" (SOME (2, fn print_typ => fn fxy => fn [ty1, ty2] =>
       brackify_infix (1, R) fxy (