http://d.puremagic.com/issues/show_bug.cgi?id=3662
Don <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC| |[email protected] --- Comment #2 from Don <[email protected]> 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: -------
