JS: don't write native superclass to metadata. Fix KT-15007
This commit is contained in:
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user