Propagate class timescale to class package (#4348)

Signed-off-by: Krzysztof Bieganski <[email protected]>
This commit is contained in:
Krzysztof Bieganski
2023-07-07 17:27:33 +02:00
committed by GitHub
parent 5749662194
commit 5788bc8048
3 changed files with 54 additions and 0 deletions
+1
View File
@@ -67,6 +67,7 @@ private:
nodep->editCountInc();
nodep->classOrPackagep(packagep);
packagep->classp(nodep);
packagep->timeunit(nodep->timeunit());
v3Global.rootp()->addModulesp(packagep);
// Add package to hierarchy
AstCell* const cellp = new AstCell{packagep->fileline(),