summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorKOBAYASHI Shuji <[email protected]>2019-04-01 19:49:30 +0900
committerKOBAYASHI Shuji <[email protected]>2019-04-01 20:12:43 +0900
commit55cb625808ab9b498d42d13442f5ce5115d606a5 (patch)
tree0307cf00f4191c5ae1c410eac0fa4e00f196a30f /test
parent6ec855a38e8116e4f0d04f188e948046b47af74f (diff)
downloadmruby-55cb625808ab9b498d42d13442f5ce5115d606a5.tar.gz
mruby-55cb625808ab9b498d42d13442f5ce5115d606a5.zip
Fix modifiable class name
Fix the following example: Object.const_set :A, Module.new{const_set :B, Class.new} ab = A::B.to_s p ab #=> "A::B" # Good ab[0] = "x" p A::B.to_s #=> "x::B" # Bad
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions