Skip to content

Question: Replacing MOVE statement does not work as separate rule? #120

@m-badura

Description

@m-badura

The rule Replace obsolete MOVE ... TO ... with = (1) seems to not cover all cases, when used separately from Unchain into multiple statements (2) and Simplify a chain with one element (3).

Rule (1) will clean this code:
MOVE: 1 to integer_1, 2 TO integer_2.

This code will be cleaned only when rule (2) was selected too:
MOVE: 1 to integer_3.

This code will be cleaned only when rule (3) was selected too:
MOVE 1 TO: integer_4, integer_5.

Since this behavior seems very unintuitive, maybe it could be changed? And if not, at least documented by rule (1)?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions