Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new_constructor() drops properties that have a getter, even if they have a setter #421

Closed
lawremi opened this issue Aug 21, 2024 · 1 comment

Comments

@lawremi
Copy link
Collaborator

lawremi commented Aug 21, 2024

See this line:

79557c0#diff-4b9b805aa09ee8da593ca9764b00b50a94ac6e0e1e4483ca63cfcb523acce9c9R58

My understanding is that a property is only read-only if it has a getter but not a setter. Perhaps it would be worth defining a prop_is_read_only() function?

@t-kalinowski
Copy link
Member

Fixed in #445

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

No branches or pull requests

2 participants