enum scope

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Sun Jun 8 23:00:27 PDT 2014


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


More information about the Digitalmars-d mailing list