From f011dcafb0f583c89ed9971238fd83ddcbdb5438 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Mon, 29 Sep 2025 17:11:58 +0200 Subject: Lift restriction on tables as table keys As demonstrated by the unit tests, there is no problem with using a table as a table key --- src/intercopycontext.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/intercopycontext.cpp') diff --git a/src/intercopycontext.cpp b/src/intercopycontext.cpp index a8b3374..7fb2706 100644 --- a/src/intercopycontext.cpp +++ b/src/intercopycontext.cpp @@ -1106,10 +1106,6 @@ void InterCopyContext::interCopyString() const [[nodiscard]] InterCopyOneResult InterCopyContext::interCopyTable() const { - if (vt == VT::KEY) { - return InterCopyOneResult::NotCopied; - } - STACK_CHECK_START_REL(L1, 0); STACK_CHECK_START_REL(L2, 0); DEBUGSPEW_CODE(DebugSpew(nullptr) << "TABLE " << name << std::endl); -- cgit v1.2.3-55-g6feb