Closed keigoi closed 1 year ago
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:
type longident = [%import: Longident.t] [@@deriving show]
Hi, it worked like a charm. Thank you very much and sorry for the late reply!
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