checkpoint in reconstruction
This commit is contained in:
@@ -66,6 +66,7 @@ impl Expression {
|
||||
super::Value::Number(_, ty, v) => match ty {
|
||||
None => Ok(Value::U64(*v)),
|
||||
// FIXME: make these types validate their input size
|
||||
Some(ConstantType::Void) => Ok(Value::Void),
|
||||
Some(ConstantType::I8) => Ok(Value::I8(*v as i8)),
|
||||
Some(ConstantType::I16) => Ok(Value::I16(*v as i16)),
|
||||
Some(ConstantType::I32) => Ok(Value::I32(*v as i32)),
|
||||
|
||||
Reference in New Issue
Block a user