Skip to content

Conversation

@xterao
Copy link
Collaborator

@xterao xterao commented Jun 6, 2025

Address an issue in DAO method argument usage validation where a method parameter was not error-highlighted if a static-field-access element invoked a property with the same name.

Update the logic that retrieves preceding elements under inspection to use the PsiTreeUtil API.

Modify as below:
#241

@xterao xterao self-assigned this Jun 6, 2025
@xterao xterao added the bug Something isn't working label Jun 6, 2025
@github-actions github-actions bot added the fix Bug fixes label Jun 6, 2025
@xterao xterao added this to the 1.0.0 Release milestone Jun 6, 2025
@xterao xterao linked an issue Jun 6, 2025 that may be closed by this pull request
@xterao xterao merged commit e736e61 into main Jun 6, 2025
5 checks passed
@xterao xterao deleted the fix/no-error-when-static-field-access-element-shares-the-same-name branch June 6, 2025 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working fix Bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No error when a field-access element shares the same name as a parameter

2 participants