[Issue 10800] New: ParameterDefaultValueTuple returns an empty string for default values in property functions.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 11 13:29:21 PDT 2013


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

           Summary: ParameterDefaultValueTuple returns an empty string for
                    default values in property functions.
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: opantm2+dbugs at gmail.com


--- Comment #0 from Ognjen <opantm2+dbugs at gmail.com> 2013-08-11 13:29:20 PDT ---
The static if(is(typeof(func[0])) PT == __parameters) returns false for
property functions and should be using FunctionTypeOf instead.

Will create a pull request once I get this working.

-- 
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