From 3f0c7f8a2ffbe2c388391f63fc05d5baebae54a9 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sun, 30 Jan 2022 01:41:46 -0500 Subject: [PATCH] Convert to string using rune() again --- base/untyped/lit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/untyped/lit.go b/base/untyped/lit.go index d8e5415a..86fea452 100644 --- a/base/untyped/lit.go +++ b/base/untyped/lit.go @@ -128,7 +128,7 @@ again: i, exact := constant.Int64Val(val) if exact { - ret = string(i) + ret = string(rune(i)) } else { ret = "\uFFFD" }