Bug 1377 – std.demangle unit test failure

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P2
Component
phobos
Product
D
Version
D1 (retired)
Platform
All
OS
All
Creation time
2007-07-25T20:21:00Z
Last change time
2014-02-16T15:23:28Z
Assigned to
bugzilla
Creator
dvdfrdmn
Depends on
588

Comments

Comment #0 by dvdfrdmn — 2007-07-25T20:21:13Z
One change to std.demangle in DMD 1.019 is to add ", void *" to the argument list of delegate/nested/member functions. This makes one of the unit test cases fail: [ "_D4test2dgDFiYd", "double delegate(int, ...) test.dg" ],
Comment #1 by braddr — 2007-10-28T03:36:09Z
Fixed in dmd 1.022 / 2.006. The extra parameters shouldn't have been emitted as they are the hidden this or context pointers of class member functions and delegates.