scala3 icon indicating copy to clipboard operation
scala3 copied to clipboard

Inline transparent implicit parameters when typing Unapply trees

Open nicolasstucki opened this issue 1 year ago • 0 comments

We needed to delay the inlining of the transparent inline when typing the unapply function application. We used the NoInline mode, but this also stopped the inlining of the arguments of the unapply. To fix this we target more precisely the inlining of the unapply method and not the implicit arguments. To do this we detect the dummy argument that is used type the unapply as an application, before it is transformed into a pattern.

Fixes #19623 Fixes solution added in #19380

nicolasstucki avatar Feb 08 '24 09:02 nicolasstucki