April 11, 2013 [Issue 9571] link error due to using unique ids in anonymous funcliteral | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix | http://d.puremagic.com/issues/show_bug.cgi?id=9571 Dicebot <m.strashun@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|pull | --- Comment #9 from Dicebot <m.strashun@gmail.com> 2013-04-11 00:32:09 PDT --- Thanks for tracking down the root cause for this specific issue. I'll move my pull request to its own issue then. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 13, 2013 [Issue 9571] link error due to using unique ids in anonymous funcliteral | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix | http://d.puremagic.com/issues/show_bug.cgi?id=9571 --- Comment #10 from Dicebot <public@dicebot.lv> 2013-09-13 07:50:45 PDT --- The root cause of this issues got hidden / fixed by https://github.com/D-Programming-Language/dmd/pull/2550 (as only one template instance is emitted and thus only one literal ID gets generated). I can't imagine any other way to manifest this issue (without using template instances) but it may be theoretically possible. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 17, 2013 [Issue 9571] link error due to using unique ids in anonymous funcliteral | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix | http://d.puremagic.com/issues/show_bug.cgi?id=9571 --- Comment #11 from Kenji Hara <k.hara.pg@gmail.com> 2013-09-17 01:26:10 PDT --- (In reply to comment #10) > The root cause of this issues got hidden / fixed by https://github.com/D-Programming-Language/dmd/pull/2550 (as only one template instance is emitted and thus only one literal ID gets generated). > > I can't imagine any other way to manifest this issue (without using template instances) but it may be theoretically possible. Able to cause the issue by combining -inline. //a.d import b; void main() { foo(); } // b.d struct MapResult(alias fun) { void bar() { fun(0); } } auto foo() { alias MapResult!(function(int c) => 0) M; M m; m.bar(); } Command: $ dmd -inline -c a.d $ dmd -inline -c b.d $ dmd -oftest.exe a.obj b.obj OPTLINK (R) for Win32 Release 8.00.12 Copyright (C) Digital Mars 1989-2010 All rights reserved. http://www.digitalmars.com/ctg/optlink.html a.obj(a) Error 42: Symbol Undefined _D1b51__T9MapResultS34_D1b3foo14__funcliteral4FNaNbNfiZiZ9MapResult3barMFNaNbNfZv --- errorlevel 1 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 17, 2013 [Issue 9571] link error due to using unique ids in anonymous funcliteral | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix | http://d.puremagic.com/issues/show_bug.cgi?id=9571 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #12 from Kenji Hara <k.hara.pg@gmail.com> 2013-09-17 01:29:05 PDT --- https://github.com/D-Programming-Language/dmd/pull/2566 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 17, 2013 [Issue 9571] link error due to using unique ids in anonymous funcliteral | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix | http://d.puremagic.com/issues/show_bug.cgi?id=9571 --- Comment #13 from github-bugzilla@puremagic.com 2013-09-17 02:51:20 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/225188755132e42ae97ca398be7d7f3af2b5a1e2 fix Issue 9571 - link error due to using unique ids in anonymous funcliteral https://github.com/D-Programming-Language/dmd/commit/3395a17dfe506c7a0dcf7370e7e4de4d98391528 Merge pull request #2566 from 9rnsr/fix9571 Issue 9571 - link error due to using unique ids in anonymous funcliteral -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 19, 2013 [Issue 9571] link error due to using unique ids in anonymous funcliteral | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix | http://d.puremagic.com/issues/show_bug.cgi?id=9571 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 19, 2013 [Issue 9571] link error due to using unique ids in anonymous funcliteral | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix | http://d.puremagic.com/issues/show_bug.cgi?id=9571 --- Comment #14 from deadalnix <deadalnix@gmail.com> 2013-09-19 09:50:58 PDT --- (In reply to comment #12) > https://github.com/D-Programming-Language/dmd/pull/2566 Dude, I'm not in Japan for so long, but if you have one moment on Tokyo next week, I'd buy you a beer (or whatever you prefer). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation