Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
riaqn committed Jun 28, 2024
1 parent a25aae3 commit f3430c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ocaml/typing/typedecl.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2896,7 +2896,8 @@ let transl_value_decl env loc valdecl =
[] when Env.is_in_signature env ->
let modalities =
valdecl.pval_modalities
|> Typemode.transl_modalities ~maturity:Alpha Immutable
|> Typemode.transl_modalities ~maturity:Alpha
~has_mutable_implied_modalities:false
|> Mode.Modality.Value.of_const
in
let default_arity =
Expand Down

0 comments on commit f3430c6

Please sign in to comment.