Add getter: don't suggest when property has no type or initializer

So #KT-24632 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-05-29 16:13:33 +03:00
committed by Mikhail Glukhikh
parent 8969e7a6e1
commit b4962a1880
6 changed files with 37 additions and 4 deletions
@@ -0,0 +1,4 @@
// IS_APPLICABLE: false
// SKIP_ERRORS_BEFORE
// SKIP_ERRORS_AFTER
var x<caret>
@@ -0,0 +1,4 @@
// IS_APPLICABLE: false
// SKIP_ERRORS_BEFORE
// SKIP_ERRORS_AFTER
var x<caret>
@@ -0,0 +1,3 @@
// SKIP_ERRORS_BEFORE
// SKIP_ERRORS_AFTER
var x<caret>
@@ -0,0 +1,6 @@
// SKIP_ERRORS_BEFORE
// SKIP_ERRORS_AFTER
var x
set(value) {
field = value
}