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
objectFoo {
classAvala1=newA()
vala2=newA()
deff(x: A, y: x.type) = ()
f(a1, a1) // ok
f(a1, a2) // error (as expected)
f(newA(), newA()) // error (*** but passes unexpectedly)
f(newA(), a1) // error (*** but passes unexpectedly)defg(x: A)(y: x.type) = ()
g(a1)(a1) // ok
g(a1)(a2) // error (as expected)
g(newA())(newA()) // error (*** but passes unexpectedly)
g(newA())(a1) // error (*** but passes unexpectedly)
}
Note that while this also affects the version featuring dependencies within a single parameter group (f() above), the problem seems to be independent of the recent PR #2079: The problem with g() existed even in commits before #2079 was merged.
The text was updated successfully, but these errors were encountered:
Note that while this also affects the version featuring dependencies within a single parameter group (
f()
above), the problem seems to be independent of the recent PR #2079: The problem withg()
existed even in commits before #2079 was merged.The text was updated successfully, but these errors were encountered: