http://d.puremagic.com/issues/show_bug.cgi?id=7469
Summary: template mangling depends on instantiation order Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: d...@dawgfoto.de --- Comment #0 from d...@dawgfoto.de 2012-02-08 20:26:03 PST --- ---- bug.d ---- struct Foo(int i) { } version (A) { Foo!3 fooa; Foo!3u foob; } else { Foo!3u fooa; Foo!3 foob; } pragma(msg, typeof(fooa).mangleof); pragma(msg, typeof(foob).mangleof); ---- dmd -c bug.d S3bug11__T3FooVk3Z3Foo S3bug11__T3FooVk3Z3Foo ---- dmd -c -version=A bug.d S3bug11__T3FooVi3Z3Foo S3bug11__T3FooVi3Z3Foo ---- The mangling should depend on the template value parameter type not the type of the argument. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------