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
superclass mismatch caused by Padrino::Reloader #1922
Comments
@postmodern Could you provide a minimal sample project ? |
A similar error occurs in reloading. project:
Server's log is
class Boo
def self.class_method
"BooClass"
end
end
class Woo < Boo
end If Boo's method is instance method or defining self.class_method in Woo class, no error occured. |
Thank you so match ! |
Please keep in mind that the exact issue when a class without instance or class methods inherits from another class is still not resolved, so I'm keeping this issue open. |
Noted with thanks. Test result:
|
Closing as lacking feedback and probably fixed. |
I was trying to run specific specs via
bundle exec rspec spec/bars/
and got this error:The contents of
lib/foo/bar/baz.rb
is roughly:The
require 'baz'
loads another top-levelBaz
module unrelated toFoo::Bar::Baz
. Addingp Baz
right before theclass Baz < Base
shows that Padrino is loading the file twice.The text was updated successfully, but these errors were encountered: