Uniform Function Call Syntax in D - GameDev.net

Walter Bright newshound2 at digitalmars.com
Sun Jul 1 14:02:36 PDT 2012


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.



More information about the Digitalmars-d-announce mailing list