Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Commit

Permalink
Adapt vAsFirstOrderType to saw-core tuple representation.
Browse files Browse the repository at this point in the history
Since saw-core revision 5c0f54e0 (December 2018), tuple
types are no longer nil-terminated.
  • Loading branch information
Brian Huffman committed Dec 3, 2019
1 parent 3af64d2 commit fd1f993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Verifier/SAW/Simulator/What4.hs
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ vAsFirstOrderType v =
t2 <- vAsFirstOrderType v2
case t2 of
FOTTuple ts -> return (FOTTuple (t1 : ts))
_ -> Nothing
_ -> return (FOTTuple [t1, t2])
VRecordType tps
-> (FOTRec <$> Map.fromList <$>
mapM (\(f,tp) -> (f,) <$> vAsFirstOrderType tp) tps)
Expand Down

0 comments on commit fd1f993

Please sign in to comment.