Skip to content

Add checks for all set-length-modifying methods in modified-iterating-set #9334

@mdbernard

Description

@mdbernard

Current problem

modified-iterating-set currently only checks for the .add and .remove methods, but not several other length-modifying methods.

Desired solution

Add checks for the .clear, .discard, and .pop methods being called on a set which is being iterated over.

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions