Open aryx opened 4 months ago
for reference: https://github.com/semgrep/semgrep/pull/9926
The test script also failed for me. But with slightly different error:
$ ./repl
File "./repl", line 12, characters 13-27:
12 | [@@deriving subliner, show]
^^^^^^^^^^^^^^
Error: Ppxlib.Deriving: 'subliner' is not a supported type deriving generator
I was not able to get any two derivers working together in REPL. The same lines of code built fine in dune. So I would suspect it is a problem of REPL.
I actually use subliner
with show
(ppx_show
instead of ppx_deriiving.show
) in the test. It compiled and ran with no error.
Great library, but I didn't manage to mix the use of subliner with other deriving libraries.
For example this script:
fails to run with
If I remove the use of ppx_deriving.show then it works fine. Looks like we can't have both at the same time. This was working though with ppx_deriving.cmdliner