
10 May
2025
10 May
'25
8:39 a.m.
Issue #21321 has been updated by fxn (Xavier Noria). I was yesterday running a checkout from May 6. Updated the branch now and cannot repro anymore. ---------------------------------------- Bug #21321: Namespaces do not support extending mixins https://bugs.ruby-lang.org/issues/21321#change-113087 * 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/