1
Fork 0

WIP state

This commit is contained in:
Ellen 2021-09-06 02:27:41 +01:00
parent 97032a6dfa
commit 2987f4ba42
7 changed files with 160 additions and 227 deletions

View file

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