JS: update backend tests to respect new front-end rules for external declarations
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
package foo
|
||||
|
||||
external interface A {
|
||||
val bar: Int get() = noImpl
|
||||
fun foo(): String = noImpl
|
||||
val bar: Int? get() = noImpl
|
||||
fun foo(): String
|
||||
}
|
||||
|
||||
class C : A
|
||||
class C : A {
|
||||
override fun foo() = "foo"
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
val c = C()
|
||||
|
||||
Reference in New Issue
Block a user