Uniform Function Call Syntax in D - GameDev.net

dennis luehring dl.soluz at gmx.net
Sun Jul 1 22:00:23 PDT 2012


Am 01.07.2012 23:02, schrieb Walter Bright:
> On 7/1/2012 11:53 AM, Nick Sabalausky wrote:
>> That successfully compiles and prints "Member". Same thing happens if
>> you move the UFCS func and Foo definition out into their own separate
>> modules. But I was expecting a conflict error at compile-time. Is this
>> a bug?
>
>
> No, it's correct behavior. A real member overrides.

isn't that some sort of highjacking then?




More information about the Digitalmars-d-announce mailing list