Update readme and tests

This commit is contained in:
Sofia 2025-07-24 22:06:58 +03:00
parent 0e63219205
commit 211cca50b8
2 changed files with 10 additions and 1 deletions

View File

@ -60,7 +60,7 @@ Big features that I want later but are not necessary:
Smaller features:
- ~~Hex-numbers~~
- Bitwise operations
- Easier way to initialize arrays with a single value
- ~~Easier way to initialize arrays with a single value~~
- ~~Void-returns (`return;` for void-returning functions)~~
- ~~Only include standard library at all if it is imported~~
- Lexical scopes for Debug Information

View File

@ -182,3 +182,12 @@ fn custom_binop_compiles_well() {
Some(21),
);
}
#[test]
fn array_short_compiles_well() {
test(
include_str!("../../examples/array_short.reid"),
"test",
Some(5),
);
}