lsegal/yard — Issue #440: Crash on 
Author: FlyboyArt
Created: 2011-12-30 09:12:46+00:00
State: open

I issue the command:

yard gems

and it crashes.

All the info I have to pass along is this:

[warn]: Load Order / Name Resolution Problem on State:
[warn]: -
[warn]: Something is trying to call child on object State before it has been recognized.
[warn]: This error usually means that you need to modify the order in which you parse files
[warn]: so that State is parsed before methods or other objects attempt to access it.
[warn]: -
[warn]: YARD will recover from this error and continue to parse but you *may* have problems
[warn]: with your generated documentation. You should probably fix this.
[warn]: -
/Users/artair/.rvm/gems/ruby-1.9.2-p180/gems/yard-0.7.4/lib/yard/code_objects/proxy.rb:218:in `rescue in method_missing': Proxy cannot call method #child on object 'State' (YARD::CodeObjects::ProxyMethodError)
from /Users/artair/.rvm/gems/ruby-1.9.2-p180/gems/yard-0.7.4/lib/yard/code_objects/proxy.rb:215:in `method_missing'
from /Users/artair/.rvm/gems/ruby-1.9.2-p180/gems/yard-0.7.4/lib/yard/parser/c_parser.rb:108:in `handle_alias'
from /Users/artair/.rvm/gems/ruby-1.9.2-p180/gems/yard-0.7.4/lib/yard/parser/c_parser.rb:415:in `block in parse_aliases'
from /Users/artair/.rvm/gems/ruby-1.9.2-p180/gems/yard-0.7.4/lib/yard/parser/c_parser.rb:408:in `scan'
from /Users/artair/.rvm/gems/ruby-1.9.2-p180/gems/yard-0.7.4/lib/yard/parser/c_parser.rb:408:in `parse_aliases'
from /Users/artair/.rvm/gems/ruby-1.9.2-p180/gems/yard-0.7.4/lib/yard/parser/c_parser.rb:18:in `parse'
from /Users/artair/.rvm/gems/ruby-1.9.2-p180/gems/yard-0.7.4/lib/yard/parser/source_parser.rb:438:in `parse'
from /Users/artair/.rvm/gems/ruby-1.9.2-p180/gems/yard-0.7.4/lib/yard/parser/source_parser.rb:361:in `parse_in_order'
from /Users/artair/.rvm/gems/ruby-1.9.2-p180/gems/yard-0.7.4/lib/yard/parser/source_parser.rb:89:in `block in parse'
from /Users/artair/.rvm/gems/ruby-1.9.2-p180/gems/yard-0.7.4/lib/yard/logging.rb:66:in `enter_level'
from /Users/artair/.rvm/gems/ruby-1.9.2-p180/gems/yard-0.7.4/lib/yard/parser/source_parser.rb:88:in `parse'
from /Users/artair/.rvm/gems/ruby-1.9.2-p180/gems/yard-0.7.4/lib/yard.rb:18:in `parse'
from /Users/artair/.rvm/gems/ruby-1.9.2-p180/gems/yard-0.7.4/lib/yard/cli/yardoc.rb:215:in `run'
from /Users/artair/.rvm/gems/ruby-1.9.2-p180/gems/yard-0.7.4/lib/yard/cli/command.rb:13:in `run'
from /Users/artair/.rvm/gems/ruby-1.9.2-p180/gems/yard-0.7.4/lib/yard/cli/gems.rb:41:in `block in build_gems'
from /Users/artair/.rvm/gems/ruby-1.9.2-p180/gems/yard-0.7.4/lib/yard/cli/gems.rb:29:in `each'
from /Users/artair/.rvm/gems/ruby-1.9.2-p180/gems/yard-0.7.4/lib/yard/cli/gems.rb:29:in `build_gems'
from /Users/artair/.rvm/gems/ruby-1.9.2-p180/gems/yard-0.7.4/lib/yard/cli/gems.rb:20:in `run'
from /Users/artair/.rvm/gems/ruby-1.9.2-p180/gems/yard-0.7.4/lib/yard/cli/command.rb:13:in `run'
from /Users/artair/.rvm/gems/ruby-1.9.2-p180/gems/yard-0.7.4/lib/yard/cli/command_parser.rb:68:in `run'
from /Users/artair/.rvm/gems/ruby-1.9.2-p180/gems/yard-0.7.4/lib/yard/cli/command_parser.rb:50:in `run'
from /Users/artair/.rvm/gems/ruby-1.9.2-p180/gems/yard-0.7.4/bin/yard:4:in `'
from /Users/artair/.rvm/gems/ruby-1.9.2-p180/bin/yard:19:in `load'
from /Users/artair/.rvm/gems/ruby-1.9.2-p180/bin/yard:19:in `