feat: add floats
This commit is contained in:
@@ -343,6 +343,9 @@ impl FuncBuilder {
|
||||
TypedExprKind::Integer { value } => {
|
||||
Operand::Constant(ConstantValue::Integer(*value, expr.ty.clone()))
|
||||
}
|
||||
TypedExprKind::Float { value } => {
|
||||
Operand::Constant(ConstantValue::Float(*value, expr.ty.clone()))
|
||||
}
|
||||
TypedExprKind::Boolean { value } => Operand::Constant(ConstantValue::Boolean(*value)),
|
||||
TypedExprKind::Unary { op, expr: inner } => {
|
||||
let inner_op = self.lower_expr(inner);
|
||||
|
||||
Reference in New Issue
Block a user