zak.taccardi
03/30/2020, 4:14 PMtypealias
? For example, typealias LoadString: () -> String
finds all usages of () -> T
and I specifically just want LoadString
Mike
03/30/2020, 4:23 PM() -> String
can be used.
So, I think you're stuck with text search, or filtering what IntelliJ returns.zak.taccardi
03/30/2020, 4:24 PMMike
03/30/2020, 4:38 PMAlexey Belkov [JB]
04/06/2020, 3:07 PMtypealias LoadString = () -> String
fun foo(l: LoadString) {}
fun <T> bar(l: () -> T) {}
Can you please create an issue at http://kotl.in/issue with a self-contained code sample to reproduce?zak.taccardi
04/06/2020, 7:02 PMtypealias LoadFavoriteColor = () -> String
typealias LoadFavoriteName = () -> String
zak.taccardi
04/06/2020, 7:04 PMzak.taccardi
04/06/2020, 7:05 PMLoadFavoriteColor
on mac, cmd
+ option
+ B
should navigate to an implementation of LoadFavoriteColor
zak.taccardi
04/06/2020, 7:06 PMAlexey Belkov [JB]
04/07/2020, 7:54 AMLoadString
? Or do you have some different case in mind?
typealias LoadString = () -> String
class Foo : LoadString {
override fun invoke(): String = TODO()
}