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

Improve error message for unbound record fields #419

Closed n-osborne closed 1 month ago

n-osborne commented 4 months ago

This PR proposes to use the same error message as the OCaml compiler for unbound record fields, both in values and in patterns.

It is based on #418, please consider only the last five commits.