JS: fix translation of !! operation

This commit is contained in:
Alexey Andreev
2016-10-24 18:30:01 +03:00
parent cacd917350
commit 3d9beb15da
2 changed files with 2 additions and 2 deletions
@@ -7,7 +7,7 @@ fun box(): String {
try {
if ((a!! + 3) == 3) return "fail1"
}
catch (e: Throwable) {
catch (e: NullPointerException) {
return "OK"
}
return "fail2"