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


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

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


--- Comment #1 from Don <clugd...@yahoo.com.au> 2010-09-01 02:29:51 PDT ---
A quick patch to turn it into a rejects-valid:
mtype.c, Type::dotExp, line 1795


+            Expression *eold = e;
            e = defaultInitLiteral(e->loc);
+            if (!e)
+            {
+                eold->error("forward referenced .init (Bugzilla 4781)");
+                return new ErrorExp();
+            }
            goto Lreturn;
        }
    }
    if (ident == Id::typeinfo)
    {

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

Reply via email to