KT-12046 Java to Kotlin dangerous conversion (recursive property set)
#KT-12046 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class C {
|
||||
var x = ""
|
||||
set(x) {
|
||||
println("old value: " + this.x)
|
||||
field = x
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user