FirSyntheticPropertiesScope: support case with derived getter

#KT-42496 Fixed
This commit is contained in:
Mikhail Glukhikh
2020-10-13 18:29:22 +03:00
parent 2f9b7495fc
commit babc7845af
4 changed files with 36 additions and 4 deletions
@@ -5,7 +5,7 @@ fun foo(o: JavaClass2) {
o.something = ""
o.setSomething(1)
o.something = 1 // we generate extension property for JavaClass2 with more specific type
o.<!VARIABLE_EXPECTED!>something<!> += "1"
o.something += "1"
}
fun useString(i: String) {}