Fix for EA-81477 : correct handling of a property without initializer (but with e.g. getter)

(cherry picked from commit 4e2d35a)
This commit is contained in:
Mikhail Glukhikh
2016-06-17 14:25:12 +03:00
committed by Mikhail Glukhikh
parent 5b328e9042
commit b44c94a887
4 changed files with 17 additions and 1 deletions
@@ -0,0 +1,4 @@
// "Change 'complex' type to '(Int) -> Long'" "true"
val complex: (Int) -> String
get() = { it.toLong()<caret> }
@@ -0,0 +1,4 @@
// "Change 'complex' type to '(Int) -> Long'" "true"
val complex: (Int) -> Long
get() = { it.toLong() }