You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rules for method resolution are complex and perhaps not properly understood by all coders. The params keyword can make method declarations overlap in non-obvious ways, so that slight changes in the argument types of an invocation can resolve to different methods.
The text was updated successfully, but these errors were encountered:
valhristov
changed the title
Update S3220: Method calls should not resolve ambiguously to overloads with "params"
Update S3220: "Method calls should not resolve ambiguously" should be code smell
Jun 14, 2017
RSPEC-3220
The rules for method resolution are complex and perhaps not properly understood by all coders. The params keyword can make method declarations overlap in non-obvious ways, so that slight changes in the argument types of an invocation can resolve to different methods.
The text was updated successfully, but these errors were encountered: