Skip to content

Conversation

@fourls
Copy link
Collaborator

@fourls fourls commented Feb 26, 2025

This PR updates IndexLastListElement to ignore the left-hand side of expression statements. This is a current false-positive, since TList.Last is a function and is not eligible to be assigned to.

@fourls fourls requested a review from cirras February 26, 2025 06:11
Copy link
Collaborator

@cirras cirras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, can we get a CHANGELOG entry?

@fourls fourls force-pushed the list-last-assignment branch from 4be1a6d to 52442b4 Compare February 26, 2025 22:32
@fourls fourls requested a review from cirras February 26, 2025 22:32
@fourls
Copy link
Collaborator Author

fourls commented Feb 26, 2025

Oops! Forgot the changelog.

@cirras cirras merged commit 05188be into master Feb 26, 2025
4 checks passed
@cirras cirras deleted the list-last-assignment branch February 26, 2025 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants