New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stack level too deep when generating documentation for modules with same names but different namespaces #216

Closed
paneq opened this Issue Dec 14, 2010 · 6 comments

Comments

Projects
None yet
2 participants
@paneq

paneq commented Dec 14, 2010

File lib/translatable.rb:

module Translatable
end

File lib/active_record/extensions/translatable.rb :

require 'translatable'
module ActiveRecord
  module Extensions
    module Translatable
      include ::Translatable
    end
  end
end
::ActiveRecord::Base.send(:include, ::ActiveRecord::Extensions::Translatable)

Calling:

.rvm/gems/ruby-1.9.2-head/gems/yard-0.6.3/bin/yard doc lib/translatable.rb lib/active_record/extensions/translatable.rb

leads to an exception

.rvm/gems/ruby-1.9.2-head/gems/yard-0.6.3/lib/yard/code_objects/proxy.rb:231: stack level too deep (SystemStackError)
@lsegal

This comment has been minimized.

Show comment
Hide comment
@lsegal

lsegal Dec 20, 2010

Owner

Fix Derived < ::Base inheriting wrong Base (not top level)

Closed by 57a7a56

Owner

lsegal commented Dec 20, 2010

Fix Derived < ::Base inheriting wrong Base (not top level)

Closed by 57a7a56

@lsegal

This comment has been minimized.

Show comment
Hide comment
@lsegal

lsegal Dec 20, 2010

Owner

This issue was a side effect of ::TopLevelConstants not being properly recognized. It should work now.

Owner

lsegal commented Dec 20, 2010

This issue was a side effect of ::TopLevelConstants not being properly recognized. It should work now.

@paneq

This comment has been minimized.

Show comment
Hide comment
@paneq

paneq Dec 20, 2010

Thank you! I will check it out soon

paneq commented Dec 20, 2010

Thank you! I will check it out soon

@paneq

This comment has been minimized.

Show comment
Hide comment
@paneq

paneq Dec 20, 2010

When can we expect 0.6.4 released ?

paneq commented Dec 20, 2010

When can we expect 0.6.4 released ?

@lsegal

This comment has been minimized.

Show comment
Hide comment
@lsegal

lsegal Dec 22, 2010

Owner

Right now :)

Owner

lsegal commented Dec 22, 2010

Right now :)

@paneq

This comment has been minimized.

Show comment
Hide comment
@paneq

paneq Dec 22, 2010

0.6.4 works for me. The bug is fixed indeed.
Thank you very much.

paneq commented Dec 22, 2010

0.6.4 works for me. The bug is fixed indeed.
Thank you very much.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment