digitalmars.D.bugs - [Issue 15821] New: std.container.array.Array on the heap leads to
- via Digitalmars-d-bugs (27/27) Mar 22 2016 https://issues.dlang.org/show_bug.cgi?id=15821
https://issues.dlang.org/show_bug.cgi?id=15821 Issue ID: 15821 Summary: std.container.array.Array on the heap leads to InvalidMemoryOperationError Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: regression Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: ag0aep6g gmail.com Found by stunaep who posted to D.learn: http://forum.dlang.org/post/tbaooqjjjsvgnlchjadc forum.dlang.org Following code works with 2.070.2, but with git head dmd (ec7c6a9) it throws "core.exception.InvalidMemoryOperationError src/core/exception.d(693): Invalid memory operation". ---- import std.container.array: Array; void main() { new Array!int([1]); } ---- --
Mar 22 2016