diff --git a/crates/nu-protocol/src/syntax_shape.rs b/crates/nu-protocol/src/syntax_shape.rs index 048c736db5..61cb93b5b2 100644 --- a/crates/nu-protocol/src/syntax_shape.rs +++ b/crates/nu-protocol/src/syntax_shape.rs @@ -148,7 +148,7 @@ impl SyntaxShape { SyntaxShape::Boolean => Type::Bool, SyntaxShape::Signature => Type::Signature, SyntaxShape::String => Type::String, - SyntaxShape::Table => Type::List(Box::new(Type::Any)), // FIXME: What role should columns play in the Table type? + SyntaxShape::Table => Type::Table(vec![]), // FIXME: What role should columns play in the Table type? SyntaxShape::VarWithOptType => Type::Any, SyntaxShape::Variable => Type::Any, }