mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-05 11:17:45 +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);
|
||||
tkFloat: Result := FloatToStr(AsExtended, AFormatSettings);
|
||||
tkInteger: Result := IntToStr(AsNativeInt);
|
||||
tkChar,
|
||||
tkString: Result := AsString;
|
||||
else
|
||||
Result := '';
|
||||
|
Loading…
Reference in New Issue
Block a user