From 4439f17cd593a5c36623d13d6e07ba46c616297b Mon Sep 17 00:00:00 2001 From: Kamil Danecki Date: Thu, 26 Mar 2026 08:59:03 +0100 Subject: [PATCH] Remove task lifetime check Signed-off-by: Kamil Danecki --- src/V3Begin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/V3Begin.cpp b/src/V3Begin.cpp index 5c4361294..4f7859c86 100644 --- a/src/V3Begin.cpp +++ b/src/V3Begin.cpp @@ -305,7 +305,7 @@ class BeginVisitor final : public VNVisitor { } const std::string newName = m_ftaskp->name() + "__Vstatic__" + dot(m_unnamedScope, nodep->name()); - if (m_ftaskp->lifetime().isStatic() && nodep->isIO()) { + if (nodep->isIO()) { AstVar* keepAsPort = nodep->cloneTreePure(false); nodep->replaceWith(keepAsPort); m_statep->userMarkChanged(keepAsPort);