Fixed #1888 Missing casts in ternar

This commit is contained in:
Jindra Petřík
2022-11-26 09:10:33 +01:00
parent 531057764a
commit 9cd93c2388
4 changed files with 12 additions and 1 deletions

View File

@@ -13,6 +13,9 @@ package tests
var j:int = n;
s = String(j);
s = ns;
s = String((i == 4) ? "" : i);
s = (i == 4) ? "" : String(i);
}
}
}