function and variable
Fyodor Ustinov via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Feb 9 20:20:26 PST 2015
On Tuesday, 10 February 2015 at 04:11:43 UTC, Vlad Levenfeld
wrote:
> On Tuesday, 10 February 2015 at 03:59:22 UTC, Rikki Cattermole
> wrote:
>> That's a bug. It should be using the function pointer.
>>
>> UFCS call should abide by the same scoping rules as anything
>> else.
>> https://issues.dlang.org/show_bug.cgi?id=14161
>
> I thought that's how UFCS was explicitly designed? Global
> symbols only, yes?
IMHO even if "it is not a bug, it is a feature" - it should not
be compiled without notice.
WBR,
Fyodor.
More information about the Digitalmars-d-learn
mailing list