D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 15808 - Invalid memory operation with Git HEAD
Summary: Invalid memory operation with Git HEAD
Status: RESOLVED DUPLICATE of issue 15822
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86_64 Linux
: P1 regression
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-18 15:41 UTC by Puneet Goel
Modified: 2016-03-23 08:33 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Puneet Goel 2016-03-18 15:41:01 UTC
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();
}
Comment 1 Martin Nowak 2016-03-23 08:33:30 UTC

*** This issue has been marked as a duplicate of issue 15822 ***