Thread overview
[Issue 16691] New debug experience: hovering over a string function argument doesn't display the string
Jan 14, 2017
Rainer Schuetze
Jan 14, 2017
Manu
Jan 14, 2017
Rainer Schuetze
Jan 15, 2017
Manu
January 14, 2017
https://issues.dlang.org/show_bug.cgi?id=16691

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

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

--- Comment #1 from Rainer Schuetze <r.sagitario@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.

--
January 14, 2017
https://issues.dlang.org/show_bug.cgi?id=16691

--- Comment #2 from Manu <turkeyman@gmail.com> ---
Is there a solution possible that isn't broken one way or another?

--
January 14, 2017
https://issues.dlang.org/show_bug.cgi?id=16691

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #3 from Rainer Schuetze <r.sagitario@gmx.de> ---
https://github.com/dlang/dmd/pull/6445

Support for references has to be added to mago, too.

--
January 15, 2017
https://issues.dlang.org/show_bug.cgi?id=16691

--- Comment #4 from Manu <turkeyman@gmail.com> ---
Nice.

--
January 16, 2017
https://issues.dlang.org/show_bug.cgi?id=16691

--- Comment #5 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/931dad8d353824b9cd9ffc3b0411a544887bff1b Fix issue 16691: make value parameters implicitely passed by pointer on Win64 r-value references

https://github.com/dlang/dmd/commit/a5f823a59d11bb02a56384891eb80a55af467e00 Merge pull request #6445 from rainers/issue16691

Fix issue 16691: win64 debug info: pass struct value parameters by reference, not pointer

--
January 16, 2017
https://issues.dlang.org/show_bug.cgi?id=16691

--- Comment #6 from github-bugzilla@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/931dad8d353824b9cd9ffc3b0411a544887bff1b Fix issue 16691: make value parameters implicitely passed by pointer on Win64 r-value references

https://github.com/dlang/dmd/commit/a5f823a59d11bb02a56384891eb80a55af467e00 Merge pull request #6445 from rainers/issue16691

--
March 22, 2017
https://issues.dlang.org/show_bug.cgi?id=16691

--- Comment #7 from github-bugzilla@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/931dad8d353824b9cd9ffc3b0411a544887bff1b Fix issue 16691: make value parameters implicitely passed by pointer on Win64 r-value references

https://github.com/dlang/dmd/commit/a5f823a59d11bb02a56384891eb80a55af467e00 Merge pull request #6445 from rainers/issue16691

--