Skip to content

Fix all does not apply the fix sequentially #338

@charlescyt

Description

@charlescyt

Describe the bug
Consider a fix that adds a statement inside the dispose method of a stateful widget. To do so, the fix

  1. checks for existing dispose method
  2. adds dispose method only if none exists
  3. add a statement inside the dispose method

The fix works fine when being applied alone, but adds multiple dispose methods with Fix all.

Expected behavior
Fix all should handle the fix sequentially, and the subsequent fix should respect the changes that the previous fix has made.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions