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,10 @@
|
||||
import java.time.LocalDate
|
||||
import java.time.LocalDateTime
|
||||
|
||||
// RUNTIME_WITH_FULL_JDK
|
||||
val s = object : Sam {
|
||||
override fun test(d: LocalDate, t: LocalDateTime): List<String> {
|
||||
val s = "$d$t"
|
||||
return listOf(s)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user