c22ea3275ce6 — Leonard Ritter a month ago
* fixed `integer->string` based conversion breaking when the argument is a reference
1 files changed, 1 insertions(+), 0 deletions(-)

M lib/scopes/core.sc
M lib/scopes/core.sc +1 -0
@@ 7907,6 7907,7 @@ spice methodsof (context)
 #-------------------------------------------------------------------------------
 
 fn integer->string (value base)
+    let value base = (deref value) (deref base)
     let N = 65
     let T = (typeof value)
     let digits = (alloca-array i8 N)