http://d.puremagic.com/issues/show_bug.cgi?id=10027
Summary: demangled name format of local function is wrong
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P2
Component: druntime
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from [email protected] 2013-05-04 02:15:35 PDT ---
# SOURCE:
import core.demangle;
void main() {
int local() {
pragma(msg, __PRETTY_FUNCTION__); // OUTPUT-1: DMD2.063beta or later
only
return 0;
}
pragma(msg, demangle(local.mangleof)); // OUTPUT-2
}
# COMPILER'S OUTPUT:
int example.main.local()
void example.main().int local()
The former output is appropriate.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------