Closed NathanReb closed 2 days ago
CC @mbarbin, if you want to test this feature.
CC @ceastlund, I'd be curious to know if you get any warnings when enabling this flag for JS' codebase.
I created a preview package that includes this change, and tested it in a PR in a project that could benefits from that. I was able to remove my hack and coverage stayed at 100%. :+1:
@patricoferris We were discussing with @NathanReb and I've made an attempt to implement this feature on top of another PR, see #511 . I am not sure which matches best what Nathan had in mind, just giving you the heads up.
Yes this PR is a bit out of date now. Since @mbarbin started working on the right implem, I'd prefer to take his contributions! Let's close this!
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 based on top of #492 to ease testing for the feature, only the last commit is relevant.