Skip to content

Commit d0e8e0d

Browse files
committed
type inference is a sharp weapon
it "infers" indexes (in the wrong place)
1 parent 142fb08 commit d0e8e0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/subtype.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ SubK : forall x Px, val (@Sub x Px) = x
2222

2323
HB.structure Definition SUB (T : Type) (P : pred T) := { S of is_SUB T P S }.
2424

25-
HB.structure Definition SubInhab T P := { sT of is_inhab T & is_SUB T P sT }.
25+
HB.structure Definition SubInhab (T : Type) P := { sT of is_inhab T & is_SUB T P sT }.
2626

2727
HB.structure Definition SubNontrivial T P := { sT of is_nontrivial sT & is_SUB T P sT }.
2828

0 commit comments

Comments
 (0)