ocaml-gospel / gospel

A tool-agnostic formal specification language for OCaml.
https://ocaml-gospel.github.io/gospel
MIT License
128 stars 16 forks source link

Uncaught assertion failure with print function #421

Open nikolaushuber opened 2 months ago

nikolaushuber commented 2 months ago

The following interface definition

type t
val print : Format.formatter -> t -> unit

when run through gospel check test.mli returns

gospel: internal error, uncaught exception: 
File "src/typing.ml", line 710, characters 22-28: Assert failed

The assertion failure seems to come from here