[Issue 14248] New: CodeView: debug info for return type of ref return function
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Mar 4 23:46:21 PST 2015
https://issues.dlang.org/show_bug.cgi?id=14248
Issue ID: 14248
Summary: CodeView: debug info for return type of ref return
function
Product: D
Version: D2
Hardware: x86
OS: Windows
Status: NEW
Severity: enhancement
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: callumenator at gmail.com
Given:
int x;
ref int foo() { return x; }
The win32 codeview debug information for foo's type has the return type as
'int', presumably because 'ref' is a storage class which applies to the
function.
Does it make sense to propagate the refness of the function to the return type
when outputting debug info, as is done for the parameters?
--
More information about the Digitalmars-d-bugs
mailing list