Add inspection for suspicious 'var' property #KT-23691 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-10-11 18:28:12 +03:00
committed by Mikhail Glukhikh
parent 3ede93df11
commit 29cc727c5a
11 changed files with 140 additions and 2 deletions
@@ -0,0 +1,5 @@
// FIX: Change to val and delete initializer
class Test {
<caret>var foo: Int = 0
get() = 1
}