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
* Fix ExplicitCollectionElementAccessMethod crash
The rule shouldn't crash for getter and setter that have no parent expression.
Fixes#2301
* Add a test case for getters
* Fix test snippet to be compilable
Expected Behavior
ExplicitCollectionElementAccessMethod
rule should run on Kotlin code which compilesObserved Behavior
ExplicitCollectionElementAccessMethod
is crashing on Kotlin code which compilesSteps to Reproduce
Run
ExplicitCollectionElementAccessMethod
rule on the following code snippetIt will result in this crash:
Your Environment
The text was updated successfully, but these errors were encountered: