We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57844c6 commit 755bc89Copy full SHA for 755bc89
1 file changed
src/LambdaComp/Driver.hs
@@ -74,7 +74,7 @@ handleElTcError outH (Left elTcErr) = lift (hPutStrLn outH "ElTc") >> pHPrintNoC
74
handleElTcError _ (Right prog) = pure prog
75
76
handleCBPVTcError :: Handle -> Either CBPV.TypeError a -> ExceptT Int IO a
77
-handleCBPVTcError outH (Left cbpvTcErr) = lift (hPutStrLn outH "CBPVTc") >> pHPrintNoColor outH cbpvTcErr >> throwError 1
+handleCBPVTcError outH (Left cbpvTcErr) = lift (hPutStrLn outH "CBPVTc") >> lift (hPutDoc outH $ pretty cbpvTcErr) >> throwError 1
78
handleCBPVTcError _ (Right prog) = pure prog
79
80
runWithFp :: (Bool -> FilePath -> ExceptT Int IO a) -> Maybe FilePath -> ExceptT Int IO a
0 commit comments