www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14077] New: Issue 14070 - Letting compiler determine length

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 puremagic.com
          Reporter: k.hara.pg gmail.com

Possible case:

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

--
Jan 29 2015