Missed commit

This commit is contained in:
alesapin 2019-12-09 17:06:28 +03:00
parent 642ce2d751
commit 85aac386aa

View File

@ -185,7 +185,7 @@ void buildSingleAttribute(
{
AutoPtr<Element> expression_element(doc->createElement("expression"));
/// Expression should be function or string
/// EXPRESSION PROPERTY should be expression or string
String expression_str;
if (const auto * literal = dict_attr->expression->as<ASTLiteral>();
literal && literal->value.getType() == Field::Types::String)