Summary: Inner struct "no size yet for forward reference" when
                    using .tupleof inside it.
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: regression
          Priority: P2
         Component: DMD

--- Comment #0 from 2012-02-02 12:06:40 PST ---
Test case:

struct S7426
    static struct Inner
        int x;
        alias typeof(Inner.tupleof) T;

Compile with 'dmd -c test7426.d', expecting to pass silently, but fails with:

test7426.d(4): Error: struct test7426.S7426.Inner no size yet for forward

The regression is introduced in commit f2635c912999f819f6f99f46373a768df7f5abfa
when fixing bug 7190.

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

Reply via email to