You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that currently [@@deriving ..] annotations are not being removed after the preprocessing.
This behavior causes issues for staged preprocessing since ppx_deriving will generate an error (instead of a warning) for unsupported derivation type.
I'm hitting this problem in a project that firstly preprocess the source code with ppx_deriving.std in the first stage, then preprocess with melange.ppx in the second stage. Since melange.ppx uses ppx_deriving internally, the second stage gives the following error:
Error: Ppxlib.Deriving: 'show' is not a supported type deriving generator
The text was updated successfully, but these errors were encountered:
It seems that currently
[@@deriving ..]
annotations are not being removed after the preprocessing.This behavior causes issues for staged preprocessing since
ppx_deriving
will generate an error (instead of a warning) for unsupported derivation type.I'm hitting this problem in a project that firstly preprocess the source code with
ppx_deriving.std
in the first stage, then preprocess withmelange.ppx
in the second stage. Sincemelange.ppx
usesppx_deriving
internally, the second stage gives the following error:The text was updated successfully, but these errors were encountered: