---
ushort a(ushort b) pure nothrow
{ return b<<10|b; } //compiles
ushort a(ushort b) pure nothrow
{ return b<<10; } //compiles only without -w switch
---
Comment #1 by clugdbug — 2010-02-21T13:29:25Z
Fixed in 2.031: now it (correctly) fails to compile regardless of whether -w is used.