- With project.json, when overriding with an empty list the base settings would still be used. #2583

This commit is contained in:
Christoffer Lerno
2025-11-20 14:52:02 +01:00
parent 7b50c87858
commit a50de26c5d
2 changed files with 2 additions and 1 deletions

View File

@@ -35,6 +35,7 @@
- Passing a single value to `@wasm` would ignore the renaming.
- `*(int*)1` incorrectly yielded an assert in LLVM IR lowering #2584.
- Fix issue when tests encounter a segmentation fault or similar.
- With project.json, when overriding with an empty list the base settings would still be used. #2583
### Stdlib changes

View File

@@ -89,7 +89,7 @@ const char **get_string_array(BuildParseContext context, JSONObject *table, cons
return NULL;
}
if (value->type != J_ARRAY) goto NOT_ARRAY;
const char **values = NULL;
const char **values = VECNEW(const char *, 16);
FOREACH(JSONObject *, val, value->elements)
{
if (val->type != J_STRING) goto NOT_ARRAY;