Skip to content

Commit

Permalink
ToSyntax: annotate type decls to expect a Type
Browse files Browse the repository at this point in the history
  • Loading branch information
mtzguido committed Nov 30, 2023
1 parent 7e11e10 commit f12a3bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tosyntax/FStar.ToSyntax.ToSyntax.fst
Original file line number Diff line number Diff line change
Expand Up @@ -3000,7 +3000,7 @@ let rec desugar_tycon env (d: AST.decl) (d_attrs:list S.term) quals tcs : (env_t
| None ->
if BU.for_some (function S.Effect -> true | _ -> false) quals
then Some teff
else None
else Some ktype
| Some k -> Some (desugar_term env' k) in
let t0 = t in
let quals = if quals |> BU.for_some (function S.Logic -> true | _ -> false)
Expand Down

0 comments on commit f12a3bc

Please sign in to comment.