mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
Fix marking inherited virtual functions
This commit is contained in:
@@ -1753,10 +1753,6 @@ class TaskVisitor final : public VNVisitor {
|
||||
<< nodep->prettyNameQ());
|
||||
}
|
||||
|
||||
if (nodep->isStatic() && nodep->isVirtual()) {
|
||||
nodep->v3error("Static methods cannot be virtual");
|
||||
}
|
||||
|
||||
const bool noInline = m_statep->ftaskNoInline(nodep);
|
||||
const bool needsNonInlineCFunc = m_statep->ftaskNeedsNonInlineCFunc(nodep);
|
||||
// Warn if not inlining an impure ftask (unless method, recursive,
|
||||
|
||||
Reference in New Issue
Block a user