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

Doesn't work as a vendored library: interface mismatch on Metapp_preutils__ #3

Open
copy opened this issue Sep 7, 2021 · 0 comments

Comments

@copy
Copy link

copy commented Sep 7, 2021

Usually it's possible to use vendored libraries and ppxs using dune by simply copying them into a subdirectory. This seems to fail with metapp:

% cat test.ml 
let _ = [%meta [%e 42]]
% cat dune
(executable
 (name test)
 (preprocess (pps metapp.ppx)))
% dune build test.exe  
         ppx test.pp.ml
% opam source metapp
Successfully extracted to metapp.0.4.0
% dune build test.exe
         ppx test.pp.ml (exit 1)
(cd _build/default && .ppx/e7c203cacf1cd3bb02e6242329effa31/ppx.exe -o test.pp.ml --impl test.ml -corrected-suffix .ppx-corrected -diff-cmd - -dump-ast)
File "_none_", line 1:
Error: interface mismatch on Metapp_preutils__

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