https://issues.dlang.org/show_bug.cgi?id=21278
Issue ID: 21278
Summary: typeid() must be usable during compilation
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
Currently this fails to compile:
pragma(msg, typeid(int).toString); // should print "int"
Allowing the use of typeid() during compilation opens the door to a variety of
manipulations.
Related: https://issues.dlang.org/show_bug.cgi?id=9945
--