JS: Avoid declaration skeleton body generation in case of external class or object

This commit is contained in:
Zoltan Polgar
2017-05-28 20:01:17 +02:00
committed by Dmitry Jemerov
parent 15e392bbd1
commit 46ce9a6946
8 changed files with 82 additions and 0 deletions
@@ -0,0 +1,10 @@
// "Create member function 'A.Companion.foo'" "true"
// JS
external class A {
companion object
}
fun test() {
A.<caret>foo()
}