[Issue 8863] struct passed to template: cannot access frame pointer

2019-01-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8863 Bastiaan Veelo changed: What|Removed |Added CC||basti...@veelo.net --- Comment #11 from Bast

[Issue 8863] struct passed to template: cannot access frame pointer

2014-12-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8863 Vlad Levenfeld changed: What|Removed |Added CC||vlevenf...@gmail.com --

[Issue 8863] struct passed to template: cannot access frame pointer

2024-03-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8863 anonymous4 changed: What|Removed |Added See Also||https://issues.dlang.org/sh |

[Issue 8863] struct passed to template: cannot access frame pointer

2012-11-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8863 --- Comment #1 from Kenji Hara 2012-11-07 05:12:10 PST --- This is a corner case of fixing bug 8339, but I think the current behavior is intended. Let's try to replace the out parameter usage to a simple pointer in your code. auto fun(T)(T* r

[Issue 8863] struct passed to template: cannot access frame pointer

2012-11-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8863 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #

[Issue 8863] struct passed to template: cannot access frame pointer

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8863 --- Comment #3 from Kenji Hara 2012-11-14 00:13:59 PST --- (In reply to comment #2) > So I'd say it is a bug, and the fault is likely in > TemplateInstance::hasNestedArgs(). I think that the rule should not be applied to the template type argu

[Issue 8863] struct passed to template: cannot access frame pointer

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8863 --- Comment #4 from Walter Bright 2012-11-14 00:31:21 PST --- The example you gave an example of a bug where a reference to a local is returned, something entirely different. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cg

[Issue 8863] struct passed to template: cannot access frame pointer

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8863 --- Comment #5 from Kenji Hara 2012-11-14 01:07:54 PST --- (In reply to comment #4) > The example you gave an example of a bug where a reference to a local is > returned, something entirely different. No, they are is related. My argue is: the

[Issue 8863] struct passed to template: cannot access frame pointer

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8863 --- Comment #6 from Kenji Hara 2012-11-14 01:08:01 PST --- Furthermore, the original code had generated incorrect code silently. This slight complicated code might cause access violation in 2.060 or earlier. auto fun(T)(out T ret) { // ret

[Issue 8863] struct passed to template: cannot access frame pointer

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8863 --- Comment #7 from Walter Bright 2012-11-14 01:13:28 PST --- I agree that the original code silently generated wrong code. So this isn't really a regression. But I think we can fix it. There is no way to make your example work, because it is

[Issue 8863] struct passed to template: cannot access frame pointer

2012-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8863 --- Comment #8 from Kenji Hara 2012-11-14 02:05:18 PST --- (In reply to comment #7) > But I think we can fix it. There is no way to make your example work, because > it is returning a reference to a local. But the original one can work, and > t

[Issue 8863] struct passed to template: cannot access frame pointer

2012-12-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8863 --- Comment #9 from github-bugzi...@puremagic.com 2012-12-25 18:28:58 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/c6a41c414aa9177aef7dac6ac131addba20abf32

[Issue 8863] struct passed to template: cannot access frame pointer

2012-12-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8863 Walter Bright changed: What|Removed |Added Severity|regression |normal --- Comment #10 from Walter Bri

[Issue 8863] struct passed to template: cannot access frame pointer

2014-08-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8863 Steve Sobel changed: What|Removed |Added CC||s.sobell...@gmail.com --

[Issue 8863] struct passed to template: cannot access frame pointer

2020-11-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8863 Adam D. Ruppe changed: What|Removed |Added CC||destructiona...@gmail.com --

[Issue 8863] struct passed to template: cannot access frame pointer

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8863 Iain Buclaw changed: What|Removed |Added Priority|P2 |P3 --