jruby icon indicating copy to clipboard operation
jruby copied to clipboard

Missing error when a class variable is overtaken by an ancestor

Open headius opened this issue 3 years ago • 1 comments

When a class variable is overtaken by the same definition in an ancestor class/module, a RuntimeError is now raised (previously, it only issued a warning in verbose mode). Additionally, accessing a class variable from the toplevel scope is now a RuntimeError.

[Bug #14541]

headius avatar Nov 10 '22 21:11 headius

May be important enough to fix for 9.4 if it represents other changes to class variables.

headius avatar Nov 10 '22 21:11 headius