Allow inferring property type from its getter

#KT-550 Fixed
This commit is contained in:
Denis Zharkov
2016-11-14 14:17:39 +03:00
parent 51a5bf9f7e
commit 6fca46a452
32 changed files with 460 additions and 38 deletions
@@ -1,5 +1,5 @@
// "Specify type explicitly" "false"
// ERROR: This property must either have a type annotation, be initialized or be delegated
// ERROR: Type checking has run into a recursive problem. Easiest workaround: specify types of your declarations explicitly
// ACTION: Convert member to extension
// ACTION: Convert property to function
// ACTION: Move to companion object
@@ -7,4 +7,4 @@
class A {
val a<caret>
get() = a
}
}