[Issue 13832] New: delegates that return ref do not output correctly to .di file
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Dec 7 21:12:53 PST 2014
https://issues.dlang.org/show_bug.cgi?id=13832
Issue ID: 13832
Summary: delegates that return ref do not output correctly to
.di file
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: bugzilla at digitalmars.com
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.
--
More information about the Digitalmars-d-bugs
mailing list