std.string.chomp error

Jonathan M Davis jmdavisprog at gmail.com
Mon Aug 9 17:09:01 PDT 2010


On Monday, August 09, 2010 16:59:07 bearophile wrote:
> simendsjo:
> > Ahem.. :) Yes, I did miss your answer! How I got fooled by the preview
> > pane and never noticed the scrollbar.
> 
> No problem, it happens, don't worry.
> 
> > I cannot see how your other bug report relates to this though.
> 
> My other bug report is about this line in your code:
>  if (delimiter == null)
> I don't like it :-)
> 
> Bye,
> bearophile

Why, because it should be

if(delimiter is null)


or just

if(!delimiter)


- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list