Add intention to convert SAM lambda to anonymous object #KT-25718 Fixed
This commit is contained in:
committed by
Vyacheslav Gerasimov
parent
eedb69b5e4
commit
d06b04f025
@@ -0,0 +1,7 @@
|
||||
fun foo(s: String) {}
|
||||
|
||||
val s = object : Sam {
|
||||
override fun test(it: String) {
|
||||
foo(it)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user