* vm.c (vm_define_method): defined method is run with the default

public visibility regardless the visibility context of definition.
  [ruby-core:30638]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-10-24 05:11:26 +00:00
parent 8a40d614a3
commit 98ac9b8667
3 changed files with 7 additions and 1 deletions

View file

@ -929,7 +929,6 @@ class TestModule < Test::Unit::TestCase
def test_attr_inherited_visibility
bug3406 = '[ruby-core:30638]'
skip(bug3406)
c = Class.new do
class << self
private