On 08/06/14 21:53, Walter Bright wrote:
I see, so it is using the type of the lvalue to guide the symbol resolution of the rvalue.Andrei had proposed something like this a few years ago, but I talked him out of it :-) (I felt it would play havoc with overload resolution.)
I'm pretty sure Swift doesn't support function overloading. They use mandatory named parameters, like Objective-C instead.
-- /Jacob Carlborg