Favorite bug?

BCS ao at pathlink.com
Mon Jul 2 10:51:21 PDT 2007


Reply to Brad,

> 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

switch(n)
{
alias T!(1,2,3,4,5) Tp;
foreach(int i, int j; Tp)
{
   case j: // fails: non const
   case Tp[i]: // passes
    break;
}
}





More information about the Digitalmars-d mailing list