-
Notifications
You must be signed in to change notification settings - Fork 281
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
Inconsistent reporting for FeatureEnvy when using module_function and/or private_class_method #1397
Comments
I just started looking into this and the problem is that with |
@troessner wdyt? |
I've just realised that the situation is even more confusing for modules in general: If you define a module for the purpose using it with |
The following code
Goes away if I use def self.active_users. (prepend self)
The same exact issue occurs when using module_function.
Reek seems to fail to detect that methods defined using module_function/ private_class_method are class instance methods and not instance methods
This is the same issue as #1337 this merge request is also related #1338
The text was updated successfully, but these errors were encountered: