Commit 5a43fc58 authored by Fredrik Wieczerkowski's avatar Fredrik Wieczerkowski
Browse files

Load the modules with the Prelude

parent f929f73d
......@@ -132,7 +132,7 @@ loadModule opts m fn = do
is <- importSyntaxCheck iEnv withPrel
-- add information of imported modules
cEnv <- importModules withPrel iEnv is
return (cEnv { filePath = fn, tokens = toks }, mdl)
return (cEnv { filePath = fn, tokens = toks }, withPrel)
parseModule :: Options -> ModuleIdent -> FilePath
-> CYIO ([(Span, CS.Token)], CS.Module ())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment