Reporter | Lilia Shamsutdinova (Lilia.Shamsutdinova) |
---|---|
Created | Apr 19, 2018 7:23:23 PM |
Updated | Apr 19, 2018 7:23:23 PM |
Subsystem | Context Actions |
Assignee | Andrew Karpov (andrew.karpov) |
Priority | Major |
State | Submitted |
Type | Bug |
Fix version | Backlog |
Affected versions | 2018.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | VS 2017 RTM |
JetBrains ReSharper Ultimate 2018.1 12.0.20180418.033450-eap10d.
var (name, phone) = person;
Console.WriteLine(name, phone);
Console.WriteLine(name, phone);
- Invoke "Merge deconstructed declaration" CA on
(
invar (name, phone) = person;
- (Do not click Enter to confirm the variable name) Undo by Ctrl+Z.
Actual result:
Uncompilable code:
var (name, phone) = person;
Console.WriteLine((name, phone)ame, (name, phone)hone);
Console.WriteLine((name, phone)ame, (name, phone)hone);
Expected result:
Previous version of code.