https://issues.dlang.org/show_bug.cgi?id=15808

          Issue ID: 15808
           Summary: Invalid memory operation with Git HEAD
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

Unable to use BinaryHeap container with Git HEAD. Works with dmd-2.070
Reduced code follows:

// -----------------------------
import std.container: BinaryHeap;

class Foo {
  int[] bar;
  alias BinaryHeap!(int[]) Heap;
  Heap frop;

  this() {
    bar ~= 0;
    frop = bar;
  }
}

void main() {
  new Foo();
}

--

Reply via email to