Don't generate hash in sam wrapper class name

#KT-17091 Fixed
This commit is contained in:
Mikhael Bogdanov
2018-02-06 15:26:52 +01:00
parent ba5cc65792
commit 0954d1ab1b
21 changed files with 286 additions and 27 deletions
@@ -0,0 +1,18 @@
// FILE: 1.kt
// FULL_JDK
package test
inline fun foo(value: String, crossinline s: () -> String): String {
val x = { value }
return java.util.concurrent.Callable(x).call() + { s() }()
}
// FILE: 2.kt
import test.*
fun box(): String {
return foo("O") { "K" }
}