Commit 115edca4 authored by Andrew Gibiansky's avatar Andrew Gibiansky

use show errors should actually do something

parent 959085d0
...@@ -585,7 +585,7 @@ evalCommand output (Expression expr) state = do ...@@ -585,7 +585,7 @@ evalCommand output (Expression expr) state = do
-- If evaluation failed, return the failure. If it was successful, we -- If evaluation failed, return the failure. If it was successful, we
-- may be able to use the IHaskellDisplay typeclass. -- may be able to use the IHaskellDisplay typeclass.
if not canRunDisplay if not canRunDisplay
then return $ if not showErr then return $ if not showErr || useShowErrors state
then evalOut then evalOut
else postprocessShowError evalOut else postprocessShowError evalOut
else case evalStatus evalOut of else case evalStatus evalOut of
......
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