http://d.puremagic.com/issues/show_bug.cgi?id=5955
Summary: core.demangle fail to parse NaN and Infinity. Product: D Version: D2 Platform: Other OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: kenn...@gmail.com --- Comment #0 from kenn...@gmail.com 2011-05-08 02:51:15 PDT --- For example, the program ------------------------------------------- module y; template TTTTTTTTTT(float v) { void TTTTTTTTTT() { } } void main() { TTTTTTTTTT!1.0f(); TTTTTTTTTT!(float.nan)(); TTTTTTTTTT!(float.infinity)(); } ------------------------------------------- generates the symbols _D1y22__T10TTTTTTTTTTVfeINFZ10TTTTTTTTTTFZv _D1y22__T10TTTTTTTTTTVfeNANZ10TTTTTTTTTTFZv _D1y23__T10TTTTTTTTTTVfe8PN3Z10TTTTTTTTTTFZv which the demangler can only recognize 1 out of 3: void y.__T10TTTTTTTTTTVfeINFZ.TTTTTTTTTT() // fail void y.__T10TTTTTTTTTTVfeNANZ.TTTTTTTTTT() // fail void y.TTTTTTTTTT!(1).TTTTTTTTTT() // ok -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------