2
0
Эх сурвалжийг харах

rtti: TValue char toString

mattias 7 сар өмнө
parent
commit
62c21d3823

+ 1 - 0
packages/rtl/src/rtti.pas

@@ -1372,6 +1372,7 @@ begin
     tkEnumeration: Result := GetEnumName(TTypeInfoEnum(TypeInfo), AsOrdinal);
     tkEnumeration: Result := GetEnumName(TTypeInfoEnum(TypeInfo), AsOrdinal);
     tkFloat: Result := FloatToStr(AsExtended, AFormatSettings);
     tkFloat: Result := FloatToStr(AsExtended, AFormatSettings);
     tkInteger: Result := IntToStr(AsNativeInt);
     tkInteger: Result := IntToStr(AsNativeInt);
+    tkChar,
     tkString: Result := AsString;
     tkString: Result := AsString;
   else
   else
     Result := '';
     Result := '';