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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
                 CC|                            |clugd...@yahoo.com.au


--- Comment #2 from Don <clugd...@yahoo.com.au> 2010-06-04 12:46:36 PDT ---
Trivial. Missing 'loc' in error call.

PATCH: init.c, StructInitializer::semantic(), line 158.

        if (ad->ctor)
-            error("%s %s has constructors, cannot use { initializers }, 
use
+             error(loc, "%s %s has constructors, cannot use { initializers },
use %s( initializers ) instead",
                ad->kind(), ad->toChars(), ad->toChars());

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

Reply via email to