[Issue 19169] New: [betterC] bogus TypeInfo error for `enum string[] a = ["a"]; auto aa = a;`
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Aug 14 13:16:24 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19169
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 at puremagic.com
Reporter: iamthewilsonator at hotmail.com
extern(C) void main() {
enum string[] a = ["a"];
auto aa = a;
}
> onlineapp.d(3): Error: TypeInfo cannot be used with -betterC
--
More information about the Digitalmars-d-bugs
mailing list