[Issue 4617] Alias this'ed symbols cannot be passed to templates
http://d.puremagic.com/issues/show_bug.cgi?id=4617 Kenji Hara k.hara...@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: ---
[Issue 4617] Alias this'ed symbols cannot be passed to templates
http://d.puremagic.com/issues/show_bug.cgi?id=4617 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull Version|unspecified |D2 --- Comment #2 from Kenji Hara k.hara...@gmail.com 2012-06-30 05:07:55 PDT --- https://github.com/D-Programming-Language/dmd/pull/1032 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4617] Alias this'ed symbols cannot be passed to templates
http://d.puremagic.com/issues/show_bug.cgi?id=4617 --- Comment #1 from Shin Fujishiro rsi...@gmail.com 2010-08-10 22:39:48 PDT --- The bug also causes a false negative of __traits(isSame), becuase isSame reuses the same algorithm as template instantiation: test3.d static assert( __traits(isSame, S.square, S.forward.square) ); struct S { struct F { int square(int n) { return n*n; } real square(real n) { return n*n; } } F forward; alias forward this; } % dmd -o- -c test3.d test3.d(1): Error: static assert (__traits(isSame,forward.square,square)) is false -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---