mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
- With project.json, when overriding with an empty list the base settings would still be used. #2583
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user