From 0ba1fa90e7f46d782d21accd8680ddcf05ca3ea3 Mon Sep 17 00:00:00 2001 From: sofia Date: Sat, 26 Jul 2025 14:03:57 +0300 Subject: [PATCH] Update readme, clean up a little --- README.md | 4 ++-- examples/imported_type.reid | 2 +- reid/src/mir/linker.rs | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 43ed18c..2d8212a 100644 --- a/README.md +++ b/README.md @@ -49,8 +49,8 @@ Currently missing big features (TODOs) are: - ~~Debug Information~~ (DONE) - ~~Fix struct initialization (wrong order and missing fields allowed now)~~ - ~~Not-Unary~~ -- Importing types from other modules -- Importable binops? +- ~~Importing types from other modules~~ +- ~~Importable binops?~~ - Associated functions (for e.g. sizeof) Big features that I want later but are not necessary: diff --git a/examples/imported_type.reid b/examples/imported_type.reid index 8a64c52..e74c3da 100644 --- a/examples/imported_type.reid +++ b/examples/imported_type.reid @@ -4,6 +4,6 @@ import std::from_str; import std::String; fn main() -> u8 { - print((from_str("hello") + " beep: ") + 1234u64); + print(from_str("hello") + " beep: " + 1234u64); return 0; } \ No newline at end of file diff --git a/reid/src/mir/linker.rs b/reid/src/mir/linker.rs index 962b7fb..ffee5bd 100644 --- a/reid/src/mir/linker.rs +++ b/reid/src/mir/linker.rs @@ -319,7 +319,6 @@ impl<'map> Pass for LinkerPass<'map> { } for typekey in seen.into_iter() { - dbg!(&typekey); let mut typedef = imported_mod_typedefs .iter() .find(|ty| CustomTypeKey(ty.name.clone(), imported_mod_id) == typekey) @@ -335,7 +334,6 @@ impl<'map> Pass for LinkerPass<'map> { importer_module.typedefs.push(typedef); } - dbg!(&importer_module.typedefs); } state .scope