Files
kotlin-fork/idea/testData/inspectionsLocal/selfAssignment/differentThis.kt
T

12 lines
183 B
Kotlin
Vendored

// PROBLEM: none
// WITH_RUNTIME
class Test {
var foo = 1
fun test() {
with (Test()) {
this@Test.foo = <caret>foo // Different receiver
}
}
}