Closed jonathan-dilorenzo closed 8 years ago
This form of antiquotation has been introduced this week only; it is not available in the released version of ppx_tools.
Ah, well that explains it. My bad. Saw it in the metaquot.ml and assumed the newest version had it.
I've recently gotten started using PPX and metaquot so I apologize in advance if I'm just making a stupid mistake, but it seems to me like the [%%s ... ] antiquotation isn't begin expanded.
I'm using OCaml 4.03.0 and ppx_tools 5.0+4.03.0.
I tried to produce a fairly small example of the problem. I have my ppx file:
And when I run the ppx_rewriter on my test file:
[%%test ]
using:
I get:
[%%s [x]]
instead of:type x = string
which is what I would have expected. Am I just doing something stupid or is it not working right?