Skip to content

Conversation

janedbal
Copy link
Member

@janedbal janedbal commented May 16, 2025

For that reason, a readonly property with a get or set hook is disallowed and will throw a compile error.

@janedbal janedbal changed the title EnforceReadonlyPublicProperty: exclude hooked interface properties EnforceReadonlyPublicProperty: exclude hooked properties May 16, 2025
@janedbal janedbal merged commit 879bcdc into master May 16, 2025
14 checks passed
@janedbal janedbal deleted the public-readonly-iface branch May 16, 2025 07:35
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.

EnforceReadonlyPublicPropertyRule vs. get property hook in interface

1 participant