Report error on native abstract declarations
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import kotlin.jvm.*
|
||||
|
||||
abstract class C {
|
||||
<!NATIVE_DECLARATION_CANNOT_BE_ABSTRACT!>abstract<!> native fun foo()
|
||||
}
|
||||
|
||||
fun test() {
|
||||
abstract class Local {
|
||||
<!NATIVE_DECLARATION_CANNOT_BE_ABSTRACT!>abstract<!> native fun foo()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user