dont support blocks

This commit is contained in:
Ellen 2021-09-06 18:20:09 +01:00
parent 9b2913814b
commit 4483c2bdf6
5 changed files with 16 additions and 54 deletions

View file

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