Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/mech-lang/mech
Browse files Browse the repository at this point in the history
  • Loading branch information
cmontella committed Oct 29, 2024
2 parents 169fdd8 + 5b9c7d8 commit f61e9ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ mech-wasm = { path = 'src/wasm'}
mech-core = { path = 'src/core', version = '0.2.17' }

[patch.'https://gitlab.com/mech-lang/syntax']
mech-syntax = { path = 'src/syntax', version = '0.2.17' }
mech-syntax = { path = 'src/syntax', version = '0.2.17' }
1 change: 1 addition & 0 deletions src/syntax/tests/interpreter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ test_interpreter!(interpret_kind_annotation, "1<u64>", Value::U64(new_ref(1)));
test_interpreter!(interpret_kind_annotation_math, "1<u64> + 1<u64>", Value::U64(new_ref(2)));

// New tests overflow - unsigned
// test_interpreter!(interpret_kind_math_overflow_u64, "18446744073709551615<u64> + 1<u64>", Value::U64(new_ref(0)));
// test_interpreter!(interpret_kind_math_overflow_u128, "340282366920938463463374607431768211455<u128> + 1<u128>", Value::U128(new_ref(0)));

// New test overflow - signed
Expand Down

0 comments on commit f61e9ca

Please sign in to comment.