[Issue 16691] New debug experience: hovering over a string function argument doesn't display the string

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jan 14 01:33:29 PST 2017


https://issues.dlang.org/show_bug.cgi?id=16691

Rainer Schuetze <r.sagitario at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario at gmx.de

--- Comment #1 from Rainer Schuetze <r.sagitario at gmx.de> ---
This happens because the string is passed by reference by the x64 ABI. If you
build for the VS engine, it is encoded as "reference" and it works as expected. 

The pointer type is used for historic reasons when building for D engines.
Unfortunately, switching to VS style uses the ugly '@' replacement for types.

--


More information about the Digitalmars-d-bugs mailing list