RubyMine code inspection gives incorrect "Missing 1 argument(s)"

I have an array 'foo' that's returned by a method call.

RM code inspection thinks that 'foo.select' is a call into Kernel, not into Array, and gives an error: Missing 1 argument(s).

Is there a way to avoid this, other than suppressing that check?

 

1 comment

Hello,

sorry for the delay. I didn't manage to reproduce the problem so could you please provide a code sample showing it.

0

Please sign in to leave a comment.