"Convert to anonymous object" intention: suggest for kotlin fun interface
#KT-37749 Fixed
This commit is contained in:
committed by
Roman Golyshev
parent
0abe3a6c39
commit
6a1923a477
+13
@@ -0,0 +1,13 @@
|
||||
fun interface KotlinFace {
|
||||
fun single()
|
||||
}
|
||||
|
||||
fun useSam(kf: KotlinFace) {}
|
||||
|
||||
fun callSam() {
|
||||
useSam(kf = object : KotlinFace {
|
||||
override fun single() {
|
||||
|
||||
}
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user