Update readme and tests
This commit is contained in:
parent
0e63219205
commit
211cca50b8
@ -60,7 +60,7 @@ Big features that I want later but are not necessary:
|
|||||||
Smaller features:
|
Smaller features:
|
||||||
- ~~Hex-numbers~~
|
- ~~Hex-numbers~~
|
||||||
- Bitwise operations
|
- 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)~~
|
- ~~Void-returns (`return;` for void-returning functions)~~
|
||||||
- ~~Only include standard library at all if it is imported~~
|
- ~~Only include standard library at all if it is imported~~
|
||||||
- Lexical scopes for Debug Information
|
- Lexical scopes for Debug Information
|
||||||
|
@ -182,3 +182,12 @@ fn custom_binop_compiles_well() {
|
|||||||
Some(21),
|
Some(21),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn array_short_compiles_well() {
|
||||||
|
test(
|
||||||
|
include_str!("../../examples/array_short.reid"),
|
||||||
|
"test",
|
||||||
|
Some(5),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user