#24 ✓resolved
Kevin Rutherford

undefined method for unknown Module

Reported by Kevin Rutherford | March 7th, 2009 @ 01:43 PM

When Reek attempts to analyse the following code:


module Fred
  class Jim
  end
end

it crashes with *undefined method const_defined?' for nil:NilClass*.

(Reported via email by Ashley Moran.)

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

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

Defects and feature requests for <a href="http://wiki.github.com/kevinrutherford/reek">Reek</a>, the Ruby code smell detector

People watching this ticket

Tags

Referenced by

Pages