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 ---
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
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
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
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