Comment #0 by dlang-bugzilla — 2014-03-08T11:24:44Z
////////////////////// test.d //////////////////////
void test()
{
struct S { int i; }
S* s;
pragma(msg, __traits(identifier, s.tupleof[0]));
}
////////////////////////////////////////////////////
Compiler output:
test.d(5,14): Error: variable s cannot be read at compile time
test.d(5,14): Error: argument __error has no identifier
false
Comment #1 by robert.schadek — 2024-12-13T18:18:02Z