cli: add safe UTF-8 and supplied-buffer hex/base64 std modules

This commit is contained in:
dev committed 2026-10-06 17:06:39 +03:00
1 parent 6397a317e2
commit 3bb11e03b2
42 files changed
+2807 -14

No files matched your search

@@ -0,0 +1,10 @@
// expect: reject E7005
// phase: 6
// spec: docs/spec/15-source-language.md §13; docs/spec/16-standard-library.md §2.6
module test.text_wrong_result
import std.encoding.hex;
import std.encoding.base64;
fn main() -> std.encoding.hex.EncodeResult
effects []
{ return std.encoding.base64.EncodeResult::ok(4); }