JS: add support of custom exceptions inherited from kotlin.Throwable that call super constructor from secondary constructor
This commit is contained in:
@@ -17,5 +17,5 @@ fun box(): String {
|
||||
return "OK"
|
||||
}
|
||||
|
||||
return "fail: MyThrowable wasn't catched."
|
||||
return "fail: MyThrowable wasn't caught."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user