瀏覽代碼

rtti: TValue char toString

mattias 7 月之前
父節點
當前提交
62c21d3823
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/rtl/src/rtti.pas

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

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