Introduce "Delegate to 'var' property" inspection #KT-26724 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-09-13 12:08:21 +03:00
committed by Mikhail Glukhikh
parent 17d740a373
commit 0fcd1a2072
12 changed files with 147 additions and 0 deletions
@@ -0,0 +1,8 @@
// FIX: Change to val
interface A {
fun foo()
}
class B : A {
override fun foo() {}
}
class C(<caret>var b: B) : A by b