Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add mueval status to aid debugging weird error
  • Loading branch information
chrisdone committed Jan 13, 2014
1 parent d56cbd7 commit ce4f431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TryHaskell.hs
Expand Up @@ -232,7 +232,7 @@ mueval typeOnly e =
case drop 1 (T.lines out) of
[typ,value'] -> return (Right (T.pack e,typ,value'))
_ -> return (Left ("Unable to get type and value of expression: " <> T.pack e))
ExitFailure{} -> return (Left out)
ExitFailure{} -> return (Left (out <> " " <> T.pack (show status)))
where options importsfp =
["-i","-t","1","--expression",e] ++
["--no-imports","-l",importsfp] ++
Expand Down

0 comments on commit ce4f431

Please sign in to comment.