We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
type%import longident = Longident.t [@@deriving show]
produces an error:
File "lib/lib.ml", line 3, characters 5-11: 3 | type%import longident = Longident.t [@@deriving show] ^^^^^^ Error: Uninterpreted extension 'import'.
Confirmed with dune 3.7.1.
It uses staged_pps in dune file. The complete code base is here: https://github.com/keigoi/test_ppx_import/blob/main/lib/lib.ml
The text was updated successfully, but these errors were encountered:
Hi @keigoi , the new syntax is only available if you are using the master branch of ppx_import, likely you are using 1.10 which needs this syntax:
master
type longident = [%import: Longident.t] [@@deriving show]
Sorry, something went wrong.
Hi, it worked like a charm. Thank you very much and sorry for the late reply!
ppx_import
No branches or pull requests
Hello,
produces an error:
Confirmed with dune 3.7.1.
It uses staged_pps in dune file. The complete code base is here: https://github.com/keigoi/test_ppx_import/blob/main/lib/lib.ml
The text was updated successfully, but these errors were encountered: