From 20e7632a9567e9459ed5036d64f310c83aa7bdfb Mon Sep 17 00:00:00 2001 From: Igor Kislyuk Date: Tue, 29 May 2018 15:24:49 +0300 Subject: [PATCH] Fix class template --- Swift/Class.swift.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Swift/Class.swift.twig b/Swift/Class.swift.twig index d4ab617..53a3591 100644 --- a/Swift/Class.swift.twig +++ b/Swift/Class.swift.twig @@ -53,7 +53,7 @@ import LeadKit return false } - return{%- if hasParent %} super.isEqual(to: other){%- endif %}{%- if (fields is not empty) and hasParent %} &&{% endif %} {% include 'blocks/class/fields-equal.twig' with { fields: fields } %} + return{%- if hasParent %} super.isEqual(to: other){%- endif %}{%- if (fields is not empty) and hasParent %} &&{% endif %} {% include 'blocks/class/fields-equal.twig' with { fields: fields } %}{% if (fields is empty) and (not hasParent) %} false{% endif %} }{{ "\n" }} {%- endif %} }