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
This matches what Scala 2 does and is needed to compile geny in the
community build which does:
def count(f: A => Boolean = ((_: Any) => true))
This happened to work before the previous commit because the inferred
type of the getter was `Any => Boolean`.
See the added testcase for a justification of the relaxed variance
checking.
0 commit comments