204d9e3423
So #KT-20714 Fixed
13 lines
219 B
Kotlin
Vendored
13 lines
219 B
Kotlin
Vendored
// PROBLEM: Variable 'foo' is assigned to itself
|
|
// WITH_RUNTIME
|
|
// FIX: Remove self assignment
|
|
|
|
class Test {
|
|
var foo = 1
|
|
|
|
fun test() {
|
|
with (Test()) {
|
|
this.foo = <caret>foo
|
|
}
|
|
}
|
|
} |