Skip to content
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

Exception in ruby_parser.rb:507:in on_comment': undefined method first' for nil:NilClass (NoMethodError) #577

Closed
Zloy opened this issue Jul 26, 2012 · 0 comments
Labels
Milestone

Comments

@Zloy
Copy link

Zloy commented Jul 26, 2012

Yard fails when parses such a construction:

kill_yard.rb

class SomeClass
  def my_method
    # 1st comment 
=begin
=end            
    # 2nd comment
  end
end

Though It survives if remove 1st comment or 2nd one or middle comment block

ps
0.8.2.1

@lsegal lsegal closed this as completed in 810505b Aug 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants