Merge remote-tracking branch 'origin/topic/etyp/fix-optional-attr-errors'

* origin/topic/etyp/fix-optional-attr-errors:
  Fix parameter attributes pretending to be records
  Only allow `&optional` in records
This commit is contained in:
Evan Typanski 2025-08-18 14:39:10 -04:00
commit 59e84e06f6
9 changed files with 59 additions and 22 deletions

3
NEWS
View file

@ -11,6 +11,9 @@ We would like to thank ... for their contributions to this release.
Breaking Changes
----------------
- The ``&optional`` script attribute will now error when applied to anything that's
not a record field. Previously, this would have surprising behavior.
New Functionality
-----------------