Closed zbaylin closed 4 years ago
ppx_optcomp deliberately registers itself as a preprocessing pass with ppxlib, so that it is run before other ppxes. My understanding is that this is so that attributes and extensions that are dropped by conditional compilation are not processed by other ppxes (where they might error).
I think this is unlikely to change, so I'm going to close this issue. Sorry for the slow and not particularly helpful response.
No worries, that's helpful information. Thanks!
Hello, I have a separate PPX called
ppx_os
(Rolltrax/ppx_os) that I would like to use in conjunction withppx_optcomp
.If I have this in ocaml:
I get the error
I was under the assumption that I could use
ppx_optcomp
with other ppx's to determine things like environment variables and the like. Am I mistaken, is my syntax wrong, or is there something else that I'm missing?Thank you!