This variable contains an array of booleans, really.
The build was successful. Details

And if we managed to insert a boolean value to an array of chars, this means we have a bug somewhere.
This commit is contained in:
Rafal Kupiec 2019-04-19 06:40:16 +02:00
parent 291b6f0607
commit 80abccc3ad
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
class Program {
string cycle(char $a, char $b, int $i = 0) {
static char[] $switches;
static bool[] $switches;
if($switches[$i])
$switches[$i] = !$switches[$i];
else