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


g...@nwawudu.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|duplicate constructors      |Duplicate constructors and
                   |                            |methods




------- Comment #1 from g...@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


-- 

Reply via email to