Actions
Bug #11532
closedprivate_constant works after module is frozen
Bug #11532:
private_constant works after module is frozen
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
Description
... and it probably should not allow for changing constant visibility since others such as const_set honour freeze
Updated by nobu (Nobuyoshi Nakada) about 11 years ago
- Status changed from Open to Closed
Applied in changeset r51881.
variable.c: fail if frozen
- variable.c (set_const_visibility): fail if the class/module is
frozen. [ruby-core:70828] [Bug #11532]
Actions