Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
(chore) Upgrade to Concerto 0.60
Browse files Browse the repository at this point in the history
Signed-off-by: Jerome Simeon <[email protected]>
  • Loading branch information
jeromesimeon committed Nov 9, 2018
1 parent 031d3d9 commit 5b70949
Show file tree
Hide file tree
Showing 9 changed files with 4,138 additions and 4,622 deletions.
2 changes: 1 addition & 1 deletion examples/acceptance-of-delivery/request.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$class":"org.accordproject.acceptanceofdelivery.InspectDeliverable",
"deliverableReceivedAt": "25 Oct 2018 16:34:00 EST",
"deliverableReceivedAt": "5 Nov 2018 16:34:00 EST",
"inspectionPassed": true
}
7 changes: 7 additions & 0 deletions mechanization/Common/Utils/Provenance.v
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,11 @@ Section Provenance.
(string_of_location_point loc.(loc_start)) ++ "-" ++
(string_of_location_point loc.(loc_end)).

Definition string_of_location_no_file (loc : location) : string :=
let file := ""%string
in
file ++
(string_of_location_point loc.(loc_start)) ++ "-" ++
(string_of_location_point loc.(loc_end)).

End Provenance.
2 changes: 1 addition & 1 deletion mechanization/Common/Utils/Result.v
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ Section Result.
Section Fmt.
Definition format_error (name : string) (prov : provenance) (msg : string) :=
let loc := loc_of_provenance prov in
(name ++ " at " ++ (string_of_location loc) ++ " '" ++ msg ++ "'")%string.
(name ++ " at " ++ (string_of_location_no_file loc) ++ " '" ++ msg ++ "'")%string.
End Fmt.

(** Built-in errors *)
Expand Down
Loading

0 comments on commit 5b70949

Please sign in to comment.