Do not enter in recursion for implicit invoke on variable with un inferred type
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
fun test() = 3
|
||||
|
||||
fun <T> proxy(t: T) = t
|
||||
|
||||
class A {
|
||||
val test = test()
|
||||
}
|
||||
|
||||
class B {
|
||||
val test = proxy(test())
|
||||
}
|
||||
|
||||
class C {
|
||||
val bar = <!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!><!UNINITIALIZED_VARIABLE!>test<!>()<!>
|
||||
val test = <!FUNCTION_EXPECTED!>bar<!>()
|
||||
}
|
||||
Reference in New Issue
Block a user