Fixed more than one collection of the same type causing compiler errors

This commit is contained in:
Alexey Chubar 2023-10-13 18:19:10 +04:00
parent d0df923c43
commit 728d6b2cf9
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
{% endmacro %}
{% macro decl_struct(o, allow_diffs = true, extra = '') %}
{% macro decl_struct(o, extra = '') %}
{% set pkey_fields = token(o, 'table_pkey')|split(',') %}
{% set pkey = o.fields|filter(f => f.name in pkey_fields ) %}
@ -110,7 +110,7 @@ public {{_self.struct_type(o)}} {{o.name}} {{_self.base_struct_class(o)}}
}
{%- endif -%}
{%- if has_token(o, 'diffable') and allow_diffs ~%}
{%- if has_token(o, 'diffable') ~%}
{{_self.diffable_support(o)}}
{%- endif -%}