From 1ae22cb86d47c44595837952bb471b4c9dff7297 Mon Sep 17 00:00:00 2001 From: "a.chubar" Date: Tue, 25 Mar 2025 19:54:33 +0700 Subject: [PATCH] Removed redundant accessor interface declarations in generated slices --- CHANGELOG.md | 3 +++ tpl/macro.twig | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd2947c..d3c1b34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## v6.1.0 +- Removed redundant accessor interface declarations in generated slices + ## v5.0.0 - Splitting one huge codegenerated file into multiple ones diff --git a/tpl/macro.twig b/tpl/macro.twig index 55b26b6..60c094f 100644 --- a/tpl/macro.twig +++ b/tpl/macro.twig @@ -10,10 +10,6 @@ {%- endif ~%} {%- endfor ~%} -{%- for ai in get_all_declarable_accessor_interfaces(meta) ~%} - {{ _self.decl_accessor_interface(ai) }} -{%- endfor ~%} - {% endmacro %} {% macro decl_struct(o, extra = '') %}