From e58e7036d2c6fa8048bec3dbbc4cc6787f3fd522 Mon Sep 17 00:00:00 2001 From: Yan Churkin Date: Sat, 10 Aug 2024 23:54:03 +0300 Subject: [PATCH] Fix CI --- source/ast/symbols/MemberSymbols.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/ast/symbols/MemberSymbols.cpp b/source/ast/symbols/MemberSymbols.cpp index dd4e3c075..366c43835 100644 --- a/source/ast/symbols/MemberSymbols.cpp +++ b/source/ast/symbols/MemberSymbols.cpp @@ -1366,7 +1366,8 @@ PrimitiveSymbol& PrimitiveSymbol::fromSyntax(const Scope& scope, SmallVector table; for (auto entry : syntax.body->entries) { createTableRow(scope, *entry, table, ports.size(), trie, trieAlloc); - prim->isEdgeSensitive |= table.back().isEdgeSensitive; + if (!table.empty()) + prim->isEdgeSensitive |= table.back().isEdgeSensitive; } prim->table = table.copy(comp);