e4e09d6c70
Added FakeCallableDescriptorForObject to make a resolved call with object as variable in 'variable as function call' #KT-4321 Fixed #KT-4863 Fixed
12 lines
174 B
Kotlin
12 lines
174 B
Kotlin
import A.Nested
|
|
|
|
class A {
|
|
class Nested {
|
|
class object {
|
|
fun invoke(i: Int) = i
|
|
}
|
|
}
|
|
}
|
|
|
|
fun box() = if (Nested(42) == 42) "OK" else "fail"
|