Fixed pattern match bug in HM, removed some unused code, added debug
help in main
This commit is contained in:
parent
0fd8a9bc74
commit
0e7d485e9e
3 changed files with 43 additions and 30 deletions
|
|
@ -155,6 +155,7 @@ main' opts s =
|
|||
when check (removeDirectoryRecursive "output")
|
||||
createDirectory "output"
|
||||
createDirectory "output/logs"
|
||||
when opts.logIL (writeFile "output/logs/tc.log" (printTree typechecked))
|
||||
when opts.debug $ do
|
||||
printToErr "\n -- Compiler --"
|
||||
writeFile "output/llvm.ll" generatedCode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue