JS: update backend tests to respect new front-end rules for external declarations

This commit is contained in:
Alexey Andreev
2016-12-19 19:38:49 +03:00
parent 6ef4a3389e
commit 06e83e895f
8 changed files with 18 additions and 13 deletions
@@ -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()