Summary: detect static array parts of array literal
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD

--- Comment #0 from 2011-11-16 13:23:56 PST ---
void main(){
    int[2][] foo = [[1,1]];       // ok
    int[2][] bar = foo ~ [[1,1]]; // compile error

In the first case the compiler automatically figures out how to type the array
literal. The second line should compile too.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to