Skip to content

Commit 4d4f312

Browse files
Merge pull request #98 from SkyLabsAI/rodolphe/fix-logger-bug
[ltac2-logger] Fix bug (dynamic typing assertion).
2 parents 47c8bae + 9313187 commit 4d4f312

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ltac2-logger/plugin/ltac2_format.ml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ let build_msg : Environ.env -> Evd.evar_map -> Tac2types.format list ->
3232
let _Int i = Int(Tac2ffi.to_int i) in
3333
let _Constr c = Constr(env, sigma, Tac2ffi.to_constr c) in
3434
let _Ident i = Ident(Tac2ffi.to_ident i) in
35+
let _Pp p = Pp(Tac2ffi.to_pp p) in
3536
let _Msg m = Msg(Tac2ffi.to_ext msg_tag m) in
3637
let _Thunk f x =
3738
let thunk () =
@@ -78,8 +79,8 @@ let build_msg : Environ.env -> Evd.evar_map -> Tac2types.format list ->
7879
build (_Thunk f x :: acc) fs args
7980
| (FmtAlpha0 :: fs, f :: x :: args) ->
8081
build (_Thunk0 f x :: acc) fs args
81-
| (FmtMessage :: fs, m :: args) ->
82-
build (_Msg m :: acc) fs args
82+
| (FmtMessage :: fs, p :: args) ->
83+
build (_Pp p :: acc) fs args
8384
| (_ , _ ) -> assert false
8485
in
8586
build [] fs args

0 commit comments

Comments
 (0)