https://issues.dlang.org/show_bug.cgi?id=8850
Iain Buclaw changed:
What|Removed |Added
Priority|P2 |P3
--
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() { }
}
http://d.puremagic.com/issues/show_bug.cgi?id=8850
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
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
http://d.puremagic.com/issues/show_bug.cgi?id=8850
timon.g...@gmx.ch changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|INVALID
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
http://d.puremagic.com/issues/show_bug.cgi?id=8850
Jesse Phillips jesse.k.phillip...@gmail.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=8850
monarchdo...@gmail.com changed:
What|Removed |Added
CC||monarchdo...@gmail.com
---
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