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
I would expect that the inferred type of bar here would be Bar[A] instead of Bar[Any]. This is the behavior in Scala 2 so this seems to be a regression in type inference
The text was updated successfully, but these errors were encountered:
Compiler version
3.2.2
Minimized code
Output
Expectation
I would expect that the inferred type of
bar
here would beBar[A]
instead ofBar[Any]
. This is the behavior in Scala 2 so this seems to be a regression in type inferenceThe text was updated successfully, but these errors were encountered: