JS: prohibit native (external) extension properties and functions. See KT-13896

This commit is contained in:
Alexey Andreev
2016-11-28 11:38:29 +03:00
parent cf25e17209
commit 3882bf7564
36 changed files with 48 additions and 346 deletions
@@ -0,0 +1,10 @@
class A
<!WRONG_MODIFIER_TARGET!>external fun A.foo(): Unit = noImpl<!>
<!WRONG_MODIFIER_TARGET!>external var A.bar: String
get() = noImpl
set(value) = noImpl<!>
<!WRONG_MODIFIER_TARGET!>external val A.baz: String
get() = noImpl<!>