From 14285f24cd0c9a62cb2b79863029af5025bb42fc Mon Sep 17 00:00:00 2001 From: Todd Strader Date: Wed, 1 Apr 2020 15:48:28 -0400 Subject: [PATCH] Fix queues type matching --- src/V3AstNodes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/V3AstNodes.h b/src/V3AstNodes.h index edb4e6211..b3132747e 100644 --- a/src/V3AstNodes.h +++ b/src/V3AstNodes.h @@ -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()); } };