Fix class template

This commit is contained in:
Igor Kislyuk 2018-05-29 15:24:49 +03:00
parent 30033a3320
commit 20e7632a95
1 changed files with 1 additions and 1 deletions

View File

@ -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 %}
}