April 29, 2021 [Issue 21877] New: VS2019 crash with "Show parameter storage class at call site" | ||||
|---|---|---|---|---|
| ||||
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@puremagic.com Reporter: blatblatnik@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. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply