Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend -print-transformations #18

Open
Kakadu opened this issue Apr 19, 2018 · 1 comment
Open

Extend -print-transformations #18

Kakadu opened this issue Apr 19, 2018 · 1 comment

Comments

@Kakadu
Copy link
Contributor

Kakadu commented Apr 19, 2018

I'm currently developing a deriving rewriter which is extending type-conv and is being registered using Type_conv.add "name". When I run -print-transformations the standalone rewriter gives me only type_conv. It would be great if it will print all the generators registered for type_conv.

P.S. I actually have a bug at the moment that standalone rewriter is not linked with my code and complains like Error: ppxlib_type_conv: 'name' is not a supported type type-conv generator. It would be great to know for sure (using switch above) that the library that registers generator is not linked.

@ghost
Copy link

ghost commented Apr 23, 2018

Yes, that makes sense. Currently type_conv is seen as a single rewriter by the rest of the machinery, so it's not straightforward to support this feature. It might be easier after #14.

For the bug, could you open a separate issue with a bit more information about how to reproduce it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant