mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
Fix function type-equivalence requiring same param names, addresses #957
This commit is contained in:
parent
8ee4382721
commit
2293443ea0
4 changed files with 48 additions and 7 deletions
|
@ -370,11 +370,9 @@ public:
|
|||
{ Unref(yield); yield = 0; flavor = arg_flav; }
|
||||
|
||||
int MatchesIndex(ListExpr*& index) const;
|
||||
int CheckArgs(const type_list* args) const;
|
||||
int CheckArgs(const type_list* args, bool is_init = false) const;
|
||||
|
||||
TypeList* ArgTypes() { return arg_types; }
|
||||
|
||||
ID* GetReturnValueID() const;
|
||||
TypeList* ArgTypes() const { return arg_types; }
|
||||
|
||||
void Describe(ODesc* d) const;
|
||||
void DescribeReST(ODesc* d) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue