Skip to content

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

@xterao

Description

@xterao

Description:

During the DAO method argument usage validation, if a SQL field-access element calls a property with the same name as a method parameter, that parameter is considered “used” and does not get error-highlighted.

Cause:

The check for a preceding DOT returns null, causing the code to skip generating an error.

Expected Behavior:

Ignore property names that are part of a field-access chain and ensure the corresponding method parameter is correctly error-highlighted when it is never actually used.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions