Skip to content

Commit

Permalink
honor primitive=off
Browse files Browse the repository at this point in the history
  • Loading branch information
gares committed Jun 14, 2024
1 parent 394ab2c commit b0c98e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HB/factory.elpi
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ declare-mixin-or-factory MixinSrcClauses SectionCanonicalInstance

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


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

Expand Down

0 comments on commit b0c98e2

Please sign in to comment.