Attr: Deprecate using &default and &optional together on record fields

If &default implies re-initialization of the field, using them together
doesn't make much sense.
This commit is contained in:
Arne Welzel 2025-07-27 15:56:00 +02:00
parent 23181e4811
commit 473723cc47
6 changed files with 43 additions and 1 deletions

View file

@ -52,7 +52,7 @@ export {
## The peer that originated this weird. This is helpful in
## cluster deployments if a particular cluster node is having
## trouble to help identify which node is having trouble.
peer: string &log &optional &default=peer_description;
peer: string &log &default=peer_description;
## The source of the weird. When reported by an analyzer, this
## should be the name of the analyzer.