janestreet / ppx_sexp_conv

Generation of S-expression conversion functions from type definitions
MIT License
88 stars 17 forks source link

Open variant error #28

Closed Pitometsu closed 3 years ago

Pitometsu commented 5 years ago
type a = A: [> ] -> a [@@deriving sexp]
;;
Error: Error while running external preprocessor
Command line: _opam/lib/ppx_deriving/./ppx_deriving '/run/user/1001/camlppx278940' '/run/user/1001/camlppx4a9d81'
aalekseyev commented 4 years ago

The desired behavior here is a better error message, right?

aalekseyev commented 3 years ago

I believe the error message was improved at some point. It now says:

Error: Type unsupported for ppx [of_sexp] conversion