Skip to content

Commit

Permalink
move comment
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankBro committed Jan 14, 2024
1 parent d8bda35 commit 561daaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/infer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -598,8 +598,8 @@ impl Env {
Ok(expr)
}

// TODO: I got lazy here, make this more efficient
fn sanitize_types(&self, expr: &mut ExprTypedAt) -> Result<()> {
// TODO: I got lazy here, make this more efficient
expr.context.ty.ty = self.real_ty(expr.context.ty.ty.clone())?;
match expr.expr.as_mut() {
Expr::Bool(_) => Ok(()),
Expand Down

0 comments on commit 561daaa

Please sign in to comment.