Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
gares authored Dec 12, 2024
1 parent a5f9712 commit 7d8cf23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion HB/factory.elpi
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ pred check-key-attribute-consistency i:id.
check-key-attribute-consistency _ :- not(get-option "key" _), !.
check-key-attribute-consistency ID :- get-option "key" ID, !.
check-key-attribute-consistency ID :- get-option "key" ID1,
coq.error {calc ("The #[key=\"" ^ ID1 ^ "\"] attribute")}
coq.error "HB:" {calc ("The #[key=\"" ^ ID1 ^ "\"] attribute")}
"does not match the selected subject" ID.

pred is-key i:indt-decl.
Expand Down
2 changes: 1 addition & 1 deletion tests/err_miss_key.v.out
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
The command has indeed failed with message:
The #[key="Tmiss"] attribute does not match the selected subject T
HB: The #[key="Tmiss"] attribute does not match the selected subject T

0 comments on commit 7d8cf23

Please sign in to comment.