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