Summary: EnumBaseType
           Product: D
           Version: 2.030
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: DMD


"If the EnumBaseType is not explicitly set, and the first EnumMember has an
initializer, it is set to the type of that initializer. Otherwise, it defaults
to type int."

module test;

enum LongEnum
    SomeLong = 2147772029 //initializer

void main()

test.d(5): Error: cannot implicitly convert expression (2147772029L) of type
long to int

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

Reply via email to