File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -230,9 +230,9 @@ findall-mixin-src T ML :-
230230func findall-factory->constructor -> list prop.
231231findall-factory->constructor L :-
232232 std.map {std.findall (findall-factory->constructor.aux _)} findall-factory->constructor.make L.
233- func findall-factory->constructor.aux -> prop.
233+ pred findall-factory->constructor.aux o: prop.
234234findall-factory->constructor.aux (factory->constructor F C) :-
235- is-factory F, !, factory->constructor F C.
235+ is-factory F, factory->constructor F C.
236236func findall-factory->constructor.make prop -> prop.
237237findall-factory->constructor.make (findall-factory->constructor.aux P) P.
238238
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ examples/demo5/hierarchy_0.v
2222# examples/cat/cat.v
2323examples/cat/cat.v
2424
25+ tests/test_howto.v
2526tests/type_of_exported_ops.v
2627tests/duplicate_structure.v
2728tests/instance_params_no_type.v
Original file line number Diff line number Diff line change 1+ From HB Require Import structures.
2+
3+ HB.mixin Record hasB T := Mixin { b : unit; }.
4+ HB.mixin Record hasA T := Mixin { a : bool; }.
5+ HB.structure Definition A := { T of hasA T}.
6+
7+ HB.howto A.type. (* runs forever *)
You can’t perform that action at this time.
0 commit comments