[Issue 8850] Nested struct creation by a template

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

[Issue 8850] Nested struct creation by a template

2012-11-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8850 --- Comment #4 from Kenji Hara k.hara...@gmail.com 2012-11-07 04:50:03 PST --- (In reply to comment #0) T fun(T)() if(is(T == struct)) { T s;// [a] return s; } void main() { struct R { void f() { } }

[Issue 8850] Nested struct creation by a template

2012-11-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8850 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8850] Nested struct creation by a template

2012-11-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8850 --- Comment #5 from Kenji Hara k.hara...@gmail.com 2012-11-07 04:55:54 PST --- (In reply to comment #3) I think it is supposed to work, the following does work: In Currently, I answer: No. Even if TemplateTypeParameter gets nested struct

[Issue 8850] Nested struct creation by a template

2012-11-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8850 timon.g...@gmx.ch changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID

[Issue 8850] Nested struct creation by a template

2012-11-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8850 --- Comment #7 from Kenji Hara k.hara...@gmail.com 2012-11-07 16:23:43 PST --- (In reply to comment #6) (In reply to comment #5) I still think it might be sub-optimal that this has an influence on whether the context pointer for R is

[Issue 8850] Nested struct creation by a template

2012-10-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8850 Jesse Phillips jesse.k.phillip...@gmail.com changed: What|Removed |Added CC|

[Issue 8850] Nested struct creation by a template

2012-10-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8850 monarchdo...@gmail.com changed: What|Removed |Added CC||monarchdo...@gmail.com ---

[Issue 8850] Nested struct creation by a template

2012-10-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8850 timon.g...@gmx.ch changed: What|Removed |Added CC||timon.g...@gmx.ch --- Comment #3