Bug 17610 – core.demangle shows return type of template alias parameter

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2017-07-06T05:45:09Z
Last change time
2017-08-16T13:22:53Z
Assigned to
No Owner
Creator
Rainer Schuetze

Comments

Comment #0 by r.sagitario — 2017-07-06T05:45:09Z
From the core.demangle unittests: _D8bug1119234__T3fooS23_D8bug111924mainFZ3bariZ3fooMFZv is demangled as void bug11192.foo!(int bug11192.main().bar).foo() but should oit the return type in the template argument: void bug11192.foo!(bug11192.main().bar).foo()
Comment #1 by github-bugzilla — 2017-07-16T13:11:45Z
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:18:00Z
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:04Z
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:53Z
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