[Issue 2391] Character array literals are not recognized as string literals

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 4 02:10:54 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=2391





------- Comment #1 from samukha at voliacable.com  2008-10-04 04:10 -------
In the above, S instance is unnecessary. Corrected:
----
struct S
{
    static int x;
}

void main()
{
    __traits(getMember, S, ['x']) = 1;
}
----


-- 



More information about the Digitalmars-d-bugs mailing list