Skip to content

Commit 7d8cf23

Browse files
authored
Apply suggestions from code review
1 parent a5f9712 commit 7d8cf23

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

HB/factory.elpi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ pred check-key-attribute-consistency i:id.
100100
check-key-attribute-consistency _ :- not(get-option "key" _), !.
101101
check-key-attribute-consistency ID :- get-option "key" ID, !.
102102
check-key-attribute-consistency ID :- get-option "key" ID1,
103-
coq.error {calc ("The #[key=\"" ^ ID1 ^ "\"] attribute")}
103+
coq.error "HB:" {calc ("The #[key=\"" ^ ID1 ^ "\"] attribute")}
104104
"does not match the selected subject" ID.
105105

106106
pred is-key i:indt-decl.

tests/err_miss_key.v.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
The command has indeed failed with message:
2-
The #[key="Tmiss"] attribute does not match the selected subject T
2+
HB: The #[key="Tmiss"] attribute does not match the selected subject T

0 commit comments

Comments
 (0)