Skip to content

Commit bba5194

Browse files
alleystoughtonstrub
authored andcommitted
Exposed the tp_nothing typolicy of EcTyping, so external tools can
check types, forbidding type variables.
1 parent e335db0 commit bba5194

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/ecTyping.mli

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,9 @@ val unify_or_fail : env -> EcUnify.unienv -> EcLocation.t -> expct:ty -> ty -> u
188188
(* -------------------------------------------------------------------- *)
189189
type typolicy
190190

191-
val tp_tydecl : typolicy
192-
val tp_relax : typolicy
191+
val tp_tydecl : typolicy
192+
val tp_relax : typolicy
193+
val tp_nothing : typolicy
193194

194195
(* -------------------------------------------------------------------- *)
195196
val transtyvars:

0 commit comments

Comments
 (0)