http://d.puremagic.com/issues/show_bug.cgi?id=8911
Summary: -property makes fullyQualifiedName fail for functions
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Max Samukha <[email protected]> 2012-10-29 16:29:16
PDT ---
Compile with -property:
import std.traits;
void foo() {};
pragma(msg, fullyQualifiedName!foo); // Error: not a property foo
The reason is stringof:
pragma(msg, foo.mangleof); // ok
pragma(msg, foo.stringof); // fail
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------