Summary: Non-integer type allowed as static array size
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD

--- Comment #0 from Iain Buclaw <> 2010-08-11 11:44:22 PDT ---
The code:

void main()
    int[0.128] a;

Should not compile, rather error with the message stating that either the size
of array 'a' has non-integer type, or that the compiler cannot implicitly
convert expression (0.128) of type double to uint.



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

Reply via email to