From 9930fcd48998a0aab080a16236eeae6ee8ffc9e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Riegel?= Date: Mon, 7 Apr 2025 14:14:06 +0200 Subject: [PATCH] put (Type::Nothing, Type::table()) signature back --- crates/nu-command/src/conversions/into/datetime.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/nu-command/src/conversions/into/datetime.rs b/crates/nu-command/src/conversions/into/datetime.rs index 437684e30f..1489f27f04 100644 --- a/crates/nu-command/src/conversions/into/datetime.rs +++ b/crates/nu-command/src/conversions/into/datetime.rs @@ -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),