[Issue 1746] Enums with member initializers generate undefined symbols

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 19 09:49:34 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=1746


dvdfrdmn at users.sf.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #3 from dvdfrdmn at users.sf.net  2008-04-19 11:49 -------
Fixed in release 0.25 / svn 213.

Not sure if the description or the DStress cases actually test the problem(?)
Need to have two modules:

-- a.d --
enum E { A = 1, B = 2 }

-- b.d --
import a;
void main() { new E[10]; }

--


-- 



More information about the D.gnu mailing list