SetterBackingFieldAssignmentInspection: fix exception

#KT-38520 Fixed
This commit is contained in:
Dmitry Gridin
2020-04-23 19:16:29 +07:00
parent 6f5b3aebe1
commit ac9ad30681
5 changed files with 42 additions and 14 deletions
@@ -0,0 +1,9 @@
// PROBLEM: none
class Test {
var foo: Int = 10
<caret>set(value: Int) {
bar(value = value)
}
fun bar(value: Int) {}
}