1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cgen: fix tests after array.first fix

This commit is contained in:
joe-conigliaro 2020-03-20 14:24:18 +11:00
parent f37b9d99fe
commit 525639b42f

View File

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