zanuda
zanuda copied to clipboard
Rewrite record lint incorrect in the context of inline records
Trying to run this project on a codebase of mine, got several Rewrite record suggestions. The first one I applied led to
358 | |> Option.map ~f:(fun lvals -> LTuplePack {emeta with lvals})
^^^^^
Error: This form is not allowed as the type of the inlined record could escape.