X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=CoreTools.hs;h=1e65b0d6b0b95da582669c5774366e750bbc4c76;hb=ed1bae43e489cc20a6be9dd5e007bb7d7b6a95dc;hp=52006fb8d624b14991d49526887a29ff84175ab6;hpb=da1ada4d31ea157f61c1c9e0cd3854387ac32218;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git diff --git a/CoreTools.hs b/CoreTools.hs index 52006fb..1e65b0d 100644 --- a/CoreTools.hs +++ b/CoreTools.hs @@ -42,7 +42,8 @@ eval_tfp_int ty = (HsBinds.HsValBinds $ (HsBinds.ValBindsIn binds) []) (SrcLoc.noLoc expr) - core <- toCore [] expr + let modules = map GHC.mkModuleName ["Types.Data.Num"] + core <- toCore modules expr execCore core -- | Get the length of a SizedWord type