This message was deleted.
# getting-started
s
This message was deleted.
y
Because
MyClass.f
is not
inline
e
T.() -> R
and
(T) -> R
are the same type at runtime https://github.com/JetBrains/kotlin/blob/master/spec-docs/function-types.md, can you not do something similar to https://kotlinlang.org/docs/sam-with-receiver-plugin.html does and just change how the caller sees it?
y
@interface
is Java speak for
annotation class
I don't know if the SAM extension point will do the trick for you, but it's worth exploring.