I think the issue is the command you provided just includes the pgocaml library, but doesn’t run the ppx-rewriter.
The following command might be closer to be what you want:
ocamlfind ocamlc -package pgocaml -pp "ppxfind pgocaml_ppx" ./test.ml
I think the issue is the command you provided just includes the pgocaml library, but doesn’t run the ppx-rewriter.
The following command might be closer to be what you want:
ocamlfind ocamlc -package pgocaml -pp "ppxfind pgocaml_ppx" ./test.ml