mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-20 11:59:02 +02:00
rtti: TValue char toString
This commit is contained in:
parent
35a8089beb
commit
62c21d3823
@ -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 := '';
|
||||||
|
Loading…
Reference in New Issue
Block a user