www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21534] New: dtoh: Default params for default ctor missing

https://issues.dlang.org/show_bug.cgi?id=21534

          Issue ID: 21534
           Summary: dtoh: Default params for default ctor missing template
                    args
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: kinke gmx.net

E.g., in frontend.h:

struct Target
{
    [...]
    Target([...], FPTypeProperties<float > FloatProperties =
FPTypeProperties(NAN, NAN, NAN, NAN, NAN, 6LL, 24LL, 128LL, -125LL, 38LL,
-37LL), [...]) :
    [...]
};

--
Jan 09 2021