diff options
| author | gingerBill <bill@gingerbill.org> | 2024-05-09 10:58:57 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-05-09 10:58:57 +0100 |
| commit | d85c8f0b2c5989f7d14b02c9023060990d241111 (patch) | |
| tree | acbd8ff0cc3f6d18d741a309e03aacdca8c08deb /src/check_type.cpp | |
| parent | 97e9c50d116024901ce029c495495fd723cedf7f (diff) | |
Fix #3555
Diffstat (limited to 'src/check_type.cpp')
| -rw-r--r-- | src/check_type.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp index c119ce6b5..3d11b5012 100644 --- a/src/check_type.cpp +++ b/src/check_type.cpp @@ -2076,6 +2076,7 @@ gb_internal Type *check_get_params(CheckerContext *ctx, Scope *scope, Ast *_para param = alloc_entity_param(scope, name->Ident.token, type, is_using, true); param->Variable.param_value = param_value; param->Variable.field_group_index = field_group_index; + param->Variable.type_expr = type_expr; } } if (p->flags&FieldFlag_no_alias) { |