``` import std.bitmanip; enum Bar : bool { a, b, } struct Foo { mixin(bitfields!( Bar, "bar", 1, ubyte, "", 7, )); } ``` This compiled before DMD 2.103.0. Now it produces two errors: 'Error: operation not allowed on `bool` `result <<= 7u`' and 'Error: operation not allowed on `bool` `result >>>= 7u`'. This regression appears to have been introduced by https://github.com/dlang/phobos/pull/8663
@RubyTheRoobster updated dlang/phobos pull request #9043 "Issue 24095 - std.bitmanip.bitfields no longer works with bool enum t…" fixing this issue: - Fix Bugzilla Issue 24095 - std.bitmanip.bitfields no longer works with bool enum types https://github.com/dlang/phobos/pull/9043
dlang/phobos pull request #9043 "Issue 24095 - std.bitmanip.bitfields no longer works with bool enum t…" was merged into stable: - b795df6df278e9647e4f4967bcd6c694e3a76263 by RubyTheRoobster: Fix Bugzilla Issue 24095 - std.bitmanip.bitfields no longer works with bool enum types https://github.com/dlang/phobos/pull/9043
dlang/phobos pull request #9086 "Merge stable" was merged into master: - cd026126dbb0537cd98a6b78f8c6b726ecf75be2 by RubyTheRoobster: Issue 24095 - std.bitmanip.bitfields no longer works with bool enum t… (#9043) * Fix Bugzilla Issue 24095 - std.bitmanip.bitfields no longer works with bool enum types * Fix trailing whitespace * Remove extra space https://github.com/dlang/phobos/pull/9086