Introduce Field refactor of member in struct produces erroneous code by default
Repro:
Add a new struct.
Put some assignment code in a method.
Introduce Field to remove the value side to a field of the struct.
The dialog defaults to allowing the assignment to be performed at field
declaration. This is invalid in a struct; the default should be to put
the assignment in the constructor.
Jonathan Choy
Please sign in to leave a comment.
Hello,
We appreciate your feedback.
The corresponding JIRA request has been created, and you are welcome to monitor
its status at http://www.jetbrains.net/jira/browse/RSRP-37224.
Best regards,
- Development Team.