Skip to content

Commit

Permalink
Exposed the tp_nothing typolicy of EcTyping, so external tools can
Browse files Browse the repository at this point in the history
check types, forbidding type variables.
  • Loading branch information
alleystoughton authored and strub committed Jan 14, 2025
1 parent e335db0 commit bba5194
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ecTyping.mli
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,9 @@ val unify_or_fail : env -> EcUnify.unienv -> EcLocation.t -> expct:ty -> ty -> u
(* -------------------------------------------------------------------- *)
type typolicy

val tp_tydecl : typolicy
val tp_relax : typolicy
val tp_tydecl : typolicy
val tp_relax : typolicy
val tp_nothing : typolicy

(* -------------------------------------------------------------------- *)
val transtyvars:
Expand Down

0 comments on commit bba5194

Please sign in to comment.