aboutsummaryrefslogtreecommitdiff
path: root/src/check_type.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-07-27 10:59:39 +0100
committergingerBill <bill@gingerbill.org>2021-07-27 10:59:39 +0100
commit116e98b37891091841976d1c70ec1fb39c439d8a (patch)
tree38be4a443bde7e40037c65a82cf08c5ab756f574 /src/check_type.cpp
parentae25787f48f4190a90428228c22faf6ae22d7365 (diff)
Improve default scope size
Diffstat (limited to 'src/check_type.cpp')
-rw-r--r--src/check_type.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp
index bf84dbcce..f65768277 100644
--- a/src/check_type.cpp
+++ b/src/check_type.cpp
@@ -2228,7 +2228,7 @@ Type *make_soa_struct_internal(CheckerContext *ctx, Ast *array_typ_expr, Ast *el
soa_struct->Struct.soa_elem = elem;
soa_struct->Struct.soa_count = count;
- scope = create_scope(ctx->info, ctx->scope);
+ scope = create_scope(ctx->info, ctx->scope, 8);
soa_struct->Struct.scope = scope;
String params_xyzw[4] = {