Maybe its usage as identifier should be deprecated ?
---
import std.stdio;
class Foo
{
static class stringof { }
}
void main()
{
writeln(Foo.stringof);
}
---
Comment #1 by doob — 2017-06-03T15:18:48Z
Many of the built-in properties can be used as identifiers, not only stringof. I would prefer if all or most of them would move to a different namespace, like __traits.
Comment #2 by b2.temp — 2020-01-08T17:10:08Z
*** This issue has been marked as a duplicate of issue 7066 ***