mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Fix parameter attributes pretending to be records
Parameters relied on is_record for a couple of validations, but they are not records and should not be treated as such. This way we can validate &optional better.
This commit is contained in:
parent
4e5a56c5e0
commit
4445bc1daf
5 changed files with 22 additions and 18 deletions
|
@ -1,3 +1,4 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
error in <...>/invalid-optional-attr.zeek, line 5: &optional is only valid for record fields (&optional)
|
||||
error in <...>/invalid-optional-attr.zeek, line 8: &optional is only valid for record fields (&optional)
|
||||
error in <...>/invalid-optional-attr.zeek, line 11: &optional is only valid for record fields (&optional)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue