1
Fork 0
This commit is contained in:
Ellen 2021-09-06 23:18:25 +01:00
parent 47b16f4ac9
commit c170dcf04c
3 changed files with 20 additions and 22 deletions

View file

@ -159,9 +159,9 @@ where
self.visit_const(leaf)
}
ACNode::Cast(_, ty) => self.visit_ty(ty),
ACNode::Binop(..)
| ACNode::UnaryOp(..)
| ACNode::FunctionCall(_, _) => ControlFlow::CONTINUE,
ACNode::Binop(..) | ACNode::UnaryOp(..) | ACNode::FunctionCall(_, _) => {
ControlFlow::CONTINUE
}
})
}