digitalmars.D.bugs - [Issue 8351] New: Lambdas in 'static foreach' give errors
- d-bugmail puremagic.com (27/27) Jul 06 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8351
- d-bugmail puremagic.com (10/10) Jul 06 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8351
- d-bugmail puremagic.com (16/17) Jul 08 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8351
http://d.puremagic.com/issues/show_bug.cgi?id=8351 Summary: Lambdas in 'static foreach' give errors Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: wfunction hotmail.com --- Comment #0 from wfunction hotmail.com 2012-07-06 01:05:05 PDT --- module Test; import std.typetuple; void main() { foreach (i; TypeTuple!(1, 2, 3)) auto a = () => i; } Test.obj(Test) Offset 0029BH Record Type 00C3 Error 1: Previous Definition Different : _D4Test4mainFZv9__lambda1FNaNbNfZi Test.obj(Test) Offset 002B0H Record Type 00C3 Error 1: Previous Definition Different : _D4Test4mainFZv9__lambda1FNaNbNfZi -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 06 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8351 timon.gehr gmx.ch changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |timon.gehr gmx.ch --- Comment #1 from timon.gehr gmx.ch 2012-07-06 05:14:35 PDT --- Presumably related to issue 8267 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 06 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8351 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |yebblies gmail.com Resolution| |DUPLICATE --- Comment #2 from yebblies <yebblies gmail.com> 2012-07-08 22:13:16 EST --- (In reply to comment #1)Presumably related to issue 8267Static foreach creates identically named but different lambdas in different anonymous scopes. This is related to issue 3031 (same thing with explicitly named symbols) *** This issue has been marked as a duplicate of issue 5655 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 08 2012