rspec/rules/S4977/description.adoc

4 lines
269 B
Plaintext
Raw Normal View History

2021-01-16 04:05:14 +00:00
Shadowing makes it impossible to use the type parameter from the outer scope. Also, it can be confusing to distinguish which type parameter is being used.
2021-02-02 15:02:10 +01:00
2021-01-16 04:05:14 +00:00
This rule raises an issue when a type parameter from an inner scope uses the same name as one in an outer scope.