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
Same root cause as #6357 since dependent and polymorphic function types share a similar encoding, closing this one as a duplicate since I'll either manage to fix both at the same time or none (details of my current plan here: http://guillaume.martres.me/talks/dotty-funs-scala19/)
minimized code
Does not compile, producing the error:
Found: PolyFunction{apply: [T](x$1: Any): Int}(aiPoly)
Required: PolyFunction{apply: [T](x$1: Int): Int}
expectation
Expected the polymorhpic case to behave the same way as normal functions do:
The text was updated successfully, but these errors were encountered: