[Issue 14077] New: Issue 14070 - Letting compiler determine length for fixed-length arrays in return type

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jan 29 05:49:34 PST 2015


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

          Issue ID: 14077
           Summary: Issue 14070 - Letting compiler determine length for
                    fixed-length arrays in return type
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: k.hara.pg at gmail.com

Possible case:

int[$] returnSArr()
{
    return [1, 2];
}

--


More information about the Digitalmars-d-bugs mailing list