You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would lean towards lock_objects = FALSE, unless modifying that makes it too easy for users to do things that could break R6 in weird ways. (I think modifying properties on self is probably fine in most cases?)
I think it's too late to change the default behavior to not lock objects -- and I think that it's good that they're locked by default.
What I meant was, it seems reasonable to allow inheriting the lock status, but if we were to change to that behavior, the current default of lock_objects = TRUE doesn't make sense. So the question is what could it be changed to that makes top-level classes default to being locked, but also makes subclasses inherit the lock status by default?
The following snippet of code fails:
The error:
Should derived classes also inherit the lockedness from their parent environment?
The text was updated successfully, but these errors were encountered: