Skip to content

Commit 66728c6

Browse files
fix GetBestTextRep for literal values
1 parent 3be0553 commit 66728c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Code/TokenSystem/Tokens/BaseToken.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public string GetBestTextRepresentation(Script? script)
5959
{
6060
if (func().WasSuccessful(out var result))
6161
{
62-
return result.ToString();
62+
return result.StringRep;
6363
}
6464
}
6565

0 commit comments

Comments
 (0)