JS: don't write native superclass to metadata. Fix KT-15007

This commit is contained in:
Alexey Andreev
2016-11-29 16:11:31 +03:00
parent e7d6711db3
commit 0302fcbb72
5 changed files with 61 additions and 2 deletions
@@ -0,0 +1,13 @@
interface I
class MyException: Exception(), I
fun box(): String {
var e: Any = MyException()
if (e !is I) return "fail1"
e = Exception()
if (e is I) return "fail2"
return "OK"
}