[Issue 11447] Closure provide bogus values
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Dec 29 12:11:13 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11447
--- Comment #4 from Walter Bright <bugzilla at digitalmars.com> 2013-12-28 22:42:35 PST ---
This gives the multiple definition error on Linux:
------- a.d -----------
struct A { }
void map(alias dg)(A r) { }
struct TTT {
static auto yyy(A a) {
map!(b => 0)(a);
}
}
------- fail.d ---------
import a;
void main() {
A a;
TTT.yyy(a);
}
-----------------------
--- Comment #5 from Walter Bright <bugzilla at digitalmars.com> 2013-12-29 12:11:10 PST ---
https://github.com/D-Programming-Language/dmd/pull/3045
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list