uncomment tests, remove unused method

This commit is contained in:
collin 2020-06-19 23:21:55 -07:00
parent 9e93462f2b
commit ec8a804654
2 changed files with 4 additions and 15 deletions

View File

@ -61,8 +61,8 @@ pub(crate) fn fail_synthesis(program: EdwardsTestCompiler) {
}
// must be below macro definitions!
// pub mod u128;
// pub mod u16;
pub mod u128;
pub mod u16;
pub mod u32;
// pub mod u64;
// pub mod u8;
pub mod u64;
pub mod u8;

View File

@ -40,17 +40,6 @@ impl InputParserError {
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 {
let message = format!("expected `{}`, found `{}`", data_type.to_string(), implicit.to_string());