Skip to content

Commit 58f4e12

Browse files
committed
honor primitive=off
1 parent efc03dc commit 58f4e12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

HB/factory.elpi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,8 @@ declare-mixin-or-factory MixinSrcClauses SectionCanonicalInstance
231231

232232
abstract-over-section TheParams TheType MixinSrcClauses SectionCanonicalInstance coq.abstract-indt-decl RDecl RDeclClosed _,
233233

234-
235-
if (get-option "primitive" tt ; not(Fields = end-record))
234+
% TODO cleanup
235+
if (get-option "primitive" tt ; (not(get-option "primitive" ff) , not(Fields = end-record)))
236236
(@primitive! => log.coq.env.add-indt RDeclClosed R)
237237
(log.coq.env.add-indt RDeclClosed R),
238238

0 commit comments

Comments
 (0)