Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
xzhseh committed Feb 4, 2024
1 parent 25c292d commit 67e90fa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ pub struct ConstCaseWhenRewriter {

impl ExprRewriter for ConstCaseWhenRewriter {
fn rewrite_function_call(&mut self, func_call: FunctionCall) -> ExprImpl {
if func_call.func_type() != ExprType::ConstantLookup ||
if func_call.func_type() != ExprType::ConstantLookup
// Normal constant lookup pass
func_call.inputs().len() != 1
|| func_call.inputs().len() != 1
{
return func_call.into();
}
Expand Down

0 comments on commit 67e90fa

Please sign in to comment.