[ruby-cvs:78481] 47c97e1e84 (master): Do not lose existing constant visibility when autoloading

"Jeremy Evans" <[email protected]>
Newsgroups gmane.comp.lang.ruby.cvs
Message-ID <[email protected]>
Jeremy Evans	2019-08-12 12:53:37 +0900 (Mon, 12 Aug 2019)

  New Revision: 47c97e1e84

  https://github.com/ruby/ruby/commit/47c97e1e84

  Log:
    Do not lose existing constant visibility when autoloading
    
    This copies the private/deprecate constant visibility across the
    autoload.  It still is backwards compatible with setting the
    private/deprecate constant visibility in the autoloaded file.
    However, if you explicitly set public constant in the autoloaded
    file, that will be reset after the autoload.
    
    Fixes [Bug #11055]

  Modified files:
    test/ruby/test_autoload.rb
    variable.c
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.