[Issue 13621] New: inout issue with std.container.Array opSlice
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Oct 15 13:19:58 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13621
Issue ID: 13621
Summary: inout issue with std.container.Array opSlice
Product: D
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: regression
Priority: P1
Component: Phobos
Assignee: nobody at puremagic.com
Reporter: code at dawg.eu
cat > bug.d << CODE
import std.container : Array, BinaryHeap;
alias Heap = BinaryHeap!(Array!int);
CODE
dmd -c bug
----
/home/dawg/Code/D/DPL/dmd/src/../../phobos/std/container/array.d(432): Error:
cannot implicitly convert expression ((inout inout(Range) __ctmp1781 = 0;
, __ctmp1781).this(this, 0LU, this.length())) of type inout(Range) to Range
bug.d(2): while looking for match for BinaryHeap!(Array!int)
----
Introduced with https://github.com/D-Programming-Language/phobos/pull/2573.
--
More information about the Digitalmars-d-bugs
mailing list