mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Spicy:: Remove unhelpful assertion.
In cases of a malformed event definition, this could fire instead of a more helpful error message coming later. Closes #3988.
This commit is contained in:
parent
e4dbba20a4
commit
2d935d9668
1 changed files with 0 additions and 3 deletions
|
@ -52,9 +52,6 @@ struct VisitorTypes : public spicy::visitor::PreOrder {
|
||||||
module == hilti::ID("zeek_rt") )
|
module == hilti::ID("zeek_rt") )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
assert(! n->type()->type()->typeID() ||
|
|
||||||
n->type()->type()->typeID() == hilti::ID(module, n->id())); // ensure consistent IDs
|
|
||||||
|
|
||||||
types.emplace_back(TypeInfo{
|
types.emplace_back(TypeInfo{
|
||||||
.id = hilti::ID(module, n->id()),
|
.id = hilti::ID(module, n->id()),
|
||||||
.type = n->type(),
|
.type = n->type(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue