http://d.puremagic.com/issues/show_bug.cgi?id=5950
Summary: Linker problem with AA.get() Product: D Version: unspecified Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: druntime AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2011-05-07 16:12:45 PDT --- This D2 code: import std.stdio; void main() { string[char] tab = ['e': "red", 'b': "blue"]; string r; foreach (c; "aba") { // if (c in tab) r ~= tab[c]; // OK r ~= tab.get(c, ""); // ERR } writeln(r); } Gives me a linker error (DMD 2.053beta): test.obj(test) Error 42: Symbol Undefined _D6object28__T16AssociativeArrayTaTAyaZ16AssociativeArray3getMFaLAyaZAya -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------