
Issue #21321 has been updated by fxn (Xavier Noria). @mame I was here till 4 AM experimenting with this feature. To be organized, I reported different things in different tickets. These two could be related, but I don't know it. If they are, they will be closed together. ---------------------------------------- Bug #21321: Namespaces do not support extending mixins https://bugs.ruby-lang.org/issues/21321#change-113081 * Author: fxn (Xavier Noria) * Status: Open * Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN ---------------------------------------- The program ```ruby module M end class C extend M end ``` fails under a namespace with error: ``` 'Kernel#extend': Cannot extend object with refinement (TypeError) ``` -- https://bugs.ruby-lang.org/