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 b2dd2aa commit bc8f2b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion HB/instance.elpi
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ declare-const Name BodySkel TyWPSkel CSL :- std.do! [
% identify the factory
std.assert! (coq.safe-dest-app SectionTy (global FactoryAlias) Args) "The type of the instance is not a factory",
if (factory-alias->gref FactoryAlias Factory) true
(coq.error "HB:" {coq.term->string (global FactoryAlias)} "is not a factory or its library was not correctly imported"),
(coq.error "HB:" {coq.term->string (global FactoryAlias)} "is not a factory or its library is not correctly imported"),
std.assert! (factory-nparams Factory NParams) "Not a factory synthesized by HB",

% declare the constant for the factory instance
Expand Down
2 changes: 1 addition & 1 deletion tests/err_bad_mix.v.out
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Interactive Module Test started
Interactive Module Exports started
The command has indeed failed with message:
HB: Test.Mixin.axioms_
is not a factory or its library was not correctly imported
is not a factory or its library is not correctly imported

0 comments on commit bc8f2b4

Please sign in to comment.