mirror of
https://github.com/verilator/verilator.git
synced 2026-08-31 18:14:33 +02:00
Fix class param static not found again error (#6768).
This commit is contained in:
@@ -391,6 +391,8 @@ private:
|
||||
editDType(nodep);
|
||||
classEncapCheck(nodep, nodep->varp(), VN_CAST(nodep->classOrPackagep(), Class));
|
||||
if (nodep->access().isWriteOrRW()) varLifetimeCheck(nodep, nodep->varp());
|
||||
if (VN_IS(nodep, VarRef))
|
||||
nodep->name(""); // Clear to save memory; nodep->name() will work via nodep->varp()
|
||||
}
|
||||
void visit(AstAssign* nodep) override {
|
||||
iterateChildren(nodep);
|
||||
|
||||
Reference in New Issue
Block a user