Project

General

Profile

Actions

Bug #21321

closed

Namespaces do not support extending mixins

Added by fxn (Xavier Noria) 6 days ago. Updated 5 days ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:121956]

Description

The program

module M
end

class C
  extend M
end

fails under a namespace with error:

'Kernel#extend': Cannot extend object with refinement (TypeError)

Related issues 1 (0 open1 closed)

Related to Ruby - Bug #21319: Namespaces do not support including mixinsClosedActions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0