diff --git a/crates/nu-protocol/src/syntax_shape.rs b/crates/nu-protocol/src/syntax_shape.rs index 142c0eba29..a6e03134b8 100644 --- a/crates/nu-protocol/src/syntax_shape.rs +++ b/crates/nu-protocol/src/syntax_shape.rs @@ -152,11 +152,11 @@ impl SyntaxShape { SyntaxShape::MatchBlock => Type::Any, SyntaxShape::MatchPattern => Type::Any, SyntaxShape::MathExpression => Type::Any, - SyntaxShape::Nothing => Type::Any, + SyntaxShape::Nothing => Type::Nothing, SyntaxShape::Number => Type::Number, SyntaxShape::OneOf(_) => Type::Any, SyntaxShape::Operator => Type::Any, - SyntaxShape::Range => Type::Any, + SyntaxShape::Range => Type::Range, SyntaxShape::Record(entries) => Type::Record(mk_ty(entries)), SyntaxShape::RowCondition => Type::Bool, SyntaxShape::Boolean => Type::Bool,