mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
fixed lambda hash collision bug due to function descriptions lacking full parameter information
This commit is contained in:
parent
adf3648554
commit
c0ffaabe2e
2 changed files with 3 additions and 1 deletions
|
@ -4368,7 +4368,7 @@ ValPtr LambdaExpr::Eval(Frame* f) const {
|
|||
}
|
||||
|
||||
void LambdaExpr::ExprDescribe(ODesc* d) const {
|
||||
d->Add(expr_name(Tag()));
|
||||
type->Describe(d);
|
||||
|
||||
if ( captures && d->IsReadable() ) {
|
||||
d->Add("[");
|
||||
|
|
|
@ -672,6 +672,8 @@ std::optional<BrokerData> ScriptFunc::SerializeCaptures() const {
|
|||
|
||||
void ScriptFunc::Describe(ODesc* d) const {
|
||||
d->Add(GetName().c_str());
|
||||
d->AddSP(":");
|
||||
type->Describe(d);
|
||||
|
||||
d->NL();
|
||||
d->AddCount(frame_size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue