✓
Passing This code compiles and runs correctly.
Code
// Test: from-int — build a NEW owned String<view!> from an integer (FRONTIERS
// gap 4, the int→string mirror of parse-int). Owned return, no borrow.
import std/string
import std/io
std/string:from-int(n: 42)
| ok s |> std/string:read(s): text |> std/io:print.ln("{{ text:s }}") |> std/string:free(s)
| err _ |> _
Actual
42
Expected output
42
Flows
flow ~from-int click a branch to expand · @labels scroll to their anchor
from-int (n: 42)
Test Configuration
MUST_RUN