mirror of
https://github.com/nushell/nushell.git
synced 2025-07-08 18:37:07 +02:00
put (Type::Nothing, Type::table()) signature back
This commit is contained in:
@ -82,6 +82,7 @@ impl Command for IntoDatetime {
|
|||||||
(Type::String, Type::Date),
|
(Type::String, Type::Date),
|
||||||
(Type::List(Box::new(Type::String)), Type::List(Box::new(Type::Date))),
|
(Type::List(Box::new(Type::String)), Type::List(Box::new(Type::Date))),
|
||||||
(Type::table(), Type::table()),
|
(Type::table(), Type::table()),
|
||||||
|
(Type::Nothing, Type::table()),
|
||||||
// FIXME: https://github.com/nushell/nushell/issues/15485
|
// 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.
|
// '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),
|
(Type::record(), Type::Any),
|
||||||
|
Reference in New Issue
Block a user