forked from github/verilator
Fix queues type matching
This commit is contained in:
parent
6c6f7f8ae9
commit
14285f24cd
@ -935,7 +935,7 @@ public:
|
||||
virtual int widthTotalBytes() const { return subDTypep()->widthTotalBytes(); }
|
||||
virtual bool match(const AstNodeDType* typep) const {
|
||||
const AstQueueDType* queuep = VN_CAST_CONST(typep, QueueDType);
|
||||
return queuep && subDTypep()->matching(typep);
|
||||
return queuep && subDTypep()->matching(queuep->subDTypep());
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user