[JS IR] Properly detect whether nested class is external

- Fix KT-38765
This commit is contained in:
Roman Artemev
2020-05-27 01:37:01 +03:00
committed by romanart
parent 5bb0085f7e
commit 49690fc620
4 changed files with 168 additions and 2 deletions
+18
View File
@@ -0,0 +1,18 @@
package events
external open class internal {
open class EventEmitterP : internal {
}
open class EventEmitterS : internal {
constructor(a: Any)
}
object NestedExternalObject : internal {}
enum class NestedExternalEnum {
A, B
}
interface NestedExternalInterface {}
}