stdlib: Inference engine caught some type errors! Also added some hot garbage.

This commit is contained in:
2025-07-18 05:34:03 -04:00
parent 8732cca3f9
commit 0f9044bb3e
9 changed files with 129 additions and 55 deletions

View File

@@ -1,5 +1,11 @@
//! TODO: give conland a string type
use super::num::u8;
use super::num::{char, u8};
// #[lang = "str"]
#[lang = "str"]
type str = [u8];
#[builtin = "chars"]
fn chars(s: &str) -> [char];
#[builtin = "fmt"]
fn fmt(..args) -> &str;