An expected return type can influence overload resolution: def f(x: Int) = 1 def f(xs: Int*) = "2" f(1): Int // 1 f(1): String // "2"
-
-
.
@propensive I read "Elvis is definitely a multi-rooted thing" & strange images of old fat gods singing rock florished in my mind. Bed time! -
@fanf42 That may also be true... ;)
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.