mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-02 23:07:27 +03:00
uncomment tests, remove unused method
This commit is contained in:
parent
9e93462f2b
commit
ec8a804654
@ -61,8 +61,8 @@ pub(crate) fn fail_synthesis(program: EdwardsTestCompiler) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// must be below macro definitions!
|
// must be below macro definitions!
|
||||||
// pub mod u128;
|
pub mod u128;
|
||||||
// pub mod u16;
|
pub mod u16;
|
||||||
pub mod u32;
|
pub mod u32;
|
||||||
// pub mod u64;
|
pub mod u64;
|
||||||
// pub mod u8;
|
pub mod u8;
|
||||||
|
@ -40,17 +40,6 @@ impl InputParserError {
|
|||||||
InputParserError::SyntaxError(InputSyntaxError::from(error))
|
InputParserError::SyntaxError(InputSyntaxError::from(error))
|
||||||
}
|
}
|
||||||
|
|
||||||
// pub fn integer_type_mismatch(integer_type: IntegerType, integer_value: IntegerValue) -> Self {
|
|
||||||
// let message = format!(
|
|
||||||
// "expected `{}`, found `{}`",
|
|
||||||
// integer_type.to_string(),
|
|
||||||
// integer_value.type_.to_string()
|
|
||||||
// );
|
|
||||||
// let span = integer_value.type_.span().to_owned();
|
|
||||||
//
|
|
||||||
// InputParserError::syntax_error_span(message, span)
|
|
||||||
// }
|
|
||||||
|
|
||||||
pub fn implicit_boolean(data_type: DataType, implicit: NumberImplicitValue) -> Self {
|
pub fn implicit_boolean(data_type: DataType, implicit: NumberImplicitValue) -> Self {
|
||||||
let message = format!("expected `{}`, found `{}`", data_type.to_string(), implicit.to_string());
|
let message = format!("expected `{}`, found `{}`", data_type.to_string(), implicit.to_string());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user