fun T.foo(): (item: T) -> Unit{} fun f() { val v = "a".foo() v() } /* Text: (item: String), Disabled: false, Strikeout: false, Green: true */