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
Which fails to compile because evidence$0 in bar shadows evidence$0 in foo, scalac avoids this by using different names for the desugared implicit parameters(in fact, it seems to never reuse the same name in a given compilation unit, even in different classes):
is desugared to:
Which fails to compile because
evidence$0
inbar
shadowsevidence$0
infoo
, scalac avoids this by using different names for the desugared implicit parameters(in fact, it seems to never reuse the same name in a given compilation unit, even in different classes):The text was updated successfully, but these errors were encountered: