Fix build.

This commit is contained in:
Stephen Chung 2021-11-01 10:07:45 +08:00
parent 64e7d7a4c4
commit c955c9200e

View File

@ -989,7 +989,7 @@ fn optimize_expr(expr: &mut Expr, state: &mut OptimizerState, chaining: bool) {
state.set_dirty(); state.set_dirty();
*expr = Expr::from_dynamic(state.engine.map_type_name(arg_values[0].type_name()).into(), *pos); *expr = Expr::from_dynamic(state.engine.map_type_name(arg_values[0].type_name()).into(), *pos);
return; return;
} }
#[cfg(not(feature = "no_closure"))] #[cfg(not(feature = "no_closure"))]
KEYWORD_IS_SHARED if arg_values.len() == 1 => { KEYWORD_IS_SHARED if arg_values.len() == 1 => {
state.set_dirty(); state.set_dirty();