Bug 15143 – core.demangle: Superfluous * when demangling function pointers

Status
NEW
Severity
normal
Priority
P3
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-10-03T14:03:42Z
Last change time
2024-12-07T13:35:48Z
Keywords
mangling
Assigned to
No Owner
Creator
Vladimir Panteleev
Moved to GitHub: dmd#17312 →

Comments

Comment #0 by dlang-bugzilla — 2015-10-03T14:03:42Z
void function() fun; import std.demangle; pragma(msg, demangle(fun.mangleof)); This prints: void function()* test.fun The * is superfluous (as "function" already indicates a function pointer), and thus indicates a pointer to a function pointer.
Comment #1 by robert.schadek — 2024-12-07T13:35:48Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17312 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB