You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Handle TypeProxy of Named Tuples in unapply (scala#22325)
Fixesscala#22150.
Previously, there were several ways to check if something was a Named
Tuple (`derivesFromNamedTuple`, `isNamedTupleType` and
`NamedTuple.unapply`), this PR moves everything into
`NamedTuple.unapply`. `namedTupleElementTypes` now takes an argument
`derived` that when false will skip `unapply` (to avoid infinite
recursion, used in desugaring and RefinedPrinter where trees can have
invalid cycles).
0 commit comments