Bug 13832 – delegates that return ref do not output correctly to .di file

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-12-08T05:12:00Z
Last change time
2015-02-18T03:41:17Z
Keywords
pull, wrong-code
Assigned to
nobody
Creator
bugzilla

Comments

Comment #0 by bugzilla — 2014-12-08T05:12:53Z
The source code: alias ref int delegate() dg_t; when compiled with: dmd -c -H test.d yields a .di file with: alias int delegate() dg_t; in it. The 'ref' got dropped, but it is still there as part of the type.
Comment #1 by k.hara.pg — 2014-12-09T07:55:46Z
Comment #2 by github-bugzilla — 2014-12-15T02:17:24Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/3fc5b66bac208a5faf867c12978379f357f29dc3 fix Issue 13832 - delegates that return ref do not output correctly to .di file https://github.com/D-Programming-Language/dmd/commit/688108d8087f7fa2ec6c42e1085153441a849ca0 Merge pull request #4201 from 9rnsr/fix13832 Issue 13832 - delegates that return ref do not output correctly to di file
Comment #3 by github-bugzilla — 2015-02-18T03:41:17Z
Commits pushed to 2.067 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/3fc5b66bac208a5faf867c12978379f357f29dc3 fix Issue 13832 - delegates that return ref do not output correctly to .di file https://github.com/D-Programming-Language/dmd/commit/688108d8087f7fa2ec6c42e1085153441a849ca0 Merge pull request #4201 from 9rnsr/fix13832