Fixed more than one collection of the same type causing compiler errors
This commit is contained in:
parent
d0df923c43
commit
728d6b2cf9
|
@ -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 -%}
|
||||
|
||||
|
|
Loading…
Reference in New Issue