#include "HsVersions.h"
-import Util ( panic )
+import Panic ( panic )
junk_from_SATMonad = panic "SATMonad.junk"
InstTyEnv(..)
)
import MkId ( mkSysLocal )
-import Id ( idType, idName, mkUserId )
+import Id ( idType, idName, mkVanillaId )
import UniqSupply
import Util
let
new_name = mkCompoundName SLIT("$sat") unique (idName id)
in
- (mkUserId new_name ty, env) }
+ (mkVanillaId new_name ty, env) }
getArgLists :: CoreExpr -> ([Arg Type],[Arg Id])
getArgLists expr
-- top-level or exported somehow.)
-- A better fix is to use binder directly but with the TopLevel
-- tag (or Exported tag) modified.
- fake_binder = mkSysLocal
+ fake_binder = mkSysLocal SLIT("sat")
(getUnique binder)
(idType binder)
rec_body = mkValLam non_static_args