← Back to index
|
Original Bugzilla link
Bug 375 – strange mangling of nested functions (".1", ".2", etc.)
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2006-09-26T18:01:00Z
Last change time
2015-06-09T05:14:45Z
Keywords
spec
Assigned to
dvdfrdmn
Creator
thomas-dloop
Comments
Comment #0
by thomas-dloop — 2006-09-26T18:01:34Z
strange mangling of nested functions: # # void outer(){ # void intra(){ # void inner(){ # void center(){ # } # } # } # } # GDC-svn-r20: _D1a5outerFZv _D1a5outerFZv5intraFZv _D1a5outerFZv5intraFZv5innerFZv.1 _D1a5outerFZv5intraFZv5innerFZv6centerFZv.2 DMD-0.166: _D1a5outerFZv _D1a5outerFZv5intraFZv _D1a5outerFZv5intraFZv5innerFZv _D1a5outerFZv5intraFZv5innerFZv6centerFZv Inner's ".1" and center's ".2" aren't documented. Are they intentional? If so, how should a demangler represent them?
Comment #1
by braddr — 2006-11-25T15:08:20Z
Mass reassignment of gdc bugs from me to David.
Comment #2
by dvdfrdmn — 2006-12-16T21:20:48Z
Fixed in GDC 0.20