We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
library(R7) parent <- new_class("new_class", abstract = TRUE) child <- new_class("child", parent = parent, properties = list( x = new_property(class_character, getter = function(self) "test") )) child() #> Error: Can't set read-only property <child>@x
Created on 2022-12-12 with reprex v2.0.2
The text was updated successfully, but these errors were encountered:
Subclasses of abstract class can have readonly properties
0ec854f
Fixes #269
Subclasses of abstract class can have readonly properties (#288)
79557c0
Successfully merging a pull request may close this issue.
Created on 2022-12-12 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: