is this a betterC bug ?

learnfirst1 learnfirst1 at gmail.com
Tue Aug 14 13:01:57 UTC 2018


enum string[] a = ["a"];

extern(C) void main() {
         int i = 0;
         auto s = a[i];
}
---------------
Error: TypeInfo cannot be used with -betterC


More information about the Digitalmars-d-learn mailing list