From: "fxn (Xavier Noria) via ruby-core" Date: 2025-05-10T08:34:50+00:00 Subject: [ruby-core:121967] [Ruby Bug#21319] Namespaces do not support including mixins Issue #21319 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 #21319: Namespaces do not support including mixins https://bugs.ruby-lang.org/issues/21319#change-113083 * Author: fxn (Xavier Noria) * Status: Open * Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN ---------------------------------------- The following program ```ruby module M end class C include M end ``` fails under a namespace with error ``` 'Module#include': Cannot include refinement (TypeError) ``` -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/