[Issue 7426] New: Inner struct "no size yet for forward reference" when using .tupleof inside it.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Feb 2 12:06:42 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7426
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
AssignedTo: nobody at puremagic.com
ReportedBy: kennytm at gmail.com
--- Comment #0 from kennytm at gmail.com 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
reference
The regression is introduced in commit f2635c912999f819f6f99f46373a768df7f5abfa
when fixing bug 7190.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list