[Issue 3081] unaryFun can't be used to get element out of struct

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 20 02:56:30 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3081


Max Samukha <samukha at voliacable.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |samukha at voliacable.com




--- Comment #3 from Max Samukha <samukha at voliacable.com>  2009-06-20 02:56:29 PDT ---
Yeah, .stringof shouldn't be used there. But we still can get to the type
through the alias. Changing the mixin string to
enum testAsExpression = "{ ElementType "~parmName~"; return ("~fun~");}()"; 
should fix the bug.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list