Issue #7190 has been updated by mame (Yusuke Endoh).

Status changed from Open to Assigned
Assignee set to nobu (Nobuyoshi Nakada)
Target version set to next minor


----------------------------------------
Feature #7190: warning: already initialized constant ?????
https://bugs.ruby-lang.org/issues/7190#change-33685

Author: sawa (Tsuyoshi Sawada)
Status: Assigned
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: 
Target version: next minor


????義????????????????????????????????????????空???????????表示?????????:

    module A; B; end
    #=> NameError: uninitialized constant A::B
    A::B
    #=> NameError: uninitialized constant A::B

?????????????????義??????????????????義???????????警??????????????????空?????表示?????????????:

    module A; B = :foo end
    module A; B = :bar end
    #=> warning: already initialized constant B
    A::B = :baz
    #=> warning: already initialized constant B

????????????????????????????????????空?????表示??????????????????????????????

    warning: already initialized constant A::B

?????????????????$stderr = StringIO.new????????????警?????????????????????????????????????????????義???????????????????????????????空???????????????????????????????????????????


-- 
http://bugs.ruby-lang.org/