digitalmars.D.bugs - [Issue 2703] New: duplicate constructors
- d-bugmail puremagic.com Mar 01 2009
- d-bugmail puremagic.com Mar 02 2009
- d-bugmail puremagic.com Jun 10 2011
http://d.puremagic.com/issues/show_bug.cgi?id=2703 Summary: duplicate constructors Product: D Version: 1.030 Platform: PC OS/Version: Windows Status: NEW Keywords: accepts-invalid Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: z_hossain icmail.net This code should not compiled without any complain. class C { this(int t) {;} this() {;} this() {;} } void main() { new C(0); } --
Mar 01 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2703 gide nwawudu.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|duplicate constructors |Duplicate constructors and | |methods ------- Comment #1 from gide nwawudu.com 2009-03-02 10:03 ------- Probably not just a duplicate ctor problem, as the following code also compiles without error and fails on linking. class C { void test() {} void test() {} } void main() { } C:> dmd -c test.d C:> dmd test.d OPTLINK (R) for Win32 Release 8.00.1 Copyright (C) Digital Mars 1989-2004 All rights reserved. test.obj(test) Offset 002E1H Record Type 00C3 Error 1: Previous Definition Different : _D4test1C5helloMFZv test.obj(test) Offset 0031FH Record Type 00C3 Error 1: Previous Definition Different : _D4test1C2t2MFiZv --- errorlevel 2 --
Mar 02 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2703 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |yebblies gmail.com Resolution| |DUPLICATE --- Comment #2 from yebblies <yebblies gmail.com> 2011-06-10 09:15:14 PDT --- *** This issue has been marked as a duplicate of issue 1003 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 10 2011









d-bugmail puremagic.com 