JS: fix translation of try statements with multiple catches
This commit is contained in:
@@ -17,9 +17,9 @@ fun bar(e: Exception): String {
|
||||
s = "IllegalArgumentException"
|
||||
exceptionObject = e
|
||||
}
|
||||
catch (e: IllegalStateException) {
|
||||
catch (f: IllegalStateException) {
|
||||
s = "IllegalStateException"
|
||||
exceptionObject = e
|
||||
exceptionObject = f
|
||||
}
|
||||
catch (e: Exception) {
|
||||
s = "Exception"
|
||||
|
||||
Reference in New Issue
Block a user