[Issue 21877] New: VS2019 crash with "Show parameter storage class at call site"
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Apr 29 10:38:56 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21877
Issue ID: 21877
Summary: VS2019 crash with "Show parameter storage class at
call site"
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: normal
Priority: P1
Component: visuald
Assignee: nobody at puremagic.com
Reporter: blatblatnik at gmail.com
When "Show parameter storage class at call site", deleting more than 1 line of
code where the storage class is shown will crash visual studio.
This makes the feature almost unusable. The crash happens very frequently in
code that uses it, and it's taxing to think about the possibility of crashes
every time I delete a block of code.
Steps to reproduce:
Visual studio version: 16.9.4
Visuald version: 1.1.1
Start a new project (or open any old D project). Make sure "Show parameter
storage class at call site" is enabled in the settings. Then add the following
function anywhere in the code.
void crash()
{
void foo(ref int bar);
int bar;
foo(bar);
foo(bar);
}
Now wait for the little "ref" to appear in the calls to foo. Then select both
lines calling foo, and delete them.
--
More information about the Digitalmars-d-bugs
mailing list