Stack overflow error

Bill Baxter dnewsgroup at billbaxter.com
Sat Jan 20 07:04:57 PST 2007


Marcio Faustino wrote:
> Bill Baxter wrote:
>> Oh, you do realize D treats  'blah' as a synonym for 'blah()' if blah > is a
> function or delegate, right?
> 
> Didn't know that, how dumb of me. Sorry.

No need to apologize.  I was surprised by that one too, initially, even 
though I knew methods could be called without the ().  I just didn't 
expect that would extend to top-level functions too.

--bb


More information about the Digitalmars-d-bugs mailing list