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
In the desugaring there will be extra patterns which end up being unused. It's unfortunate. I'll let @som-snytt close as duplicate if this is documented somewhere already.
martijnhoekstra
changed the title
Spurious unused patvar warning in superfluous
Spurious unused patvar warning when used pattern is a type pattern in a forNov 15, 2021
Thanks @SethTisue I couldn't find it and then got distracted looking at old tickets.
Because sometimes on a cold autumn day, it's nice to settle down under a wool blanket and take out your collection of old tickets and sort them again, fondly recalling bygone days of frustration and puzzlement.
reproduction steps
using Scala 2,
under -Wunused:patvar
problem
c
is used, but reported as unusedThe text was updated successfully, but these errors were encountered: