Files
kotlin-fork/jps-plugin/testData/incremental/withJava/javaUsedInKotlin/samConversions/methodAddDefault/usageWithFunctionLiteral.kt
T
Aleksei.Cherepanov b5ef6c9316 Add tests for SAM conversions
Add tests for KT-45191 [JPS] Marking method as "default" in Java SAM interface doesn't affect dependencies, which was fixed in intlellij(212): cbad0d91 support kotlin-generated lambda usage

#KT-45191 Fixed
2021-04-17 03:36:17 +03:00

3 lines
70 B
Kotlin
Vendored

fun usageWithFunctionLiteral() {
SamInterface { println("Hi!") }
}