http://d.puremagic.com/issues/show_bug.cgi?id=10573
Summary: Weird linking problem with associative array cast [DMD 2.63] Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: kozz...@gmail.com --- Comment #0 from Daniel Kozak <kozz...@gmail.com> 2013-07-08 07:08:43 PDT --- With new DMD I have some issue when linking: obj/Debug/TestD.o: In function `_D6object40__T16AssociativeArrayTiTC7handler5mysqlZ16AssociativeArray6rehashMFNdZHiC7handler5mysql': /usr/include/d/druntime/import/object.di:484: undefined reference to `_D26TypeInfo_HiC7handler5mysql6__initZ' With LDMD2 and DMD 2.62 everything seems ok. Problematic code: //---- main.d ----// module main; import handler; void main(string[] args) {} //---- handler.d ----// module handler; abstract class base {} class mysql : base {} class handler { private mysql[int] mysql_servers; public void foo() { base[int] hServers = cast(base[int])mysql_servers; } } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------