[Issue 14130] New: REG(2.067) Ice following error in template parameter default value

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Feb 6 00:22:26 PST 2015


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

          Issue ID: 14130
           Summary: REG(2.067) Ice following error in template parameter
                    default value
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: ice
          Severity: regression
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: yebblies at gmail.com

F sumKBN(Range, F = Unqual)(Range r, F s = 0.0) 
{
}

void main()
{
    0.sumKBN;
}

DMD v2.067 DEBUG
testx.d(7): Error: undefined identifier Unqual
assert template.c(2586) fd->type->ty == Tfunction

--


More information about the Digitalmars-d-bugs mailing list