1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-23 18:18:00 +02:00

Fixed ToString of tuples with sized array members

This commit is contained in:
Brian Fiete 2024-02-14 05:26:03 -05:00
parent 34b0dd44a7
commit ca1ac7fb4c
3 changed files with 20 additions and 3 deletions

View file

@ -64,7 +64,7 @@ namespace System
return -1;
}
public override void ToString(String strBuffer) mut
public override void ToString(String strBuffer)
{
if (typeof(T) == typeof(char8))
{
@ -74,6 +74,7 @@ namespace System
if (mVal[len] == default)
break;
}
#unwarn
strBuffer.Append((char8*)&mVal, len);
return;
}