https://kotlinlang.org logo
#reflect
Title
# reflect
h

holgerbrandl

02/04/2021, 10:42 PM
With the new 1.4.30 IDE plugin,
KFunction1.call()
is marked as red even with the latest org.jetbrains.kotlinkotlin reflect1.4.30 in the classpatth. Still, the code seems to compile fine. Or is it just me? Example
Copy code
import kotlin.reflect.KFunction1


class Test( val funPointer: KFunction1<String, String>) {
       init{
           funPointer.call("foo")
       }
}
or is this more an #intellij question?
👍 1
6 Views