You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can't annotate a let binding with a formula because of an automatic logic annotation:
module Logic_qual
val prop : Type0
let prop = forall (_:unit). True
(* Inconsistent qualifier annotations on prop; Expected {}, got {logic} *)
module Logic_qual2
logic val prop : Type0
let prop = forall (_:unit). True
(* The qualifier list "[logic logic]" is not permissible for this element: duplicate qualifiers *)
I can make the latter work by editing FStar.ToSyntax.ToSyntax.fst L2163 to not add a duplicate logic qualifier to let prop = .... FStar.ToSyntax.ToSyntax.fst L1689 should probably also be fixed. It's an unsatisfying conclusion since F* is adding a qualifier to a let binding and it's your job to fix the val to match; at the very least there should be an error asking you to add logic to the val.
The text was updated successfully, but these errors were encountered:
You can't annotate a
let
binding with a formula because of an automaticlogic
annotation:I can make the latter work by editing FStar.ToSyntax.ToSyntax.fst L2163 to not add a duplicate
logic
qualifier tolet prop = ...
. FStar.ToSyntax.ToSyntax.fst L1689 should probably also be fixed. It's an unsatisfying conclusion since F* is adding a qualifier to alet
binding and it's your job to fix theval
to match; at the very least there should be an error asking you to addlogic
to theval
.The text was updated successfully, but these errors were encountered: