wrong return value in TagStruct::getTypeAsXString8()

This commit is contained in:
jief666 2020-08-23 14:19:49 +03:00
parent d2f3714171
commit 3684ef21a1

View File

@ -77,14 +77,14 @@ public:
const XString8 getTypeAsXString8() const {
if ( isDict() ) return "Dict"_XS8;
if ( isKey() ) return "Dict"_XS8;
if ( isString() ) return "Dict"_XS8;
if ( isInt() ) return "Dict"_XS8;
if ( isFloat() ) return "Dict"_XS8;
if ( isBool() ) return "Dict"_XS8;
if ( isData() ) return "Dict"_XS8;
if ( isDate() ) return "Dict"_XS8;
if ( isArray() ) return "Dict"_XS8;
if ( isKey() ) return "Key"_XS8;
if ( isString() ) return "String"_XS8;
if ( isInt() ) return "Int"_XS8;
if ( isFloat() ) return "Float"_XS8;
if ( isBool() ) return "Bool"_XS8;
if ( isData() ) return "Data"_XS8;
if ( isDate() ) return "Date"_XS8;
if ( isArray() ) return "Array"_XS8;
panic("Unknown type %lld : this is bug", type);
}