On 07/30/2012 10:15 AM, Andrej Mitrovic wrote: > import std.bitmanip; > struct Foo > { > mixin(bitfields!( > uint, "bits1", 32, > )); > } > > D:\DMD\dmd2\windows\bin\..\..\src\phobos\std\bitmanip.d(76): Error: > shift by 32 is outside the range 0..31 > > Should I file this? Yes, it's a bug. Ali