[Issue 3675] Regression: Struct literals cannot be initialized with another struct literal

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 5 04:38:30 PST 2010


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


--- Comment #1 from Don <clugdbug at yahoo.com.au> 2010-01-05 04:38:28 PST ---
ROOT CAUSE: This was a bug in my patch to bug 3190.

PATCH:
expression.c, DsymbolExp::semantic(), line 2359.

    if ((v->storage_class & STCmanifest) && v->init)
    {
        e = v->init->toExpression();
-        e->semantic(sc);
+        e = e->semantic(sc);
        return e;
    }

-- 
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