Skip to content

Last occurrence of expression sometimes not replaced when using move-to-let #429

Closed
@benedekfazekas

Description

@benedekfazekas

Use the template below when reporting bugs. Please, make sure that
you're running the latest stable clojure-mode and that the problem you're reporting
hasn't been reported (and potentially fixed) already.

Remove all of the placeholder text in your final report!

Expected behavior

All occurrences of an expression inside the let should replaced with newly introduced bound name.

Actual behavior

in case there are more than one occurrences of expression and move to let is not initiated from the last occurrence and actual bound name is longer than the expression being moved to let the last expression won't be replaced

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions