[Issue 945] template forward reference with named nested struct only

2010-05-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=945


Don clugd...@yahoo.com.au changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||clugd...@yahoo.com.au
 Resolution||FIXED


--- Comment #8 from Don clugd...@yahoo.com.au 2010-05-18 12:15:17 PDT ---
Fixed DMD1.061 and DMD2.046.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 945] template forward reference with named nested struct only

2010-05-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=945


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com


--- Comment #7 from Walter Bright bugzi...@digitalmars.com 2010-05-10 
11:45:01 PDT ---
changeset 478

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 945] template forward reference with named nested struct only

2010-03-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=945


Rainer Schuetze r.sagita...@gmx.de changed:

   What|Removed |Added

   Keywords||patch
 CC||r.sagita...@gmx.de


--- Comment #6 from Rainer Schuetze r.sagita...@gmx.de 2010-03-27 06:22:43 
PDT ---
Here's a patch that invokes the missing semantics. It also fixes issue #1055


Index: struct.c
===
--- struct.c(revision 421)
+++ struct.c(working copy)
@@ -178,6 +178,8 @@
 error(cannot have field %s with same struct type, v-toChars());
 }
 #endif
+if (ts-sym-sizeok != 1  ts-sym-scope)
+ts-sym-semantic(NULL);

 if (ts-sym-sizeok != 1)
 {

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---