Skip to content

Conversation

@fourls
Copy link
Collaborator

@fourls fourls commented May 7, 2025

When a property has an index specifier, its read specifier must be a function with an Integer final argument, and its write specifier must be a procedure with an Integer second-last argument. We were not previously modelling this behaviour, causing read and write specifier methods to fail to resolve when an index property is present.

@fourls fourls requested a review from cirras May 7, 2025 06:03
@fourls fourls force-pushed the fix-index-read-write branch from ad422f8 to 03157e1 Compare May 7, 2025 06:06
@fourls
Copy link
Collaborator Author

fourls commented May 7, 2025

Renamed a variable for consistency.

@fourls fourls force-pushed the fix-index-read-write branch from 03157e1 to da9f409 Compare May 7, 2025 06:19
@fourls
Copy link
Collaborator Author

fourls commented May 7, 2025

Disregard my fail-on-upgrade test, I found out why it didn't work 🤦
image

Copy link
Collaborator

@cirras cirras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice - all looks good.

As is tradition, I have a changelog nitpick.

@fourls fourls force-pushed the fix-index-read-write branch from da9f409 to 584eb2f Compare May 7, 2025 06:20
@fourls fourls requested a review from cirras May 7, 2025 06:21
When a property has an `index` specifier, its `read` specifier must be
a function with an `Integer` final argument, and its `write` specifier
must be a procedure with an `Integer` second-last argument. We were
not previously modelling this behaviour, causing `read` and `write`
specifier methods to fail to resolve when an `index` property is present.
@fourls fourls force-pushed the fix-index-read-write branch from 584eb2f to 7219b51 Compare May 7, 2025 06:22
@fourls fourls requested a review from cirras May 7, 2025 06:23
Copy link
Collaborator

@cirras cirras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. 👍

@cirras cirras merged commit 46846b7 into master May 7, 2025
4 checks passed
@cirras cirras deleted the fix-index-read-write branch May 7, 2025 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants