Stack overflow error

Andrey Khropov andkhropov_nosp at m_mtu-net.ru
Sun Jan 21 07:46:27 PST 2007


Bill Baxter wrote:


> Oh, you do realize D treats  'blah' as a synonym for 'blah()' if blah is a
> function or delegate, right?

I think it's a harmful and error-prone feature. And it's also inconsistent:

auto f2 = f; // here f is treated like a variable
f; // here f means call itself, but it looks exactly the same

Why on earth is this needed ?

-- 



More information about the Digitalmars-d-bugs mailing list