mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
14 lines
231 B
Kotlin
14 lines
231 B
Kotlin
// PROBLEM: Variable 'foo' is assigned to itself
|
|
// WITH_STDLIB
|
|
// FIX: Remove self assignment
|
|
// IGNORE_K2
|
|
|
|
class Test {
|
|
var foo = 1
|
|
|
|
fun test() {
|
|
with (Test()) {
|
|
this.foo = <caret>foo
|
|
}
|
|
}
|
|
} |