2c90f1327d
N.B. Method references currently also implicitly have such type
10 lines
458 B
Plaintext
Vendored
10 lines
458 B
Plaintext
Vendored
FILE: invokeKFunctionFromMethodReference.kt
|
|
public final fun foo(): R|kotlin/Int| {
|
|
local final fun action(s: R|kotlin/String|): R|kotlin/Int| {
|
|
^action R|<local>/s|.R|kotlin/text/toInt|()
|
|
}
|
|
|
|
lval localAction: R|kotlin/reflect/KFunction1<kotlin/String, kotlin/Int>| = ::R|<local>/action|
|
|
^foo R|<local>/localAction|.R|SubstitutionOverride<kotlin/reflect/KFunction1.invoke: R|kotlin/Int|>|(String(hello))
|
|
}
|