JS: add restrictions to external modifier according to KT-13893

This commit is contained in:
Alexey Andreev
2016-11-25 17:52:40 +03:00
parent c0c6992ea6
commit d0ffb5bd32
26 changed files with 298 additions and 290 deletions
@@ -51,13 +51,4 @@ external object O {
fun bar(s: String): String = noImpl
}
fun test() {
external class Local {
val baz: Int
val boo: Int = noImpl
fun foo()
fun bar() {}
}
}
@@ -5,7 +5,6 @@ public val boo: kotlin.Int
public val kotlin.Int.baz: kotlin.Int
public external fun bar(): kotlin.Unit
public external fun foo(): kotlin.Unit
public fun test(): kotlin.Unit
public external fun kotlin.String.bar(): kotlin.Int
public external fun kotlin.String.foo(): kotlin.Int