Sergey Gromov Wrote:

> Mon, 06 Apr 2009 08:53:41 -0400, Kagamin wrote:
> 
> > Is it valid for this to compile:
> > ---
> > ushort a(ushort b) pure nothrow
> >     { return b<<10|b; }
> > ---
> > 
> > And for this to not compile:
> > ---
> > ushort a(ushort b) pure nothrow
> >     { return b<<10; }
> > ---
> > ?
> 
> They both compile with 2.026.  What's your problem?

Could you please check bug http://d.puremagic.com/issues/show_bug.cgi?id=2809 
with your dmd 2.026? It can be regression.

Reply via email to