http://d.puremagic.com/issues/show_bug.cgi?id=11192
Summary: std.demangle doesn't demangle alias template arguments
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Peter Alexander <[email protected]> 2013-10-07
13:24:54 PDT ---
import std.demangle, std.stdio;
void foo(alias x)() {}
void main()
{
int bar;
foo!bar.mangleof.demangle.writeln();
}
Gives:
void foo.main().pure nothrow @safe void foo!(_D3foo4mainFZv3bari).foo()
Notice that _D3foo4mainFZv3bari remains mangled.
I would expect something along the lines of:
void foo.main().pure nothrow @safe void foo!(void foo.main().int bar).foo()
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------