Skip to content

Commit

Permalink
Improve error message for AmbiguousVars condition in LLVM overrides.
Browse files Browse the repository at this point in the history
Fixes #691.
  • Loading branch information
Brian Huffman committed May 17, 2020
1 parent 5de5be2 commit 5b0a904
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SAWScript/Crucible/Common/Override.hs
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,10 @@ ppOverrideFailureReason ::
) => OverrideFailureReason ext -> PP.Doc
ppOverrideFailureReason rsn = case rsn of
AmbiguousPointsTos pts ->
PP.text "ambiguous collection of points-to assertions" PP.<$$>
PP.text "LHS of points-to assertion(s) not reachable via points-tos from inputs/outputs:" PP.<$$>
(PP.indent 2 $ PP.vcat (map PP.pretty pts))
AmbiguousVars vs ->
PP.text "ambiguous collection of variables" PP.<$$>
PP.text "Fresh variable(s) not reachable via points-tos from function inputs/outputs:" PP.<$$>
(PP.indent 2 $ PP.vcat (map MS.ppTypedTerm vs))
BadTermMatch x y ->
PP.text "terms do not match" PP.<$$>
Expand Down

0 comments on commit 5b0a904

Please sign in to comment.