mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

There was some confusing behavior with &optional and locals, so this should get rid of that by making it an error. However, there is a case where function parameters are still allowed to have &optional - this is because there are checks for &default in parameters as well.
3 lines
326 B
Text
3 lines
326 B
Text
### 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 11: &optional is only valid for record fields (&optional)
|