Allow inferring property type from its getter
#KT-550 Fixed
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user