Bug 17609 – core.demangle demangles delegate variables as functions

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

Comments

Comment #0 by r.sagitario — 2017-07-06T05:42:08Z
_D4test2dgDFiYd in core.demangle's unittests is demangled as "double test.dg(int, ...)", but it should be "double delegate(int, ...) test.dg".
Comment #1 by github-bugzilla — 2017-07-16T13:11:43Z
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:58Z
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:03Z
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:49Z
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