JS: prohibit to implement functional interfaces. See KT-15136
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
//KT-3190 Compiler crash if function called 'invoke' calls a closure
|
||||
// IGNORE_BACKEND: JS
|
||||
// JS backend does not allow to implement Function{N} interfaces
|
||||
|
||||
fun box(): String {
|
||||
val test = Cached<Int,Int>({ it + 2 })
|
||||
|
||||
Reference in New Issue
Block a user