Variable in destructuring declaration uses name of a wrong data class property

Last modified: 03 December 2024

Reports entries of destructuring declarations that match the name of a different property of the destructured data class.

Example:

The quick-fix changes variable's name to match the name of the corresponding class field: