JS: prohibit to implement functional interfaces. See KT-15136
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
abstract class <!IMPLEMENTING_FUNCTION_INTERFACE!>A<!> : () -> Unit
|
||||
|
||||
<!IMPLEMENTING_FUNCTION_INTERFACE!>object B<!> : (String, Int) -> Long {
|
||||
override fun invoke(a: String, B: Int) = 23L
|
||||
}
|
||||
|
||||
abstract class <!IMPLEMENTING_FUNCTION_INTERFACE!>C<!> : kotlin.Function1<Any, Int>
|
||||
|
||||
abstract class <!IMPLEMENTING_FUNCTION_INTERFACE!>D<!> : C()
|
||||
Reference in New Issue
Block a user