diff --git a/crates/nu-parser/src/type_check.rs b/crates/nu-parser/src/type_check.rs index dd0a7449e5..976f3342c5 100644 --- a/crates/nu-parser/src/type_check.rs +++ b/crates/nu-parser/src/type_check.rs @@ -216,6 +216,10 @@ pub fn math_result_type( (Type::Any, _) => (Type::Any, None), (_, Type::Any) => (Type::Any, None), + + // FIX ME. This is added because there is no type output for custom function + // definitions. As soon as that syntax is added this should be removed + (a, b) if a == b => (Type::Bool, None), _ => { *op = Expression::garbage(op.span); (