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

Add an -unused-type-warnings flag to the driver (bis) #511

Merged

Commits on Jul 16, 2024

  1. Add -unused-type-warnings flag to the driver

    This allows disabling the generation of `let _ = fun (_ : t) -> ()`
    strucutre items for each type using derivers.
    
    The feature was meant to automatically disable warning 34 when
    using `[@@deriving ...]`
    
    This is inspired by ocaml-ppx#493 but adapted for ocaml-ppx#510.
    
    Signed-off-by: Mathieu Barbin <[email protected]>
    mbarbin committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    0a8298a View commit details
    Browse the repository at this point in the history
  2. Various fixes and improvements

    - Share the [Forcable_bool.Arg] logic.
    - Fixes some typos.
    
    Signed-off-by: Mathieu Barbin <[email protected]>
    mbarbin committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    fc295ad View commit details
    Browse the repository at this point in the history