Skip to content

Commit

Permalink
remove tokenize check
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangstar333 committed Apr 18, 2024
1 parent b5a9093 commit b1bb980
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,6 @@ private static void collectConst(Expression expr, Map<String, Expression> constM
|| (expr instanceof ArrayItemReference) || (expr instanceof Match)) {
return;
}
// Tokenize function want check the second child literal must be string type
// and properties format, it's a little special,
// maybe check in checkLegalityBeforeTypeCoercion function?
if (expr instanceof Tokenize) {
expr.checkLegalityAfterRewrite();
}
String id = idGenerator.getNextId().toString();
constMap.put(id, expr);
Expr staleExpr;
Expand Down

0 comments on commit b1bb980

Please sign in to comment.