1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00
This commit is contained in:
schaeff 2021-07-28 09:37:49 +02:00
parent fbd7fddf99
commit d0622d849c

View file

@ -462,7 +462,7 @@ impl<'ast, T: Field> UExpression<'ast, T> {
_ => Err(TypedExpression::Uint(e)), _ => Err(TypedExpression::Uint(e)),
}, },
TypedExpression::Int(e) => { TypedExpression::Int(e) => {
Self::try_from_int(e, bitwidth).map_err(|e| TypedExpression::Int(e)) Self::try_from_int(e, bitwidth).map_err(TypedExpression::Int)
} }
e => Err(e), e => Err(e),
} }