put (Type::Nothing, Type::table()) signature back

This commit is contained in:
Loïc Riegel 2025-04-07 14:14:06 +02:00
parent 6c72d4c3d0
commit 9930fcd489

View File

@ -82,6 +82,7 @@ impl Command for IntoDatetime {
(Type::String, Type::Date),
(Type::List(Box::new(Type::String)), Type::List(Box::new(Type::Date))),
(Type::table(), Type::table()),
(Type::Nothing, Type::table()),
// FIXME: https://github.com/nushell/nushell/issues/15485
// 'record -> any' was added as a temporary workaround to avoid type inference issues. The Any arm needs to be appear first.
(Type::record(), Type::Any),