www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19169] New: [betterC] bogus TypeInfo error for `enum string[]


          Issue ID: 19169
           Summary: [betterC] bogus TypeInfo error for `enum string[] a =
                    ["a"]; auto aa = a;`
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: iamthewilsonator hotmail.com

extern(C) void main() {
    enum string[] a = ["a"];
    auto aa = a;

 onlineapp.d(3): Error: TypeInfo cannot be used with -betterC
Aug 14 2018