#515 √ resolved
manveru

include calling extend ends in SystemStackError

Reported by manveru | April 24th, 2008 @ 04:27 PM | in 0.11

Running following code you will find the bug.

It seems like ancestors are being checked but they don't included metaclasses, which leads to problems.

module Foo
  def self.included(other)
    other.extend self
  end
end
  
class Bar
  include Foo
end

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Tags