zanuda icon indicating copy to clipboard operation
zanuda copied to clipboard

Rewrite record lint incorrect in the context of inline records

Open WardBrian opened this issue 1 year ago • 0 comments

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.

WardBrian avatar Feb 27 '25 15:02 WardBrian