Bug 1651 – .di file generated with -H switch does not translate function() arguments correctly

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
All
Creation time
2007-11-08T21:47:00Z
Last change time
2015-06-09T01:14:21Z
Keywords
wrong-code
Assigned to
bugzilla
Creator
schveiguy

Attachments

IDFilenameSummaryContent-TypeSize
206testme.zipcode that demonstrates problemapplication/octet-stream433

Comments

Comment #0 by schveiguy — 2007-11-08T21:47:40Z
When specifying -H switch for a function/class that looks like: void f(void function() f2); the .di file contains: void f(void function()* f2); which will not allow compilation.
Comment #1 by schveiguy — 2007-11-08T21:51:06Z
Created attachment 206 code that demonstrates problem
Comment #2 by schveiguy — 2007-11-09T08:41:00Z
Just checked this on Linux. Has the same problem.
Comment #3 by bugzilla — 2007-12-04T23:36:58Z
Fixed dmd 2.008