It tries to smart cast the `Int?` so it will fit m...
# announcements
m
It tries to smart cast the
Int?
so it will fit most specific function signature which is
fun println(message: Int)
. Instead of giving an error, it could have called
fun println(message: Any?)
. I wouldn't want my overloads to resolve differently based on
var
vs
val
though, so I guess it's the right decision to give the error.