[Issue 4962] Improve error message for wrong constructor name?
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Nov 1 13:10:42 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4962
bearophile_hugs at eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from bearophile_hugs at eml.cc 2010-11-01 13:09:41 PDT ---
With DMD 2.050 that program gives the following error messages, that while not
being perfect, are good enough, so I close this enhancement request:
test.d(2): function declaration without return type. (Note that constructors
are always named 'this')
test.d(2): no identifier for declarator Foo(int x_)
--
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