The following code gives various errors regarding pure/nothrow/... because these methods are missing appropriate annotations: ----------------- import std.bitmanip : BitArray; void main() @nogc pure nothrow { BitArray b; b[] = true; b[0..1] = true; b.flip(); b.count(); } ------------------
@MoonlightSentinel created dlang/phobos pull request #7415 "Fix Issue 20639 - Some BitArray methods should be const/pure/nothrow/..." fixing this issue: - Fix Issue 20639 - Some BitArray methods should be const/pure/nothrow/... https://github.com/dlang/phobos/pull/7415
dlang/phobos pull request #7415 "Fix Issue 20639 - Some BitArray methods should be const/pure/nothrow/..." was merged into stable: - 84ee525ff5282ccd538792439569da6cb4d91e45 by MoonlightSentinel: Fix Issue 20639 - Some BitArray methods should be const/pure/nothrow/... https://github.com/dlang/phobos/pull/7415