March 05, 2015 [Issue 14248] New: CodeView: debug info for return type of ref return function | ||||
---|---|---|---|---|
| ||||
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@puremagic.com Reporter: callumenator@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? -- |
Copyright © 1999-2021 by the D Language Foundation