http://d.puremagic.com/issues/show_bug.cgi?id=9967
S�nke Ludwig <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from S�nke Ludwig <[email protected]> 2013-04-29 02:55:41 PDT --- __parameters seems to only with for actual function types and not for function pointers. Replacing "alias Type = typeof(&Test.setter);" with "alias Type = FunctionTypeOf!(Test.setter);" makes the bug example work. Similarly, replacing the first static-if in ParameterIdentifierTuple makes it work, but I'm unsure if this could break anything else: line 832 traits.d: --- static if (is(typeof!(func[0]) PT == __parameters)) +++ static if (is(FunctionTypeOf!(func[0]) PT == __parameters)) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
