digitalmars.D.learn - how to demangle a string ending __ModuleInfoZ ?
- timotheecour (8/8) Mar 22 2013 void main(){
- cal (4/12) Mar 22 2013 Last time I tried to use demangle it didn't work on types, only
void main(){ import std.demangle; import std.stdio; writeln(demangle("_D5tango4text7convert6Format12__ModuleInfoZ")); //_D5tango4text7convert6Format12__ModuleInfoZ writeln(demangle("_D5tango4text7Unicode6toFoldFAxaAaZAa")); //char[] tango.text.Unicode.toFold(const(char)[], char[]) }
Mar 22 2013
On Friday, 22 March 2013 at 11:23:30 UTC, timotheecour wrote:void main(){ import std.demangle; import std.stdio; writeln(demangle("_D5tango4text7convert6Format12__ModuleInfoZ")); //_D5tango4text7convert6Format12__ModuleInfoZ writeln(demangle("_D5tango4text7Unicode6toFoldFAxaAaZAa")); //char[] tango.text.Unicode.toFold(const(char)[], char[]) }Last time I tried to use demangle it didn't work on types, only functions. Your first symbol is a type, so looks like the same problem.
Mar 22 2013