cgen: fix tests after array.first fix

pull/4077/head
joe-conigliaro 2020-03-20 14:24:18 +11:00
parent f37b9d99fe
commit 525639b42f
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ i < 10; i++) {
bool q = true || false;
bool b2 = (*(bool*)array_get(bools, 0)) || true;
bool b3 = get_bool() || true;
int f = array_first(nums);
int f = *(int*)array_first(nums);
array_int c = array_clone(&nums);
string d = tos3("d");
println(string_add(s, d));