← Back to index
|
Original Bugzilla link
Bug 14563 – core.demangle: Does not demangle type modifers
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-05-09T18:43:43Z
Last change time
2017-08-16T13:22:44Z
Assigned to
No Owner
Creator
Iain Buclaw
Comments
Comment #0
by ibuclaw — 2015-05-09T18:43:43Z
Running ddemangle with the following input: --- _D8demangle1S2fnMFZv _D8demangle1S2fnMxFZv _D8demangle1S2fnMyFZv _D8demangle1S2fnMNgFZv _D8demangle1S2fnMOFZv _D8demangle1S2fnMOxFZv _D8demangle1S2fnMONgFZv _D8demangle1S2fnMONgxFZv --- Outputs: --- void demangle.S.fn() const(void function()) demangle.S.fn immutable(void function()) demangle.S.fn demangle.S.fninout(void function()) shared(void function()) demangle.S.fn shared(const(void function())) demangle.S.fn shared(inout(void function())) demangle.S.fn shared(inout(const(void function()))) demangle.S.fn --- All but the first are off by a mile. Expected output should be something like: --- void demangle.S.fn() void demangle.S.fn() const void demangle.S.fn() immutable void demangle.S.fn() inout void demangle.S.fn() shared void demangle.S.fn() shared const void demangle.S.fn() shared inout void demangle.S.fn() shared inout const ---
Comment #1
by github-bugzilla — 2017-07-16T13:11:42Z
Commit pushed to mangle at
https://github.com/dlang/druntime
https://github.com/dlang/druntime/commit/0f564d62e8e982f7e73ac662592198a7313348fb
fix issues 14319, 14563, 17609, 17610, 17611: demangle: better detect function signatures in QualifiedNames, only print return types for the outmost symbol
Comment #2
by github-bugzilla — 2017-07-16T14:17:57Z
Commit pushed to master at
https://github.com/dlang/druntime
https://github.com/dlang/druntime/commit/0f564d62e8e982f7e73ac662592198a7313348fb
fix issues 14319, 14563, 17609, 17610, 17611: demangle: better detect function signatures in QualifiedNames, only print return types for the outmost symbol
Comment #3
by github-bugzilla — 2017-08-07T12:26:02Z
Commit pushed to newCTFE at
https://github.com/dlang/druntime
https://github.com/dlang/druntime/commit/0f564d62e8e982f7e73ac662592198a7313348fb
fix issues 14319, 14563, 17609, 17610, 17611: demangle: better detect function signatures in QualifiedNames, only print return types for the outmost symbol
Comment #4
by github-bugzilla — 2017-08-16T13:22:44Z
Commit pushed to stable at
https://github.com/dlang/druntime
https://github.com/dlang/druntime/commit/0f564d62e8e982f7e73ac662592198a7313348fb
fix issues 14319, 14563, 17609, 17610, 17611: demangle: better detect function signatures in QualifiedNames, only print return types for the outmost symbol