www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15364] New: BitArray.len should be private

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: nobody puremagic.com
          Reporter: bb.temp gmx.com

---
import std.bitmanip;

void main(string[] args)
{
    BitArray a;
    a.len = 1;
    a[0] = 1;
}
Nov 19 2015