diff --git a/crates/nu-parser/src/type_check.rs b/crates/nu-parser/src/type_check.rs index b555859f28..e5fdd5f6c9 100644 --- a/crates/nu-parser/src/type_check.rs +++ b/crates/nu-parser/src/type_check.rs @@ -84,6 +84,7 @@ pub fn math_result_type( } } (Type::Table(a), Type::Table(_)) => (Type::Table(a.clone()), None), + (Type::Any, _) | (_, Type::Any) => (Type::Any, None), _ => { *op = Expression::garbage(op.span); (