Adopt LeventErkok's suggestion from #435

Closes #435.
This commit is contained in:
Aaron Tomb 2017-07-21 12:58:05 -07:00
parent 2885d469da
commit 2fd6599e0b

View File

@ -213,7 +213,7 @@ satProve ProverCommand {..} =
[] -> return $ ThmResult (unFinType <$> ts) [] -> return $ ThmResult (unFinType <$> ts)
-- otherwise something is wrong -- otherwise something is wrong
_ -> return $ ProverError (rshow results) _ -> return $ ProverError (rshow results)
where rshow | isSat = show . SBV.AllSatResult . (boom,boom,) where rshow | isSat = show . SBV.AllSatResult . (False,boom,)
| otherwise = show . SBV.ThmResult . head | otherwise = show . SBV.ThmResult . head
boom = panic "Cryptol.Symbolic.sat" boom = panic "Cryptol.Symbolic.sat"
[ "attempted to evaluate bogus boolean for pretty-printing" ] [ "attempted to evaluate bogus boolean for pretty-printing" ]