From 24a50a39bffa19a66c027615775c4b5744723845 Mon Sep 17 00:00:00 2001 From: Kamil Danecki Date: Tue, 24 Mar 2026 09:29:59 +0100 Subject: [PATCH] fixup! Set static when task has timing control --- src/V3LinkParse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/V3LinkParse.cpp b/src/V3LinkParse.cpp index ee2351a24..61c95beb2 100644 --- a/src/V3LinkParse.cpp +++ b/src/V3LinkParse.cpp @@ -382,7 +382,7 @@ class LinkParseVisitor final : public VNVisitor { } } } else if (m_ftaskp) { - if (m_ftaskp->existsAndNext([&](const AstNode* nodep) {return nodep->isTimingControl();})) { + if (m_ftaskp->exists([&](const AstNode* nodep) {return nodep->isTimingControl();})) { nodep->lifetime(VLifetime::STATIC_IMPLICIT); } else { nodep->lifetime(VLifetime::AUTOMATIC_IMPLICIT);