Summary: [ICE] (backend\symbol.c) With tupleof of 2-items tuple
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2011-09-25 11:08:27 PDT ---
import std.algorithm: map;
struct Foo { int x, y; }
Foo[] bar(int) {
    return [Foo(1, 2)];
void main() {
    auto r = map!bar([1]);
    auto ab = r.front[0].tupleof;

This program causes a DMD crash if I compile it with -inline:

Internal error: backend\symbol.c 1032

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

Reply via email to