generic types, any -> opaque
This commit is contained in:
@@ -104,7 +104,7 @@ func str.format_into[..] : i64
|
||||
i += 1
|
||||
else if s[0] == 'f'
|
||||
// TODO: use arrow when we implement f64 params
|
||||
f64.to_str_buf(_var_arg(i), tmp as ptr)
|
||||
f64.to_str_buf(_var_arg(i) as i64, tmp as ptr)
|
||||
tmp_len := tmp->len()
|
||||
remaining := size - n - 1
|
||||
mem.copy(tmp as ptr, buf + n, math.min(tmp_len, remaining))
|
||||
|
||||
Reference in New Issue
Block a user