Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tests/err_instance_nop.v.out.2
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Toplevel input, characters 0-48:
> HB.instance Definition _ : M nat := M.Build nat.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning: HB: no new instance is generated
[HB.no-new-instance,HB,elpi,default]
9 changes: 9 additions & 0 deletions tests/err_miss_dep.v.out.2
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Toplevel input, characters 0-62:
> HB.structure Definition AbelianGrp := { A of IsAbelianGrp A }.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning:
pulling in dependencies: [err_miss_dep_IsAddComoid]
Please list them or end the declaration with '&'
[HB.implicit-structure-dependency,HB,elpi,default]
The command has indeed failed with message:
HB: Unable to find mixin err_miss_dep_IsAddComoid on subject K
12 changes: 12 additions & 0 deletions tests/missing_join_error.v.out.2
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Toplevel input, characters 0-55:
> HB.structure Definition B2 := {M of isB2 M & isA2 M }.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning:
pulling in dependencies: [missing_join_error_isTop]
Please list them or end the declaration with '&'
[HB.implicit-structure-dependency,HB,elpi,default]
The command has indeed failed with message:
You must declare the hierarchy bottom-up or add a missing join.
There are two ways out:
- declare structure A2B1 before structure B2A1 if B2A1 inherits from it;
- declare an additional structure that inherits from both A1 and A2 and from which A2B1 and/or B2A1 inherit.
Loading