Summary: segault when using map with template delegate
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime

--- Comment #0 from deadalnix <> 2012-08-04 04:54:03 PDT ---
import std.algorithm;
import std.array;

class A {
    B[] b;

class B {}

void main() {
    A a;

    a.b =!(b => b)().array();

This code segfault in invariant._d_invariant with dmd 2.060 . This ork fine
with (B b) { return b; } as delegate.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to