https://issues.dlang.org/show_bug.cgi?id=15364
Issue ID: 15364
Summary: BitArray.len should be private
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
---
import std.bitmanip;
void main(string[] args)
{
BitArray a;
a.len = 1;
a[0] = 1;
}---
crashes because len shouldnt be only set using the length() setter.
--
