diff --git a/saw-core-what4/src/Verifier/SAW/Simulator/What4.hs b/saw-core-what4/src/Verifier/SAW/Simulator/What4.hs index b9a0dbdf..f2c3d63c 100644 --- a/saw-core-what4/src/Verifier/SAW/Simulator/What4.hs +++ b/saw-core-what4/src/Verifier/SAW/Simulator/What4.hs @@ -828,7 +828,8 @@ applyUnintApp app0 v = VNat n -> return (suffixUnintApp ("_" ++ show n) app0) TValue (suffixTValue -> Just s) -> return (suffixUnintApp s app0) - _ -> fail $ "Could not create argument for " ++ show v + VFun _ -> fail "Cannot create uninterpreted higher-order function" + _ -> fail $ "Cannot create uninterpreted function with argument " ++ show v ------------------------------------------------------------