Favorite bug?

Bill Baxter dnewsgroup at billbaxter.com
Mon Jul 2 06:01:06 PDT 2007


Brad Roberts wrote:
> I'll probably regret starting this thread in a day or to, but out of 
> curiosity's sake, if you had to pick a single bug to be fixed in the next 
> 1.x bug fix release, what would it be and why?  Remember, just one per 
> person.
> 
> NOTE: This is just a poll, not any sort of guarantee that it'll be fixed 
> or even looked at.  I'm doing this purely out of my own personal 
> curiosity.
> 
> Later,
> Brad


#52 for me.
Referring to a function by name only gets you the first version that 
appears lexically.  No warning about conflicting overloads.

Unfortunately I also dread seeing this one fixed, because I suspect the 
fix is going to be just to make it an error, and/or require casting to 
the exact version you want with a monstrosity like:

    cast(return_type function(int,double,char[]) &fn

--bb



More information about the Digitalmars-d mailing list