mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
fix bitwise.and and add tests (#19)
Signed-off-by: eric-therond <eric.therond.fr@gmail.com>
This commit is contained in:
@@ -14,7 +14,7 @@ use anyhow::Result;
|
||||
|
||||
pub fn register(m: &mut HashMap<&'static str, builtins::BuiltinFcn>) {
|
||||
m.insert("bits.and", and);
|
||||
m.insert("bits.and", lsh);
|
||||
m.insert("bits.lsh", lsh);
|
||||
m.insert("bits.negate", negate);
|
||||
m.insert("bits.or", or);
|
||||
m.insert("bits.rsh", rsh);
|
||||
|
||||
Reference in New Issue
Block a user