cli: add safe UTF-8 and supplied-buffer hex/base64 std modules
This commit is contained in:
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); }
|
||||
Reference in new issue
Block a user