General

Profile

silver_phoenix (Pedro Pinto)

  • Registered on: 07/04/2018
  • Last connection: 07/05/2018

Issues

Activity

07/05/2018

05:35 PM Ruby master Bug #14895: Inconsistent constant names when using const_set on a singleton class
So, what you're saying is that the singleton class is being assigned to a constant when it creates module `A`, so mod... silver_phoenix (Pedro Pinto)
02:29 PM Ruby master Bug #14895: Inconsistent constant names when using const_set on a singleton class
Yes, I understand that, but why isn't `Z` named like `B` is?
`Z` is `#<Module:...>` (unnamed)
`B` is `#<...>::B` ...
silver_phoenix (Pedro Pinto)

07/04/2018

06:25 PM Ruby master Bug #14895 (Open): Inconsistent constant names when using const_set on a singleton class
```
irb(main):001:0> class X; end
=> nil
irb(main):002:0> X.const_set(:Y, Module.new)
=> X::Y
irb(main):003:0> m...
silver_phoenix (Pedro Pinto)

Also available in: Atom