www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15808] New: Invalid memory operation with Git HEAD


          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: nobody puremagic.com
          Reporter: puneet coverify.org

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();

Mar 18 2016